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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Symfony | symfony/security-core | 5.4.0 – < 5.4.57, 6.0.0 – < 6.4.51, 7.0.0 – < 7.4.24, 8.0.0 – < 8.1.12 | 5.4.57 |
| Symfony | symfony/symfony | 5.4.0 – < 5.4.57, 6.0.0 – < 6.4.51, 7.0.0 – < 7.4.24, 8.0.0 – < 8.1.12 | 5.4.57 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | symfony | No fix yet | — |
| Debian 13 | symfony | 6.4.51+dfsg-0+deb13u1 | DSA-6668-1 |
| Debian 12 | symfony | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | symfony | No fix yet | — |
| Ubuntu 26.04 LTS | symfony | No fix yet | — |
| Ubuntu 16.04 LTS | symfony | No fix yet | — |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 24.04 LTS | symfony | No fix yet | — |
| Ubuntu Pro 22.04 LTS | symfony | No fix yet | — |
| Ubuntu Pro 20.04 LTS | symfony | No fix yet | — |
| Ubuntu Pro 18.04 LTS | symfony | No fix yet | — |
Advisories 1
- DSA-6668-1 symfony - security update Debian Security (DSA / DLA) · Nov 29, 2026
References
- CVE-2026-133753 vendor-advisory
- GHSA-h32j-4qcq-hw69 vendor-advisory
- https://github.com/symfony/symfony/commit/cdcbddcc0b5fd4de51d0ea01b148a7608d75d35c patch