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.
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
Advisories
No advisories yet.
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
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
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: Symfony
Published:
Updated: 2026-11-25T10:00:13.140Z
Reserved: 2026-11-20T14:01:43.157Z
Link: CVE-2026-133753
No data.
Status : Received
Published: 2026-11-25T10:17:12.830
Modified: 2026-11-25T10:17:12.830
Link: CVE-2026-133753
No data.
OpenCVE Enrichment
No data.
Weaknesses