CVE-2026-118514: Symfony http-foundation HTTP method matching bypass

CVE-2026-118514 · Severity: info · Published 2026-11-06

Symfony's HTTP request matching component fails to recognize HEAD requests as equivalent to GET requests, allowing attackers to bypass security rules that restrict access to GET requests only. An attacker can send a HEAD request to trigger controller execution and access response headers while evading authorization checks and firewall rules.

Technologies: Symfony Http Foundation. Vendors: Symfony.

Quick answers

Is CVE-2026-118514 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-118514 being exploited in the wild.
How severe is CVE-2026-118514?
Informational severity, published 6 November 2026.
Which products and versions are affected?
Symfony Http Foundation prior to 5.4.56, 6.4.50, 7.4.23, 8.1.11.
Is there a fix for CVE-2026-118514?
Yes: fixed in 5.4.56, 6.4.50, 7.4.23, 8.1.11. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-118514 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2026-118514?
Check whether you run Symfony Http Foundation at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • Fixed in: 5.4.56, 6.4.50, 7.4.23, 8.1.11

Technical details

The RequestMatcher and MethodRequestMatcher classes in Symfony\Component\HttpFoundation perform verbatim comparison of HTTP request methods against a configured list, without accounting for HTTP semantics where HEAD requests should be handled identically to GET requests. An attacker can bypass GET-only security rules by sending a HEAD request, which will match a different firewall rule or no firewall at all, allowing unauthorized controller execution and potential side effects while receiving response headers.

Affected products

  • Symfony http-foundation prior to 5.4.56, 6.4.50, 7.4.23, 8.1.11

Timeline

  • 2026-11-06: disclosed

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.