Skip to content
DayZeroHub
Medium Not yet writtenCVSS 5.3CVE-2026-133753

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

Symfony symfony/security-core

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-133753: medium-severity vulnerability (CVSS 5.3) in Symfony symfony/security-core.

What happened

Original description from the source: 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

Medium severity, CVSS 5.3.

Affected products and versions

Symfony symfony/security-core >= 5.4.0, < 5.4.57; Symfony symfony/security-core >= 6.0.0, < 6.4.51; Symfony symfony/security-core >= 7.0.0, < 7.4.24; Symfony symfony/security-core >= 8.0.0, < 8.1.12; Symfony symfony/symfony >= 5.4.0, < 5.4.57; Symfony symfony/symfony >= 6.0.0, < 6.4.51; Symfony symfony/symfony >= 7.0.0, < 7.4.24; Symfony symfony/symfony >= 8.0.0, < 8.1.12

ProductVersionsFixed in
Symfony symfony/security-core>= 5.4.0, < 5.4.57—
Symfony symfony/security-core>= 6.0.0, < 6.4.51—
Symfony symfony/security-core>= 7.0.0, < 7.4.24—
Symfony symfony/security-core>= 8.0.0, < 8.1.12—
Symfony symfony/symfony>= 5.4.0, < 5.4.57—
Symfony symfony/symfony>= 6.0.0, < 6.4.51—
Symfony symfony/symfony>= 7.0.0, < 7.4.24—
Symfony symfony/symfony>= 8.0.0, < 8.1.12—

Action recommended by the source

See the official references for the fix or mitigation.

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-863

Relevant change history

  1. Published

    Preliminary advisory published.