The Unanimous Strategy Grants access_control Rules When Only One of Their Roles Matches: Regression of CVE-2020-5275
- State
- Published
- Severity
- 5.3 Medium
- Published
- Nov 25, 2026
- Updated
- Nov 25, 2026
- Reserved
- Nov 20, 2026
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.
| Product | Versions |
|---|---|
| symfony/security-core Symfony | 5.4.0 to before 5.4.57 Affected6.0.0 to before 6.4.51 Affected7.0.0 to before 7.4.24 Affected8.0.0 to before 8.1.12 Affected |
| symfony/symfony Symfony | 5.4.0 to before 5.4.57 Affected6.0.0 to before 6.4.51 Affected7.0.0 to before 7.4.24 Affected8.0.0 to before 8.1.12 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 5.3 Medium | Symfony |
Weaknesses
- CWE-863 Incorrect Authorization
References
- CVE-2026-133753Vendor Advisory
- GHSA-h32j-4qcq-hw69Vendor Advisory
- https://github.com/symfony/symfony/commit/cdcbddcc0b5fd4de51d0ea01b148a7608d75d35cPatch
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.