Loading advisory.
Loading advisory.
Symfony vulnerable to Session Fixation of CSRF tokens
Description
Published 2023-02-01 18:48 UTC · Modified 2025-03-10 21:16 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| symfony/security-bundle | Packagist | >= 2.0.0, < 4.4.50 >= 5.0.0, < 5.4.20 >= 6.0.0, < 6.0.20 >= 6.1.0, < 6.1.12 >= 6.2.0, < 6.2.6 versions 2.0.7, v2.0.10, v2.0.12, v2.0.13, v2.0.14, v2.0.15, v2.0.16, v2.0.17, v2.0.18, v2.0.19, v2.0.20, v2.0.21, v2.0.22, v2.0.23, v2.0.24, v2.0.25, v2.0.9, v2.1.0, v2.1.1, v2.1.10 and 534 more | 4.4.50, 5.4.20, 6.0.20, 6.1.12, 6.2.6 | composer require 'symfony/security-bundle:>=4.4.50'composer require 'symfony/security-bundle:>=5.4.20'composer require 'symfony/security-bundle:>=6.0.20'composer require 'symfony/security-bundle:>=6.1.12'composer require 'symfony/security-bundle:>=6.2.6' |
| symfony/symfony | Packagist | >= 2.0.0, < 4.4.50 >= 5.0.0, < 5.4.20 >= 6.0.0, < 6.0.20 >= 6.1.0, < 6.1.12 >= 6.2.0, < 6.2.6 versions 2.0.4, 2.0.5, 2.0.6, 2.0.7, v2.0.10, v2.0.11, v2.0.12, v2.0.13, v2.0.14, v2.0.15, v2.0.16, v2.0.17, v2.0.18, v2.0.19, v2.0.20, v2.0.21, v2.0.22, v2.0.23, v2.0.24, v2.0.25 and 612 more | 4.4.50, 5.4.20, 6.0.20, 6.1.12, 6.2.6 | composer require 'symfony/symfony:>=4.4.50'composer require 'symfony/symfony:>=5.4.20'composer require 'symfony/symfony:>=6.0.20'composer require 'symfony/symfony:>=6.1.12'composer require 'symfony/symfony:>=6.2.6' |
When authenticating users Symfony by default regenerates the session ID upon login, but preserves the rest of session attributes. Because this does not clear CSRF tokens upon login, this might enables same-site attackers to bypass the CSRF protection mechanism by performing an attack similar to a session-fixation.
Symfony removes all CSRF tokens from the session on successful login.
The patch for this issue is available here for branch 4.4.
We would like to thank Marco Squarcina for reporting the issue and Nicolas Grekas for fixing it.
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
EPSS went from 0.008 on 2026-11-24 to 0.009 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.008 | first score | v2026.06.15 |
| 2026-11-26 | 0.009 | 0.008 | v2026.06.15 |