5.3medium
The Unanimous Strategy Grants access_control Rules When Only One of Their Roles Matches: Regression of CVE-2020-5275
- Severity
- 5.3medium CVSS:4.0 by Symfony
- Exploit likelihood
- 0.65% (higher than 52% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Symfony
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| symfony/security-core | from 5.4.0 before 5.4.57, from 6.0.0 before 6.4.51, from 7.0.0 before 7.4.24, from 8.0.0 before 8.1.12 | CVE List |
| symfony/symfony | from 5.4.0 before 5.4.57, from 6.0.0 before 6.4.51, from 7.0.0 before 7.4.24, from 8.0.0 before 8.1.12 | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-133753 changed 2026-11-25 | CVE Terms of Use |
| NVD | CVE-2026-133753 changed 2026-11-30 | Public domain |