CVE-2026-133743
7.0HighPublished Nov 25, 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite
High
0CVSS v4.010
- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User action
- None
- Impact
- Limited impact
- Weakness
- CWE-348
What an attacker gets
Remote attackers can inject malicious scripts into your pages by spoofing X-Forwarded headers. This occurs when your application runs behind a local reverse proxy or TLS terminator that is not explicitly configured as a trusted proxy.
Root cause
The SubRequestHandler incorrectly adds 127.0.0.1 to trusted proxies during inline fragment rendering, causing the application to trust attacker-controlled forwarded headers.
Affected versions
Versions not listed — check the vendor advisory.
CVSS v4.0 · CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:H/SI:H/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Fix & remediation
Upgrade symfony/http-kernel and symfony/http-foundation to the patched versions provided by the vendor. Explicitly configure framework.trusted_proxies in your Symfony configuration to only include your actual reverse proxy IP addresses.
$ composer update symfony/http-kernel symfony/http-foundationAI-suggested. Run it in staging first and check it against the vendor advisory. Why?
NVD description
The fix for CVE-2026-123339 (GHSA-wg5q-m2ww-f3c9) restores the router context of the main request after an inline fragment, but the cause of that issue is still there. A page can render an inline fragment with render() in Twig, or with an ESI tag when no gateway cache is used. While the fragment runs, SubRequestHandler adds 127.0.0.1 to the trusted proxies of every request. Code that reads the main request during that time trusts its X-Forwarded-* and Forwarded headers if the main request came from 127.0.0.1. Symfony itself reads the main request there: - asset() takes the base path and the scheme of the main request. With X-Forwarded-Prefix: //evil.example, asset('build/app.js') returns //evil.example/build/app.js, a script loaded from another host. Request::getBasePath() keeps its first result, so when it's first computed inside the fragment, the later asset() calls of the page return such URLs too. - absolute_url() in Twig, through UrlHelper, takes the host and the scheme of the main request from X-Forwarded-Host and X-Forwarded-Proto. When a shared cache stores the page, every visitor gets these URLs. With asset(), the page then runs scripts from a host chosen by the attacker. This affects applications reached over HTTP from 127.0.0.1 when that address isn't a trusted proxy. That's the case behind a TLS terminator, a reverse proxy or an HTTP cache running on the same host. When framework.trusted_proxies is not configured, which is the default, every forwarded header is trusted during that window, X-Forwarded-Prefix included. Configuring framework.trusted_hosts doesn't help with asset(), since the prefix is not a host. Applications that get requests directly through php-fpm or mod_php are not affected, and neither are those behind a proxy on another host. REMOTE_ADDR is not 127.0.0.1 there. SubRequestHandler doesn't change the trusted proxies of every request anymore. Only the requests it builds, and the requests copied from them, trust 127.0.0.1. While a fragment renders, the main request keeps ignoring the forwarded headers sent by the client. symfony/http-kernel now requires the version of symfony/http-foundation that contains this fix.
References
Related Critical / High CVEs
More fully triaged vulnerabilities you may want to check next.
- CVE-2026-1337618.7HighUnauthenticated attackers can crash the PHP process by sending a specially crafted CSV file. This leads to a denial of service for any application endpoint using the Serializer component to decode untrusted CSV input.
- CVE-2026-1347918.7HighUnauthenticated attackers can cause a denial of service by submitting unclosed comment blocks in expressions. This triggers catastrophic backtracking in the lexer, consuming excessive CPU resources.
- CVE-2026-1337578.2HighRemote attackers can steal sensitive credentials like Authorization headers and NTLM tokens by triggering a redirect to an attacker-controlled origin. This requires the application to use NoPrivateNetworkHttpClient or DnsResolvingHttpClient to make requests that follow redirects.
- CVE-2026-1358017.2HighAttackers can bypass WAF, CDN, or web server access controls by using encoded or partial script names in the URL. This allows unauthorized access to restricted routes that rely on front-end path filtering.
- CVE-2026-973457.5HighUnauthenticated attackers can enumerate order IDs to harvest secret order keys. This allows them to access customer PII including names, emails, and billing addresses.
- CVE-2026-854167.2HighUnauthenticated attackers can inject malicious scripts into admin pages via public form submissions. These scripts execute in the browser of any administrator who views the injected leads.