CVE-2026-133753
The Unanimous Strategy Grants access_control Rules When Only One of Their Roles Matches: Regression of CVE-2020-5275
- CVSS
- 5.3
- EPSS
- 0.65% (p46)
- Published
- 2026-11-25
- Age
- 4d old
- Modified
- 2026-11-26
- Product
- Symfony symfony/security-core
- Aliases
- GHSA-h32j-4qcq-hw69
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
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.
Fixed in
5.4.57 · 6.4.51 · 7.4.24 · 8.1.12
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| unknown | symfony/security-core | >=5.4.0, <5.4.57 | 5.4.57 |
| unknown | symfony/security-core | >=6.0.0, <6.4.51 | 6.4.51 |
| unknown | symfony/security-core | >=7.0.0, <7.4.24 | 7.4.24 |
| unknown | symfony/security-core | >=8.0.0, <8.1.12 | 8.1.12 |
| unknown | symfony/symfony | >=5.4.0, <5.4.57 | 5.4.57 |
| unknown | symfony/symfony | >=6.0.0, <6.4.51 | 6.4.51 |
| unknown | symfony/symfony | >=7.0.0, <7.4.24 | 7.4.24 |
| unknown | symfony/symfony | >=8.0.0, <8.1.12 | 8.1.12 |
Sources
- NVD · first seen 4d ago · NVD terms of use
- OSV · first seen 4d ago · CC-BY 4.0
- CVE List · first seen 4d ago · CVE Terms of Use
References
- https://symfony.com/cve-2026-133753 vendor-advisory
- https://github.com/symfony/symfony/security/advisories/GHSA-h32j-4qcq-hw69 vendor-advisory
- https://github.com/symfony/symfony/commit/cdcbddcc0b5fd4de51d0ea01b148a7608d75d35c patch
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/133xxx/CVE-2026-133753.json advisory
- https://github.com/symfony/symfony package
- https://nvd.nist.gov/vuln/detail/CVE-2026-133753 advisory
- https://packagist.org web