CVE-2026-133743

high
EUVD alias: EUVD-2026-135232
Assigned by CNA: symfony
Published 2026-11-25 · Modified 2026-12-01
CVSS v3
—
CVSS v4 NEW
7.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
VIR risk
7.0

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.

Predictions

Exploit likelihood
20%
Patch ETA
—

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.

Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

OS impact

debian Debian Mixed 4 releases
VersionPackageStatusFixed in
trixie symfony Fixed 6.4.51+dfsg-0+deb13u1
sid symfony Fixed 7.4.24+dfsg-1
forky symfony Affected —
bookworm symfony Affected —

Package impact

EcosystemPackageVulnerableFixed
php Packagistsymfony/symfony>=2.0.0,<3.0.0|>=3.0.0,<4.0.0|>=4.0.0,<5.0.0|>=5.0.0,<5.1.0|>=5.1.0,<5.2.0|>=5.2.0,<5.3.0|>=5.3.0,<5.4.0|>=5.4.0,<5.4.57|>=6.0.0,<6.1.0|>=6.1.0,<6.2.0|>=6.2.0,<6.3.0|>=6.3.0,<6.4.0|>=6.4.0,<6.4.51|>=7.0.0,<7.1.0|>=7.1.0,<7.2.0|>=7.2.0,<7.3.0|>=7.3.0,<7.4.0|>=7.4.0,<7.4.24|>=8.0.0,<8.1.0|>=8.1.0,<8.1.12
php Packagistsymfony/http-kernel>=2.0.0,<3.0.0|>=3.0.0,<4.0.0|>=4.0.0,<5.0.0|>=5.0.0,<5.1.0|>=5.1.0,<5.2.0|>=5.2.0,<5.3.0|>=5.3.0,<5.4.0|>=5.4.0,<5.4.57|>=6.0.0,<6.1.0|>=6.1.0,<6.2.0|>=6.2.0,<6.3.0|>=6.3.0,<6.4.0|>=6.4.0,<6.4.51|>=7.0.0,<7.1.0|>=7.1.0,<7.2.0|>=7.2.0,<7.3.0|>=7.3.0,<7.4.0|>=7.4.0,<7.4.24|>=8.0.0,<8.1.0|>=8.1.0,<8.1.12

Application impact

VendorProductVersionsFixed
symfonysymfony_http-kernel{"endExcluding":"5.4.57"}5.4.57
symfonysymfony_http-kernel{"startIncluding":"6.0.0","endExcluding":"6.4.51"}6.4.51
symfonysymfony_http-kernel{"startIncluding":"7.0.0","endExcluding":"7.4.24"}7.4.24
symfonysymfony_http-kernel{"startIncluding":"8.0.0","endExcluding":"8.1.12"}8.1.12
symfonysymfony_symfony{"endExcluding":"5.4.57"}5.4.57
symfonysymfony_symfony{"startIncluding":"6.0.0","endExcluding":"6.4.51"}6.4.51
symfonysymfony_symfony{"startIncluding":"7.0.0","endExcluding":"7.4.24"}7.4.24
symfonysymfony_symfony{"startIncluding":"8.0.0","endExcluding":"8.1.12"}8.1.12

References

CWEs

CWE-348

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.