Incident response on call, 24/7: +385 98 1900 984NewIR Retainer: a team on contract before an attack
HR · EN
Medium 5.3CVE-2026-133753

The Unanimous Strategy Grants access_control Rules When Only One of Their Roles Matches: Regression of CVE-2020-5275

Published 25/11/2026 · Updated 25/11/2026 · symfony/security-core

Original 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 and versions

Symfony symfony/security-core5.4.0 – < 5.4.57 · 6.0.0 – < 6.4.51 · 7.0.0 – < 7.4.24 · 8.0.0 – < 8.1.12Fixed in: 5.4.57 · 6.4.51 · 7.4.24 · 8.1.12
Symfony symfony/symfony5.4.0 – < 5.4.57 · 6.0.0 – < 6.4.51 · 7.0.0 – < 7.4.24 · 8.0.0 – < 8.1.12Fixed in: 5.4.57 · 6.4.51 · 7.4.24 · 8.1.12

CVSS vector, explained

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

Attack vector
Network (from the internet)
Attack complexity
Low
Attack requirements
None
Privileges required
Regular user
User interaction
Not required
Confidentiality
Low impact
Integrity
Low impact
Availability
None

Weakness type (CWE)

References

Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Summaries are AI-written under strict rules; always check the vendor's official advisory.