# Symfony Security Release: Five Fixes and Who They Affect

Symfony fixed five security issues on 25 November 2026, from CSV crashes to leaked error dumps. Check the fixed versions and whether your setup is affected.

Canonical URL: https://buzzphp.com/guides/symfony-security-fixes-november-2026 · Updated: 2026-11-27

Symfony published five security advisories on 25 November 2026, covering the Serializer, FrameworkBundle, Security HTTP, HttpClient and ExpressionLanguage components. The fixes shipped the same day: 5.4.57, 6.4.51, 7.4.24 and 8.1.12, depending on the component, so one `composer update` covers everything if you track a supported branch. Two of the five only affect newer branches, so check the list before deciding how urgent each one is for your app.

## A small CSV file can crash PHP (CVE-2026-133761)

`CsvEncoder::decode()` splits each header cell on the key separator (`.` by default) and nests the decoded rows one level per separator. A crafted header with many separators makes it nest without limit: a 448 KB payload can crash PHP with a stack overflow, and a 2 KB body can allocate over 128 MB. Anything that decodes untrusted CSV is affected, including `#[MapRequestPayload]` on Symfony 7.4. Fixed in Serializer 5.4.57, 6.4.51, 7.4.24 and 8.1.12. If you accept CSV uploads, update first and treat this as the most urgent of the five.

## Workers can leak full exception dumps (CVE-2026-133762)

Since Symfony 7.4, FrameworkBundle picks the error renderer from the application's runtime mode, which comes from `APP_RUNTIME_MODE`. HTTP workers running under the CLI SAPI without that variable set returned full exception dumps — messages, file paths, stack traces and even environment variables — as production error responses. RoadRunner, Swoole and ReactPHP runners are affected; FrankenPHP is not, because it does not run under the CLI SAPI. Fixed in FrameworkBundle 7.4.24 and 8.1.12. Setting `APP_RUNTIME_MODE=prod` also closes the hole, but upgrading is the durable fix.

## Login redirects can reach another host (CVE-2026-134790)

The fix for CVE-2017-16652 restricts login redirects to the host of the request. When `framework.session.cookie_domain` is set, a crafted target such as `https://evil.test?.example.com` passed the host check, sending users to another site right after login — a ready-made phishing step. Fixed in Security HTTP 5.4.57, 6.4.51, 7.4.24 and 8.1.12. Upgrade if you set a session cookie domain; if you never set one, this does not affect you.

## A Proxy header can hijack HttpClient's proxy (CVE-2026-134792)

When no proxy is configured, HttpClient takes the proxy from environment variables such as `http_proxy`. In CLI-SAPI HTTP workers, a client-sent `Proxy` header could choose the proxy for the app's outgoing requests instead, handing full `http://` requests — credentials included — to an attacker-controlled proxy. RoadRunner, php-pm and similar runners are affected. Fixed in HttpClient 5.4.57, 6.4.51, 7.4.24 and 8.1.12. Upgrade if you run workers under the CLI SAPI.

## Unclosed comments slow the ExpressionLanguage lexer (CVE-2026-134791)

Since Symfony 7.2, expressions can contain comments, and the lexer used a regular expression to find the end of a comment. An unclosed `/*` made it scan the rest of the expression again for every comment marker, so linting 192 KB of `/*` took 9 to 11 seconds, and 96 KB took 34 seconds without PCRE JIT. Anything that lints or parses untrusted expressions is affected, including the `ExpressionSyntax` validation constraint. Fixed in ExpressionLanguage 7.4.24 and 8.1.12; unclosed comments now throw a `SyntaxError` instead. This one needs untrusted expression input to matter, so it is the least urgent of the five.

## What to do

1. Run `composer update symfony/*` on a supported branch and confirm the locked versions are at or above the fixed ones for the components you use.
2. If you run RoadRunner, Swoole, ReactPHP or php-pm, prioritise the FrameworkBundle and HttpClient fixes — those two leak data or credentials from production workers.
3. If you accept CSV uploads or set a session cookie domain, prioritise the Serializer and Security HTTP fixes.
4. Set `APP_RUNTIME_MODE=prod` for workers if you have not already; it is good hygiene even after the upgrade.

All five advisories were published on 25 November 2026 with patches available the same day, so there is no reason to wait for a maintenance window to start: update, run your test suite, and deploy.

Sources: [CVE-2026-133761](https://symfony.com/blog/cve-2026-133761-csvencoder-nests-rows-once-per-key-separator-of-a-header-letting-a-small-csv-payload-crash-php), [CVE-2026-133762](https://symfony.com/blog/cve-2026-133762-without-app-runtime-mode-http-workers-running-under-the-cli-sapi-return-full-exception-dumps-in-production), [CVE-2026-134790](https://symfony.com/blog/cve-2026-134790-login-redirects-can-still-reach-another-host-when-the-session-cookie-domain-is-set-incomplete-fix-for-cve-2017-16652), [CVE-2026-134791](https://symfony.com/blog/cve-2026-134791-unclosed-comments-make-the-lexer-of-expressionlanguage-quadratic-letting-untrusted-expressions-hold-a-process), [CVE-2026-134792](https://symfony.com/blog/cve-2026-134792-httpclient-lets-the-proxy-header-of-a-request-choose-the-proxy-of-outgoing-requests-in-cli-sapi-http-workers).
