CVE-2026-118514Symfony: HEAD Requests Bypass the methods Option of security.access_control Rules and…
In Symfony http-foundation prior to versions 5.4.56, 6.4.50, 7.4.23, and 8.1.11, Symfony\Component\HttpFoundation\RequestMatcher, and RequestMatcher\MethodRequestMatcher which replaces it from 6.2.x on, matches a request against a list of HTTP methods. These compared the request method to the list verbatim, while the router serves a HEAD request with the GET handler, as HTTP semantics require. This came after the incomplete fix of CVE-2026-45075 https://github.com/advisories/GHSA-6439-2f28-8p8q , which addressed the same gap in the #[IsGranted], #[IsSignatureValid] and #[IsCsrfTokenValid] attributes only. Security rules configured to apply only to GET requests could therefore be bypassed by sending a HEAD request to the same URL. Although HEAD responses contain no body, attackers could still access response headers and trigger the controller's execution, including any side effects. This issue also affects firewalls configured with methods: [GET]. A HEAD request would not match that firewall and could instead be handled by another matching firewall or no firewall at all. Applications using these vulnerable request matchers directly, including through a custom firewall request_matcher, could also be affected. The issue affects symfony/http-foundation through v5.4.55, v6.x through 6.4.49, v7.x through v7.4.22, and v8.x through v8.1.10.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | symfony | Fix pending | UBUNTU-CVE-2026-118514 | |
| Ubuntu 26.04 | symfony | Under investigation | UBUNTU-CVE-2026-118514 | |
| Ubuntu 24.04 | symfony | Fix pending | UBUNTU-CVE-2026-118514 | |
| Ubuntu 22.04 | symfony | Fix pending | UBUNTU-CVE-2026-118514 | |
| Ubuntu 20.04 | symfony | Fix pending | UBUNTU-CVE-2026-118514 | |
| Ubuntu 18.04 | symfony | Fix pending | UBUNTU-CVE-2026-118514 | |
| Ubuntu 16.04 | symfony | Fix pending | UBUNTU-CVE-2026-118514 | |
| Debian 14 | symfony | Fixed | 7.4.23+dfsg-1 | DEBIAN-CVE-2026-118514 |
| Debian 13 | symfony | Fixed | 6.4.50+dfsg-0+deb13u1 | DEBIAN-CVE-2026-118514 |
| Debian 12 | symfony | Fix pending | DEBIAN-CVE-2026-118514 |
What the vendor says
As published in the CVE record by Checkmarx, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- symfony: affected: before 5.4.56, 6 to before 6.4.50, 7 to before 7.4.23, 8 to before 8.1.11; fixed in
5.4.56,6.4.50,7.4.23,8.1.11
Vendor advisories:
- https://github.com/symfony/symfony/security/advisories/GHSA-jrf8-gvm4-7cgh (vendor-advisory)
- https://github.com/symfony/symfony/commit/cd20e9f8f16d1f0df6c2eac19bdb649325a192bd (patch)
- https://github.com/symfony/symfony/commit/13a8b85be687499cbc69a534ada16683f9ba3889 (patch)
References
- https://github.com/symfony/symfony/security/advisories/GHSA-jrf8-gvm4-7cgh
- https://github.com/symfony/symfony/commit/cd20e9f8f16d1f0df6c2eac19bdb649325a192bd
- https://github.com/symfony/symfony/commit/13a8b85be687499cbc69a534ada16683f9ba3889
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.