Skip to main content

Symfony HttpKernel EUVDEUVD-2026-135232

| CVE-2026-133743 HIGH
Use of Less Trusted Source (CWE-348)
2026-11-25 Symfony
7.0
CVSS 4.0 · Vendor: Symfony
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Send forged X-Forwarded-* headers to app
  2. Delivery
    Page renders inline fragment via render()
  3. Exploit
    SubRequestHandler trusts 127.0.0.1 globally
  4. Execution
    asset() emits attacker-controlled script URLs
  5. Impact
    Shared cache serves poisoned page to visitors

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V6 - Authentication IP-independent access control
Exploitation Conditions

Requires a specific deployment: the Symfony application must be reached over HTTP from 127.0.0.1 where that address is NOT a trusted proxy - i.e. behind a TLS terminator, reverse proxy, or HTTP cache running on the same host, so REMOTE_ADDR is 127.0.0.1. The vulnerable page must render an inline fragment, either via render() in Twig or via an ESI tag when no gateway cache is used, and must call asset() and/or absolute_url(). By default framework.trusted_proxies is unconfigured, which makes every forwarded header (including X-Forwarded-Prefix) trusted during the fragment window. For broad impact a shared/HTTP cache must store and redistribute the poisoned page. LIMITING FACTORS: configuring framework.trusted_hosts does NOT mitigate the asset() prefix case because the prefix is not a host; applications served directly through php-fpm or mod_php are NOT affected, and neither are those behind a proxy on a different host, because REMOTE_ADDR is not 127.0.0.1 there. Updating to the fixed http-foundation/http-kernel versions is the vendor's stated resolution.

Impact

This is a genuine but conditional integrity/spoofing flaw, not a raw code-execution emergency. The input CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:N) scores 7.0 and importantly carries AT:P - an explicit attack requirement - plus VC:N (no confidentiality impact) and VI:L on the vulnerable system, with the real damage landing on subsequent systems (SC:H/SI:H), i.e. the browsers of later visitors via a poisoned shared cache. No EPSS score and no KEV listing were provided, and there is no public exploit identified at time of analysis - only the vendor advisory and patch commit. The vuln.today decision label is 'this_week', consistent with a serious issue that is gated behind specific deployment conditions rather than an act_now/emergency. The headline network vector overstates reachability: exploitation only matters when the application is reached over HTTP from 127.0.0.1 without that address being a trusted proxy (TLS terminator, reverse proxy, or HTTP cache on the same host) AND a page renders an inline fragment AND framework.trusted_proxies is unconfigured. Weighing the signals together: real priority for Symfony apps behind a same-host proxy/cache that use fragments, but a low practical risk for apps served directly via php-fpm/mod_php or behind a proxy on another host, where REMOTE_ADDR is not 127.0.0.1 and the flaw does not apply.

Exploit ScenarioDerived

