Read the docs

Symfony unanimous strategy grants access when only one role matches

Priority LOW 25CWE-863Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Security bypass
Confidentiality · integrity · availability
Low · Low · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-863.

Summary

The symfony/security-core and symfony/symfony packages from 5.4.0 before 5.4.57, from 6.0.0 before 6.4.51, from 7.0.0 before 7.4.24, and from 8.0.0 before 8.1.12 are affected. With the unanimous access decision strategy, an access_control rule listing several roles grants access when the user has only one of them, due to incorrect authorization (CWE-863). A remote user with low privileges can access routes protected by such rules with only one required role.

Written with Claude Haiku 5.5 from the sources below · 2026-11-25

Description from the CNA

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00651 45th percentileScored 2026-11-30
Fix Fixed symfony/security-core (Symfony): 5.4.57, 6.4.51, 7.4.24 +1symfony/symfony (Symfony): 5.4.57, 6.4.51, 7.4.24 +1

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
symfonysymfony/security-core5.4.0 to before 5.4.57; 6.0.0 to before 6.4.51; 7.0.0 to before 7.4.24; 8.0.0 to before 8.1.125.4.57, 6.4.51, 7.4.24, 8.1.12Patch availableCNA
symfonysymfony/symfony5.4.0 to before 5.4.57; 6.0.0 to before 6.4.51; 7.0.0 to before 7.4.24; 8.0.0 to before 8.1.125.4.57, 6.4.51, 7.4.24, 8.1.12Patch availableCNA
  • symfony/security-core Vendorsymfony Affected 5.4.0 to before 5.4.57; 6.0.0 to before 6.4.51; 7.0.0 to before 7.4.24; 8.0.0 to before 8.1.12 Fixed in 5.4.57, 6.4.51, 7.4.24, 8.1.12 Patch available CNA
  • symfony/symfony Vendorsymfony Affected 5.4.0 to before 5.4.57; 6.0.0 to before 6.4.51; 7.0.0 to before 7.4.24; 8.0.0 to before 8.1.12 Fixed in 5.4.57, 6.4.51, 7.4.24, 8.1.12 Patch available CNA

Remediation

Upgrade symfony/security-core and symfony/symfony to 5.4.57, 6.4.51, 7.4.24 or 8.1.12, one fixed version for each branch.

Written with Claude Haiku 5.5 from the sources below · 2026-11-25

  • Fix · CNA symfony/security-core (Symfony) Fixed in 5.4.57, 6.4.51, 7.4.24, 8.1.12
  • Fix · CNA symfony/symfony (Symfony) Fixed in 5.4.57, 6.4.51, 7.4.24, 8.1.12

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    symfony/symfony 5.4.57, 6.4.51 and 2 more versions

    13 records Highest priority Priority MEDIUM 2 MEDIUM, 11 LOW

    Other records, highest priority first

    • TI-2026-98149 Symfony Serializer CSV Header Nesting Without Limit Crashes PHPPriority MEDIUM 45
    • TI-2026-98148 Nested short ternaries make the Symfony expression parser hangPriority MEDIUM 45
    • TI-2026-98153 HttpClient lets a Proxy header choose the proxy under the CLI SAPIPriority LOW 37

Timeline

  1. 2026-11-25 Threatist record created from CVE-2026-133753
  2. 2026-11-25 CISA SSVC decision points changed

References

  • TI-2026-34283 Twig: The `spaceless` filter implicitly marks its output as safe CVSS 4.0MEDIUM 5.1
  • TI-2022-07667 Code injection in Twig CVSS 3.1CRITICAL 9.8
  • TI-2018-10028 Twig before 2.4.4 allows Server-Side Template Injection (SSTI) via the search search_key… CVSS 3.0CRITICAL 9.8
  • TI-2022-08704 Symfony storing cookie headers in HttpCache CVSS 3.1HIGH 8.8
  • TI-2026-98149 Symfony Serializer CSV Header Nesting Without Limit Crashes PHP CVSS 4.0HIGH 8.7
  • TI-2026-98148 Nested short ternaries make the Symfony expression parser hang CVSS 4.0HIGH 8.7
See all 129 →

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences