symfony/http-kernel · Symfony: Inline Fragments Let Untrusted Forwarded Headers Set the Host, Scheme and Port of the URLs Generated for the
Affects symfony/http-kernelSource GCVE Database
Not known to be exploited · CVSS 2.3 Low : upgrade to 5.4.56 when convenient.
Data as of 1 Dec 2026, 23:46 UTC
Thin evidence
One scorer or none| CNA (Checkmarx) | CVSS 4.0 | 2.3 |
|---|
- Patch
- Available – fixed in 5.4.56, 6.4.50, 7.4.23 +1
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:L/VA:N/SC:L/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 6 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 1 Dec 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Packagistsymfony/http-kernel | Affected
| Fixed in
|
| Packagistsymfony/http-kernel | Affected
| Fixed in
|
| Packagistsymfony/http-kernel | Affected
| Fixed in
|
| Packagistsymfony/http-kernel | Affected
| Fixed in
|
| Packagistsymfony/symfony | Affected
| Fixed in
|
| Packagistsymfony/symfony | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade Symfony HttpKernel to versions 5.4.56, 6.4.50, 7.4.23, 8.1.11 or later where the issue is fixed. The fix ensures the router context is preserved correctly during sub-requests, preventing untrusted headers from influencing URL generation. Additionally, applications running behind a proxy on 127.0.0.1 should configure framework.trusted_proxies and framework.trusted_hosts properly and ensure the proxy sets forwarded headers itself rather than passing client headers. No other immediate actions are required once patched.
Description
A vulnerability in Symfony's HttpKernel component allows untrusted forwarded headers from a client to influence the host, scheme, and port of URLs generated after rendering inline fragments. This occurs because the sub-request handling temporarily trusts 127.0.0.1 as a proxy, causing the router to rebuild its context using potentially untrusted headers from the main request. The issue affects applications accessed over HTTP from 127.0.0.1 without explicitly configuring trusted proxies, such as those behind local reverse proxies or TLS terminators. A fix is available in Symfony versions 5.4.56, 6.4.50, 7.4.23, and 8.1.11 and later.
References
- github.com/symfony/symfony/security/advisories/GHSA-wg5q-m2ww-f3c9 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-123339 (opens in a new tab)
- github.com/symfony/symfony/commit/4b4e683b2c280083c6758bb776af952076add612 (opens in a new tab)
- github.com/FriendsOfPHP/security-advisories/blob/master/symfony/http-kernel/CVE-2026-123339.yaml (opens in a new tab)
- github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2026-123339.yaml (opens in a new tab)
- github.com/symfony/symfony (opens in a new tab)
- github.com/symfony/symfony/releases/tag/v5.4.56 (opens in a new tab)
- github.com/symfony/symfony/releases/tag/v6.4.50 (opens in a new tab)
- github.com/symfony/symfony/releases/tag/v7.4.23 (opens in a new tab)
- github.com/symfony/symfony/releases/tag/v8.1.11 (opens in a new tab)