CVE-2026-133743 — Symfony symfony/http-kernel
Research article
Symfony Framework Allows Remote Code Execution via Inline Fragments
| CVE | CVE-2026-133743 |
|---|---|
| Vendor and product | Symfony symfony/http-kernel; Symfony symfony/symfony |
| Published | November 26, 2026 00:55 UTC |
| Research cut-off | November 26, 2026 00:25 UTC |
| Sources reviewed | 3: NVD record (last modified 2026-11-25); CISA KEV catalog; FIRST EPSS (2026-11-25) |
Executive summary
CVE-2026-133743 affects Symfony applications when they render inline fragments with certain headers, allowing attackers to inject malicious URLs. The CVSS 4.0 score is 7.0 HIGH, scored by b5aa5c7f-767d-4597-9c64-3ac08b8711c6 [1]. The vulnerability impacts versions of Symfony before 5.4.57, 6.0.0 to 6.4.51, 7.0.0 to 7.4.24, and 8.0.0 to 8.1.12 [1]. The reviewed sources do not report exploitation [2]. The main action is to update to the fixed versions [1].
Key points
- CVE-2026-133743 allows attackers to inject malicious URLs through inline fragments in Symfony applications [1].
- The CVSS 4.0 score is 7.0 HIGH, with high confidentiality and integrity impacts [1].
- The vulnerability affects Symfony versions before 5.4.57, 6.0.0 to 6.4.51, 7.0.0 to 7.4.24, and 8.0.0 to 8.1.12 [1].
- The reviewed sources do not report exploitation [2].
- The main action is to update to the fixed versions of Symfony [1].
Vulnerability identification
| Field | Value |
|---|---|
| CVE ID | CVE-2026-133743 [1] |
| Vendor | Symfony [1] |
| Product | symfony/http-kernel and symfony/symfony [1] |
| CWE | CWE-348 (Use of Less Trusted Source) [1] |
| CVSS 4.0 | 7.0 HIGH, scored by b5aa5c7f-767d-4597-9c64-3ac08b8711c6 [1] |
| Published | 2026-11-25T10:17:11 [1] |
| Last Modified | 2026-11-25T10:17:11 [1] |
| Record Status | Received [1] |
Vulnerability description
A flaw exists in how Symfony handles inline fragments during rendering. If a page contains an inline fragment using render() in Twig or an ESI tag without a gateway cache, the system may temporarily rely on X-Forwarded- headers when the main request comes from 127.0.0.1 [1]. This trust can lead to the generation of malicious URLs that are then used in scripts, so a page may load scripts from a host the attacker chooses [1].
Attack surface and exploitation prerequisites
The attack requires an application to be reached over HTTP from 127.0.0.1 when that address is not a trusted proxy. This situation often occurs when a TLS terminator, reverse proxy, or HTTP cache is operating on the same server as the application. When framework.trustedproxies is left unset, the out-of-the-box state, all forwarded headers are accepted as genuine throughout the fragment window [1].
Impact analysis
The CVSS 4.0 vector indicates that the vulnerability has high confidentiality and integrity impacts, with no availability impact. Symfony's asset() and absoluteurl() can return attacker-chosen URLs [1], so a page may load scripts from a host the attacker selects [1].
Affected products and versions
| Affected Product | Affected Version | Fixed Version |
|---|---|---|
| symfony/http-kernel | < 5.4.57 | 5.4.57 [1] |
| symfony/http-kernel | ≥ 6.0.0, < 6.4.51 | 6.4.51 [1] |
| symfony/http-kernel | ≥ 7.0.0, < 7.4.24 | 7.4.24 [1] |
| symfony/http-kernel | ≥ 8.0.0, < 8.1.12 | 8.1.12 [1] |
| symfony/symfony | < 5.4.57 | 5.4.57 [1] |
| symfony/symfony | ≥ 6.0.0, < 6.4.51 | 6.4.51 [1] |
| symfony/symfony | ≥ 7.0.0, < 7.4.24 | 7.4.24 [1] |
| symfony/symfony | ≥ 8.0.0, < 8.1.12 | 8.1.12 [1] |
Exploitation and threat intelligence status
CVE-2026-133743 is not listed in the CISA KEV catalog as of 2026-11-26 [2]. The EPSS score for this vulnerability is 0.25%, indicating a low likelihood of exploitation within the next 30 days [3].
Detection and exposure assessment
To determine if an application is affected, check if it uses Symfony versions in the affected ranges and is accessed over HTTP from 127.0.0.1 without the framework.trustedproxies configuration. If these conditions are met, the system is vulnerable [1].
Remediation
Update to the fixed versions of Symfony: 5.4.57, 6.4.51, 7.4.24, or 8.1.12 [1]. Update to a fixed version; the record says that after the fix, the main request keeps ignoring forwarded headers sent by the client while a fragment renders [1].
Remediation checklist
- Update Symfony to the fixed versions: 5.4.57, 6.4.51, 7.4.24, or 8.1.12 [1].
- The record describes the patched behaviour in which the main request keeps ignoring forwarded headers sent by the client while a fragment renders [1].
- Review and update any applications that are accessed over HTTP from 127.0.0.1 without trusted proxy configuration [1].
Evidence gaps
- The sources do not describe the affected component's internals.
- The sources do not mention a workaround.
- The sources do not describe the attack lifecycle in detail.
- The sources do not give indicators of compromise.
- The sources do not list a fixed version for all affected products.
References
- CVE-2026-133743 record. NIST National Vulnerability Database (NVD), 2026-11-25. https://nvd.nist.gov/vuln/detail/CVE-2026-133743. Accessed 2026-11-26.
- Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-11-26. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-11-26.
- EPSS score for CVE-2026-133743. FIRST, 2026-11-25. https://api.first.org/data/v1/epss?cve=CVE-2026-133743. Accessed 2026-11-26.
Summary
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.
Severity breakdown
High · 7.0
An attacker without an account can exploit this over the network, without any user action, but only under specific conditions.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Special conditions
- only in some setups or conditions
- Login needed
- no
- User action needed
- no
- Impact
- low on integrity, none on confidentiality and availability
- Impact on other systems
- high on confidentiality and integrity, none on availability
Weakness
- CWE-348: Use of Less Trusted Source
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| Symfony symfony/http-kernel | < 5.4.57 | 5.4.57 |
| ≥ 6.0.0, < 6.4.51 | 6.4.51 | |
| ≥ 7.0.0, < 7.4.24 | 7.4.24 | |
| ≥ 8.0.0, < 8.1.12 | 8.1.12 | |
| Symfony symfony/symfony | < 5.4.57 | 5.4.57 |
| ≥ 6.0.0, < 6.4.51 | 6.4.51 | |
| ≥ 7.0.0, < 7.4.24 | 7.4.24 | |
| ≥ 8.0.0, < 8.1.12 | 8.1.12 |
References by type
Vendor advisories
Patches and fixed releases
Other references
Affected
- Symfony symfony/http-kernel
- Symfony symfony/symfony
Frequently asked questions
What is CVE-2026-133743?
CVE-2026-133743 affects Symfony applications when they render inline fragments with certain headers, allowing attackers to inject malicious URLs. The CVSS 4.0 score is 7.0 HIGH, scored by b5aa5c7f-767d-4597-9c64-3ac08b8711c6. The vulnerability impacts versions of Symfony before 5.4.57, 6.0.0 to 6.4.51, 7.0.0 to 7.4.24, and 8.0.0 to 8.1.12. The reviewed sources do not report exploitation. Weakness type: Use of Less Trusted Source (CWE-348).
How severe is CVE-2026-133743?
CVE-2026-133743 has a CVSS 4.0 base score of 7.0 (high), from the CNA. An attacker without an account can exploit this over the network, without any user action, but only under specific conditions.
Is CVE-2026-133743 being exploited?
Not as far as is known: CVE-2026-133743 is not in CISA's Known Exploited Vulnerabilities catalog as of November 26, 2026. EPSS estimates a 0.3% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-133743?
Symfony symfony/http-kernel < 5.4.57 (fixed in 5.4.57); Symfony symfony/http-kernel ≥ 6.0.0, < 6.4.51 (fixed in 6.4.51); Symfony symfony/http-kernel ≥ 7.0.0, < 7.4.24 (fixed in 7.4.24); Symfony symfony/http-kernel ≥ 8.0.0, < 8.1.12 (fixed in 8.1.12); and more, listed on this page.
How do I fix CVE-2026-133743?
Update Symfony to the fixed versions: 5.4.57, 6.4.51, 7.4.24, or 8.1.12. The record describes the patched behaviour in which the main request keeps ignoring forwarded headers sent by the client while a fragment renders. Review and update any applications that are accessed over HTTP from 127.0.0.1 without trusted proxy configuration.
Timeline & sources
References
Related vulnerabilities & news
- CVE-2026-119159 — johndarrel Hide My WP Ghost – Security & Firewall
- CVE-2026-103886 — appcheap App Builder – Create Native Android & iOS Apps On The Flight
- TastyIgniter Media Manager upload path traversal (CVE-2026-69181) allows admin-authenticated file writes outside media/uploads
- GHSA-7wwv-x6mc-pxqx / CVE-2026-69179 — TastyIgniter allows Remote Code Execution (RCE) via Unrestricted file upload in Media Manager
- TastyIgniter mail template editor allows admin-triggered server-side template injection and PHP execution (CVE-2026-69178)