With the unanimous access decision strategy, an access_control rule that lists several roles requires all of them. That's the behavior restored by the fix for CVE-2020-5275. Since Symfony 5.4, the access decision manager asked each voter once about all the attributes of a rule. RoleVoter grants access as soon as the user has one of the roles. So a user who had only one of these roles was granted access:
security:
access_decision_manager:
strategy: unanimous
access_control:
- { path: ^/admin, roles: [ROLE_ADMIN, ROLE_AUDITOR] }
Only attributes decided by the same voter were affected. For example, a role combined with allow_if still required both.
With the unanimous strategy, voters are asked about each attribute separately again, as before Symfony 5.4. Access is denied as soon as one of the attributes is denied.
Metrics
Affected Vendors & Products
References
History
Thu, 26 Nov 2026 03:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
Wed, 25 Nov 2026 10:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Description | With the unanimous access decision strategy, an access_control rule that lists several roles requires all of them. That's the behavior restored by the fix for CVE-2020-5275. Since Symfony 5.4, the access decision manager asked each voter once about all the attributes of a rule. RoleVoter grants access as soon as the user has one of the roles. So a user who had only one of these roles was granted access: security: access_decision_manager: strategy: unanimous access_control: - { path: ^/admin, roles: [ROLE_ADMIN, ROLE_AUDITOR] } Only attributes decided by the same voter were affected. For example, a role combined with allow_if still required both. With the unanimous strategy, voters are asked about each attribute separately again, as before Symfony 5.4. Access is denied as soon as one of the attributes is denied. | |
| Title | The Unanimous Strategy Grants access_control Rules When Only One of Their Roles Matches: Regression of CVE-2020-5275 | |
| Weaknesses | CWE-863 | |
| References |
| |
| Metrics |
cvssV4_0
|
Status: PUBLISHED
Assigner: Symfony
Published: 2026-11-25T10:00:13.140Z
Updated: 2026-11-25T20:01:38.999Z
Reserved: 2026-11-20T14:01:43.157Z
Link: CVE-2026-133753
Updated: 2026-11-25T19:55:45.819Z
Status : Received
Published: 2026-11-25T10:17:12.830
Modified: 2026-11-25T20:18:34.927
Link: CVE-2026-133753
No data.