Read the docs
TI-2022-08705 Aliases CVE-2022-24895GHSA-3gv2-29qc-v67m

Symfony vulnerable to Session Fixation of CSRF tokens

Priority LOW 39CWE-384Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Spoofing, Security bypass
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-384 and CWE-613.

Summary

Symfony is a PHP framework for web and console applications and a set of reusable PHP components. 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. This issue has been fixed in the 4.4 branch.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.0079 56th percentileScored 2026-11-07
Fix Fixed symfony (symfony): 4.4.50, 5.4.20, 6.0.20 +2symfony/security-bundle (Packagist): 4.4.50, 5.4.20, 6.0.20 +2+1 more product

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
symfonysymfony2.0.0 to before 4.4.50; 5.0.0 to before 5.4.20; 6.0.0 to before 6.0.20; 6.1.0 to before 6.1.12; 6.2.0 to before 6.2.64.4.50, 5.4.20, 6.0.20, 6.1.12, 6.2.6Patch availableCNA
—symfony/security-bundle (Packagist)2.0.0 to before 4.4.504.4.50Patch availableGHSA-3gv2-29qc-v67m
—symfony/security-bundle (Packagist)5.0.0 to before 5.4.205.4.20Patch availableGHSA-3gv2-29qc-v67m
—symfony/security-bundle (Packagist)6.0.0 to before 6.0.206.0.20Patch availableGHSA-3gv2-29qc-v67m
—symfony/security-bundle (Packagist)6.1.0 to before 6.1.126.1.12Patch availableGHSA-3gv2-29qc-v67m
—symfony/security-bundle (Packagist)6.2.0 to before 6.2.66.2.6Patch availableGHSA-3gv2-29qc-v67m
—symfony/symfony (Packagist)2.0.0 to before 4.4.504.4.50Patch availableGHSA-3gv2-29qc-v67m
—symfony/symfony (Packagist)5.0.0 to before 5.4.205.4.20Patch availableGHSA-3gv2-29qc-v67m
—symfony/symfony (Packagist)6.0.0 to before 6.0.206.0.20Patch availableGHSA-3gv2-29qc-v67m
—symfony/symfony (Packagist)6.1.0 to before 6.1.126.1.12Patch availableGHSA-3gv2-29qc-v67m
—symfony/symfony (Packagist)6.2.0 to before 6.2.66.2.6Patch availableGHSA-3gv2-29qc-v67m
  • symfony Vendorsymfony Affected 2.0.0 to before 4.4.50; 5.0.0 to before 5.4.20; 6.0.0 to before 6.0.20; 6.1.0 to before 6.1.12; 6.2.0 to before 6.2.6 Fixed in 4.4.50, 5.4.20, 6.0.20, 6.1.12, 6.2.6 Patch available CNA
  • symfony/security-bundle (Packagist) Vendor— Affected 2.0.0 to before 4.4.50 Fixed in 4.4.50 Patch available GHSA-3gv2-29qc-v67m
  • symfony/security-bundle (Packagist) Vendor— Affected 5.0.0 to before 5.4.20 Fixed in 5.4.20 Patch available GHSA-3gv2-29qc-v67m
  • symfony/security-bundle (Packagist) Vendor— Affected 6.0.0 to before 6.0.20 Fixed in 6.0.20 Patch available GHSA-3gv2-29qc-v67m
  • symfony/security-bundle (Packagist) Vendor— Affected 6.1.0 to before 6.1.12 Fixed in 6.1.12 Patch available GHSA-3gv2-29qc-v67m
  • symfony/security-bundle (Packagist) Vendor— Affected 6.2.0 to before 6.2.6 Fixed in 6.2.6 Patch available GHSA-3gv2-29qc-v67m
  • symfony/symfony (Packagist) Vendor— Affected 2.0.0 to before 4.4.50 Fixed in 4.4.50 Patch available GHSA-3gv2-29qc-v67m
  • symfony/symfony (Packagist) Vendor— Affected 5.0.0 to before 5.4.20 Fixed in 5.4.20 Patch available GHSA-3gv2-29qc-v67m
  • symfony/symfony (Packagist) Vendor— Affected 6.0.0 to before 6.0.20 Fixed in 6.0.20 Patch available GHSA-3gv2-29qc-v67m
  • symfony/symfony (Packagist) Vendor— Affected 6.1.0 to before 6.1.12 Fixed in 6.1.12 Patch available GHSA-3gv2-29qc-v67m
  • symfony/symfony (Packagist) Vendor— Affected 6.2.0 to before 6.2.6 Fixed in 6.2.6 Patch available GHSA-3gv2-29qc-v67m

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*2.0.0 to before 4.4.50; 5.0.0 to before 5.4.20; 6.0.0 to before 6.0.20; 6.1.0 to before 6.1.12; 6.2.0 to before 6.2.6Vulnerablesensiolabs
  • cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:* Versions 2.0.0 to before 4.4.50; 5.0.0 to before 5.4.20; 6.0.0 to before 6.0.20; 6.1.0 to before 6.1.12; 6.2.0 to before 6.2.6 Vulnerable ·sensiolabs

Remediation

  • Fix · CNA symfony (symfony) Fixed in 4.4.50, 5.4.20, 6.0.20, 6.1.12, 6.2.6
  • Fix · GHSA-3gv2-29qc-v67m symfony/security-bundle (Packagist) Fixed in 4.4.50 Advisory →
  • Fix · GHSA-3gv2-29qc-v67m symfony/security-bundle (Packagist) Fixed in 5.4.20 Advisory →
  • Fix · GHSA-3gv2-29qc-v67m symfony/security-bundle (Packagist) Fixed in 6.0.20 Advisory →
  • Fix · GHSA-3gv2-29qc-v67m symfony/security-bundle (Packagist) Fixed in 6.1.12 Advisory →
  • Fix · GHSA-3gv2-29qc-v67m symfony/security-bundle (Packagist) Fixed in 6.2.6 Advisory →
  • Fix · GHSA-3gv2-29qc-v67m symfony/symfony (Packagist) Fixed in 4.4.50 Advisory →
  • Fix · GHSA-3gv2-29qc-v67m symfony/symfony (Packagist) Fixed in 5.4.20 Advisory →
  • Fix · GHSA-3gv2-29qc-v67m symfony/symfony (Packagist) Fixed in 6.0.20 Advisory →
  • Fix · GHSA-3gv2-29qc-v67m symfony/symfony (Packagist) Fixed in 6.1.12 Advisory →
  • Fix · GHSA-3gv2-29qc-v67m symfony/symfony (Packagist) Fixed in 6.2.6 Advisory →

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-02 Threatist record created from CVE-2022-24895
  2. 2026-10-03 Alias added: GHSA-3gv2-29qc-v67m

References

  • TI-2024-33775 Ability to change environment from query in symfony/runtime CVSS 3.1HIGH 7.3
  • TI-2026-34283 Twig: The `spaceless` filter implicitly marks its output as safe CVSS 4.0MEDIUM 5.1
  • TI-2022-07667 Code injection in Twig CVSS 3.1CRITICAL 9.8
  • TI-2018-10028 Twig before 2.4.4 allows Server-Side Template Injection (SSTI) via the search search_key… CVSS 3.0CRITICAL 9.8
  • TI-2026-35851 Incorrect authorization in symfony CVSS 4.0HIGH 8.7
  • TI-2026-35264 Improper input validation in symfony CVSS 4.0HIGH 8.3
See all 94 →

Sources