Incorrect authorization in security-bundle - CVE-2026-118514
Published: December 1, 2026 / Updated: December 1, 2026
Vulnerability details
The vulnerability allows a remote attacker to bypass method-based access controls, potentially exposing restricted response headers or triggering unauthorized controller actions.
The vulnerability exists due to incorrect authorization in the HttpFoundation MethodRequestMatcher and RequestMatcher used by Symfony SecurityBundle when evaluating access rules limited to GET requests. A remote attacker can take advantage of inconsistent HTTP method handling to reach a protected controller because the router dispatches HEAD requests to the GET handler while the security rule does not match HEAD.
The issue also affects firewalls configured to match only GET requests and applications that use the affected matchers directly, including as custom firewall request matchers.
Affected software
Symfony
How to mitigate CVE-2026-118514
Symfony - addressed in versions 5.4.56, 6.4.50, 7.4.23, 8.1.11
External References
- https://github.com/symfony/security-bundle/releases/tag/v8.1.11
- https://github.com/symfony/security-bundle/commit/62a137d31e5b52bd47a56f56598c0fd61640c20a
- https://github.com/symfony/security-bundle/compare/v8.1.10...v8.1.11
- https://github.com/symfony/security-bundle/releases/tag/v6.4.50
- https://github.com/symfony/security-bundle/releases/tag/v7.4.23