Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-123339
Published:November 06, 2026
Updated:November 09, 2026
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.
Affected Packages
https://github.com/symfony/symfony.git (GITHUB):
Affected version(s) >=v7.0.0-BETA1 <v7.4.23
Fix Suggestion:
Update to version v7.4.23
https://github.com/symfony/symfony.git (GITHUB):
Affected version(s) >=v8.0.0-BETA1 <v8.1.11
Fix Suggestion:
Update to version v8.1.11
https://github.com/symfony/symfony.git (GITHUB):
Affected version(s) >=v2.7.49 <v5.4.56 || >=v2.8.44 <v5.4.56 || =v3.3.18 <v5.4.56 || >=v3.4.14 <v5.4.56 || >=v4.0.14 <v5.4.56 || >=v4.1.3 <v5.4.56 || >=v5.0.0-BETA1 <v5.4.56
Fix Suggestion:
Update to version v5.4.56
https://github.com/symfony/symfony.git (GITHUB):
Affected version(s) >=v6.0.0-BETA1 <v6.4.50
Fix Suggestion:
Update to version v6.4.50
symfony/symfony (PHP):
Affected version(s) >=v8.0.0-BETA1 <v8.1.11
Fix Suggestion:
Update to version v8.1.11
symfony/http-kernel (PHP):
Affected version(s) >=v7.0.0-BETA1 <v7.4.23
Fix Suggestion:
Update to version v7.4.23
symfony/http-kernel (PHP):
Affected version(s) >=v3.4.14 <v5.4.56 || >=v4.0.14 <v5.4.56 || >=v5.0.0-BETA1 <v5.4.56 || >=v2.7.49 <v5.4.56 || >=v2.8.44 <v5.4.56 || >=v4.1.3 <v5.4.56 || =v3.3.18 <v5.4.56
Fix Suggestion:
Update to version v5.4.56
symfony/symfony (PHP):
Affected version(s) >=v3.4.14 <v5.4.56 || >=v4.0.14 <v5.4.56 || >=v5.0.0-BETA1 <v5.4.56 || >=v2.7.49 <v5.4.56 || >=v2.8.44 <v5.4.56 || >=v4.1.3 <v5.4.56 || =v3.3.18 <v5.4.56
Fix Suggestion:
Update to version v5.4.56
symfony/symfony (PHP):
Affected version(s) >=v6.0.0-BETA1 <v6.4.50
Fix Suggestion:
Update to version v6.4.50
symfony/http-kernel (PHP):
Affected version(s) >=v6.0.0-BETA1 <v6.4.50
Fix Suggestion:
Update to version v6.4.50
symfony/http-kernel (PHP):
Affected version(s) >=v8.0.0-BETA1 <v8.1.11
Fix Suggestion:
Update to version v8.1.11
symfony/symfony (PHP):
Affected version(s) >=v7.0.0-BETA1 <v7.4.23
Fix Suggestion:
Update to version v7.4.23
Do you need more information?
Contact Us
CVSS v4
Base Score:
2.3
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
PRESENT
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
LOW
Vulnerable System Availability
NONE
Subsequent System Confidentiality
LOW
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
4.7
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
NONE
Integrity
LOW
Availability
NONE
Weakness Type (CWE)
Use of Less Trusted Source
EPSS
Base Score:
0.23