An attacker sends an HTTP request carrying a forged X-Forwarded-Prefix (e.g. //evil.example) or X-Forwarded-Host/X-Forwarded-Proto header to a Symfony app sitting behind a same-host reverse proxy, TLS terminator, or HTTP cache, where REMOTE_ADDR is 127.0.0.1. During the window in which the page renders an inline fragment via Twig render() or an ESI tag, SubRequestHandler marks 127.0.0.1 as a trusted proxy globally, so asset() and absolute_url() build URLs from the attacker's forwarded headers; a shared cache then stores the poisoned page and serves attacker-hosted script URLs to every subsequent visitor. No public exploit identified at time of analysis.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 25, 2026

Untrusted X-Forwarded-* headers can rewrite the URLs generated by asset() and absolute_url() in Symfony applications that render inline fragments and are reached over HTTP from 127.0.0.1, letting an attacker point script tags at a host of their choosing; when a shared cache stores the page, every later visitor receives the poisoned markup. The flaw is an incomplete fix for CVE-2026-123339: SubRequestHandler temporarily added 127.0.0.1 to the global trusted-proxy list while a fragment rendered, so the main request's forwarded headers were trusted even though the client sent them. Exploitation is unauthenticated but conditional - it requires a same-host TLS terminator, reverse proxy or HTTP cache (REMOTE_ADDR of 127.0.0.1), a page using render() or ESI fragments plus asset()/absolute_url(), and ideally a shared cache; applications served directly via php-fpm/mod_php or behind a proxy on another host are not affected, and no public exploit has been identified at time of analysis.

RemediationAI

Vendor-released patch: upgrade symfony/http-kernel to 5.4.57, 6.4.51, 7.4.24 or 8.1.12 as appropriate for your branch (symfony/symfony 5.4.57 or 6.4.51 per the advisory's package list), and ensure symfony/http-foundation is updated alongside since http-kernel now requires the fixed http-foundation version; the reference commit is https://github.com/symfony/symfony/commit/2bba2bdaf3d33b897c74a81eb96b28d7b0076ee4. Updating is the vendor's stated resolution and removes the window in which 127.0.0.1 is globally trusted. If you cannot update immediately, note that configuring framework.trusted_hosts does not mitigate the asset() prefix case because an X-Forwarded-Prefix value is not a host; the advisory states that when framework.trusted_proxies is left unconfigured (the default) every forwarded header, X-Forwarded-Prefix included, is trusted during the fragment window, so explicitly configuring framework.trusted_proxies with a restricted trusted-header set limits which forwarded headers can be honored - verify this against your exact topology before relying on it, since your own 127.0.0.1 proxy must still be correctly classified. Applications that serve requests directly through php-fpm or mod_php, or that sit behind a proxy on a different host (REMOTE_ADDR not 127.0.0.1), are not affected and need no workaround. Finally, purge shared/HTTP caches after upgrading, because pages poisoned via X-Forwarded-Prefix may already be stored and would continue serving attacker-chosen script URLs to visitors.

Affected VersionsENISA

symfony/http-kernel 8.0.0 <8.1.12
symfony/symfony 6.0.0 <6.4.51
symfony/symfony 7.0.0 <7.4.24
symfony/http-kernel 6.0.0 <6.4.51
symfony/http-kernel 7.0.0 <7.4.24
symfony/symfony 0 <5.4.57
symfony/symfony 8.0.0 <8.1.12
symfony/http-kernel 0 <5.4.57

Affected Packages

euvd symfony_http_kernel fix: 5.4.57, 6.4.51, 7.4.24, 8.1.12
euvd symfony_symfony fix: 5.4.57, 6.4.51, 7.4.24, 8.1.12

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The root cause is CWE-348 (Use of Less Trusted Source): during an inline fragment - rendered via render() in Twig or an ESI tag when no gateway cache is in play - Symfony's HttpKernel SubRequestHandler took the global Request trusted-proxy state, appended 127.0.0.1, and restored it afterwards. During that window Request::isFromTrustedProxy() returned true for any request whose REMOTE_ADDR was 127.0.0.1, so the main request's client-supplied X-Forwarded-Prefix, X-Forwarded-Host, X-Forwarded-Proto and Forwarded headers were honored. Symfony itself consumes the main request there: the asset() helper pulls base path and scheme, so 'X-Forwarded-Prefix: //evil.example' turns asset('build/app.js') into a protocol-relative URL on an attacker host, and because Request::getBasePath() memoizes its first result, the poisoning persists for all later asset() calls on the page; Twig's absolute_url() via UrlHelper reads host and scheme from X-Forwarded-Host/X-Forwarded-Proto. The fix in symfony/http-foundation replaces the global mutation with a per-request marker (Request::SUB_REQUEST_TRUSTED_HEADER_SET) stored in the sub-request's server bag, consulted by a new getSubRequestTrustedHeaderSet() in isFromTrustedProxy() and in the client-IP normalization path, so only the sub-requests built by SubRequestHandler (and copies of them) trust 127.0.0.1 while the main request keeps ignoring forwarded headers; complicates-validate logic in HttpKernel's ValidateRequestListener was switched from the static getTrustedProxies() to the instance method isFromTrustedProxy(), and symfony/http-kernel now constrains the symfony/http-foundation version containing the fix.

Know when Symfony gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Symfony) PRIMARY 7.0 HIGH
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
vuln.today AI 4.0 MEDIUM

AV:N via forwarded headers but AC:H for the required same-host-proxy deployment plus an in-flight fragment render; PR:N/UI:N; S:C and I:L as poisoned URLs affect visitors' browsers, no confidentiality or availability loss.

3.1 AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:H/SI:H/SA:N

Primary rating from Vendor (Symfony).

CVSS VectorVendor: Symfony

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
High
Subsequent system: Integrity
High
Subsequent system: Availability
None

DescriptionCVE.org

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.

Technical POC Analysis

CWE-348 (Use of Less Trusted Source).

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

CVE-2026-133743 is a high-severity vulnerability in Symfony applications that use inline fragments and asset generation, allowing a remote attacker to inject malicious script sources via forged headers when the app sits behind a local reverse proxy, potentially compromising every visitor if a shared cache stores the poisoned page. Leadership should prioritize remediation because this flaw can silently redirect users to attacker-controlled sites, damaging brand trust and enabling follow-on attacks like malware distribution or credential theft. While no public exploit exists yet, the conditional nature means affected architectures must act promptly.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 90% exploitable
Prevalence
High
major PHP framework, widely deployed across enterprise web applications
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

35
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +35
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

CVE-2015-4050 MEDIUM POC
4.3 Jun 02

FragmentListener in the HttpKernel component in Symfony 2.3.19 through 2.3.28, 2.4.9 through 2.4.10, 2.5.4 through 2.5.1

CVE-2019-10910 CRITICAL POC
9.8 May 16

In Symfony before 2.7.51, 2.8.x before 2.8.50, 3.x before 3.4.26, 4.x before 4.1.12, and 4.2.x before 4.2.7, when servic

CVE-2018-13818 CRITICAL POC
9.8 Jul 10

Twig before 2.4.4 allows Server-Side Template Injection (SSTI) via the search search_key parameter. Rated critical sever

CVE-2026-100872 HIGH POC
8.7 Sep 27

Insufficient verification of payment-claim state in the Sylius e-commerce platform (versions before 2.1.16 and 2.2.9) le

CVE-2026-100869 HIGH POC
8.2 Sep 27

Incorrect authorization in the Sylius Shop API lets anyone holding an order token submit arbitrary payment actions - mos

CVE-2025-64500 HIGH POC
7.3 Nov 12

Symfony is a PHP framework for web and console applications and a set of reusable PHP components. Rated high severity (C

CVE-2026-24739 MEDIUM POC
6.3 Jan 28

Symfony versions up to 5.4.51 contains a vulnerability that allows attackers to operations being performed on an uninten

CVE-2018-12040 MEDIUM POC
6.1 Jun 13

Reflected Cross-site scripting (XSS) vulnerability in the web profiler in SensioLabs Symfony 3.3.6 allows remote attacke

CVE-2016-2403 CRITICAL
9.8 Feb 07

Symfony before 2.8.6 and 3.x before 3.0.6 allows remote attackers to bypass authentication by logging in with an empty p

CVE-2024-51736 CRITICAL
9.8 Nov 06

Symphony process is a module for the Symphony PHP framework which executes commands in sub-processes. Rated critical sev

CVE-2019-18889 CRITICAL
9.8 Nov 21

An issue was discovered in Symfony 3.4.0 through 3.4.34, 4.2.0 through 4.2.11, and 4.3.0 through 4.3.7. Rated critical s

CVE-2019-11325 CRITICAL
9.8 Nov 21

An issue was discovered in Symfony before 4.2.12 and 4.3.x before 4.3.8. Rated critical severity (CVSS 9.8), this vulner

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy