Skip to main content
CVE-2026-123339VulnerabilityPublished Updated

RouterListener::onKernelFinishRequest() · Improper Trust of Forwarded Headers

Affects symfonySource GCVE Database

0
Compare
Authoritative record:CVE-2026-123339· Low 2.3

Not known to be exploited · CVSS 2.3 Low.

Data as of 18 Nov 2026, 15:20 UTC

CVSS 4.0 base score
2.3Low
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (Checkmarx)CVSS 4.02.3
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:L/VA:N/SC:L/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 6 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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 17 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10symfonypkg:deb/ubuntu/symfony?arch=source&distro=stonkingOther threatsAffected
  • 7.4.7+dfsg-1ubuntu1 – 7.4.16+dfsg-1ubuntu2
6 affected builds
Fixed in–
Ubuntu 26.04 LTSsymfonypkg:deb/ubuntu/symfony?arch=source&distro=resoluteOther threatsAffected
  • 6.4.24+dfsg-1 – 7.4.7+dfsg-1ubuntu1
4 affected builds
Fixed in–
Ubuntu Pro 24.04 LTSsymfonypkg:deb/ubuntu/symfony?arch=source&distro=esm-apps/nobleOther threatsAffected
  • 5.4.23+dfsg-1ubuntu1 – 6.4.5+dfsg-3ubuntu3+esm1
5 affected builds
Fixed in–
Ubuntu Pro 22.04 LTSsymfonypkg:deb/ubuntu/symfony?arch=source&distro=esm-apps/jammyOther threatsAffected
  • =5.2.6+dfsg-1ubuntu7
  • =5.4.4+dfsg-1ubuntu8
  • =5.4.4+dfsg-1ubuntu8+esm1
Fixed in–
Ubuntu Pro 20.04 LTSsymfonypkg:deb/ubuntu/symfony?arch=source&distro=esm-apps/focalOther threatsAffected
  • 4.3.4+dfsg-1ubuntu1 – 4.3.8+dfsg-1ubuntu1+esm2
4 affected builds
Fixed in–
Ubuntu Pro 18.04 LTSsymfonypkg:deb/ubuntu/symfony?arch=source&distro=esm-apps/bionicOther threatsAffected
  • 2.8.7+dfsg-1.3ubuntu1 – 3.4.6+dfsg-1ubuntu0.1+esm2
6 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

Improper trust of forwarded headers in RouterListener::onKernelFinishRequest() in Symfony HttpKernel versions prior to 5.4.56, 6.x prior to 6.4.50, 7.x prior to 7.4.23, and 8.x prior to 8.1.11 allows a remote attacker to control the host, scheme, and port of absolute URLs generated for the rest of the request, poisoning links in pages stored by a shared cache and in e-mails sent after the page was rendered.When a page renders an inline fragment (render() in Twig, or an ESI tag rendered inline), SubRequestHandler temporarily adds 127.0.0.1 to the trusted proxies, and RouterListener rebuilds the router context from the main request while that trust is still active, so the X-Forwarded-* and Forwarded headers of a request whose client address is 127.0.0.1 are trusted even though that address is not a configured trusted proxy. From that point on, every absolute URL the router generates for the rest of the main request takes its host, scheme, and port from headers sent by the client, including URLs produced by url() in Twig and by UrlGeneratorInterface::ABSOLUTE_URL. Applications are affected when they are reached over HTTP from 127.0.0.1, for example behind a TLS terminator, reverse proxy, local HTTP cache, or sidecar proxy on the same host, and that proxy passes the client’s forwarded headers along. With the default configuration (framework.trusted_proxies unset), all forwarded headers, including X-Forwarded-Host, are trusted during that window. Applications served through php-fpm, mod_php, or a proxy on another host are not affected. When framework.trusted_hosts is configured, a forwarded host outside the list is rejected, but the scheme and port can still be changed.

References

Community reviews

Loading reviews…