CVEBrief

Home / symfony / symfony / CVE-2022-24895

CVE-2022-24895: is it exploited, and which versions of symfony are affected and fixed?

CVE-2022-24895 is a session fixation vulnerability in symfony. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 11:38 UTC). Affected: symfony/security-bundle from 2.0.0 before 4.4.50, symfony/security-bundle from 5.0.0 before 5.4.20, symfony/security-bundle from 6.0.0 before 6.0.20 and 7 more (GitHub advisory GHSA-3gv2-29qc-v67m). Fixed in 4.4.50, 5.4.20, 6.0.20, 6.1.12 and 1 more (GitHub advisory GHSA-3gv2-29qc-v67m). Severity: Medium (6.3, CVSS 3.1, from GitHub_M).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:38 UTC, CVE record November 19, 2026, 07:14 UTC and NVD November 19, 2026, 07:41 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 11:38 UTC
Affected
symfony/security-bundle from 2.0.0 before 4.4.50, symfony/security-bundle from 5.0.0 before 5.4.20, symfony/security-bundle from 6.0.0 before 6.0.20 and 7 more
GitHub advisory GHSA-3gv2-29qc-v67m
Fixed in
4.4.50, 5.4.20, 6.0.20, 6.1.12 and 1 more
GitHub advisory GHSA-3gv2-29qc-v67m
Severity
Medium 6.3
CVSS 3.1 from GitHub_M
Exploit odds (EPSS)
0.81% in 30 days
higher than 58% of CVEs; FIRST, December 2, 2026

What is CVE-2022-24895?

Symfony vulnerable to Session Fixation of CSRF tokens

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.

From the CVE record by GitHub_M, last updated March 10, 2025, 21:16 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
symfonysymfony>= 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

As the CVE record by GitHub_M states it, last updated March 10, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which packages are affected, and in which version is each fixed?

EcosystemPackageAffectedFixed inAdvisory
Packagistsymfony/security-bundle>= 2.0.0, < 4.4.504.4.50GHSA-3gv2-29qc-v67m
Packagistsymfony/security-bundle>= 5.0.0, < 5.4.205.4.20GHSA-3gv2-29qc-v67m
Packagistsymfony/security-bundle>= 6.0.0, < 6.0.206.0.20GHSA-3gv2-29qc-v67m
Packagistsymfony/security-bundle>= 6.1.0, < 6.1.126.1.12GHSA-3gv2-29qc-v67m
Packagistsymfony/security-bundle>= 6.2.0, < 6.2.66.2.6GHSA-3gv2-29qc-v67m
Packagistsymfony/symfony>= 2.0.0, < 4.4.504.4.50GHSA-3gv2-29qc-v67m
Packagistsymfony/symfony>= 5.0.0, < 5.4.205.4.20GHSA-3gv2-29qc-v67m
Packagistsymfony/symfony>= 6.0.0, < 6.0.206.0.20GHSA-3gv2-29qc-v67m
Packagistsymfony/symfony>= 6.1.0, < 6.1.126.1.12GHSA-3gv2-29qc-v67m
Packagistsymfony/symfony>= 6.2.0, < 6.2.66.2.6GHSA-3gv2-29qc-v67m

GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated February 13, 2025. Summary: Symfony vulnerable to Session Fixation of CSRF tokens.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
sensiolabssymfonyfrom 2.0.0 before 4.4.50application
sensiolabssymfonyfrom 5.0.0 before 5.4.20application
sensiolabssymfonyfrom 6.0.0 before 6.0.20application
sensiolabssymfonyfrom 6.1.0 before 6.1.12application
sensiolabssymfonyfrom 6.2.0 before 6.2.6application

NVD analysis (status Modified), last modified June 17, 2026, 04:32 UTC.

How severe is CVE-2022-24895?

ScoreVersionVectorSource
Medium 6.3CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:LGitHub_M
High 8.8CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HNVD

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2022-24895 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: none; automatable: no; technical impact: partial (CISA ADP, March 10, 2025)
EPSS
0.81% probability of exploitation activity in the next 30 days, percentile 58.2 (FIRST EPSS, scores of December 2, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
February 10, 2022
Published
February 3, 2023, 21:45 UTC
CVE record updated
March 10, 2025, 21:16 UTC by GitHub_M
NVD
Modified, last modified June 17, 2026, 04:32 UTC
Last checked
CVE list November 19, 2026, 07:14 UTC; NVD November 19, 2026, 07:41 UTC; KEV December 3, 2026, 11:38 UTC; EPSS December 2, 2026
Official record
cve.org · NVD

What other CVEs affect symfony?

Every CVE in symfony

Questions about CVE-2022-24895

Is CVE-2022-24895 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 11:38 UTC. FIRST's EPSS gives it a 0.81% chance of exploitation activity in the next 30 days (scores of December 2, 2026).

Which versions of symfony are affected by CVE-2022-24895?

symfony/security-bundle from 2.0.0 before 4.4.50, symfony/security-bundle from 5.0.0 before 5.4.20, symfony/security-bundle from 6.0.0 before 6.0.20, symfony/security-bundle from 6.1.0 before 6.1.12, symfony/security-bundle from 6.2.0 before 6.2.6, symfony/symfony from 2.0.0 before 4.4.50 and 4 more, per the GitHub advisory GHSA-3gv2-29qc-v67m. The tables above give every range the sources list.

Which version fixes CVE-2022-24895?

4.4.50, 5.4.20, 6.0.20, 6.1.12 and 6.2.6, per the GitHub advisory GHSA-3gv2-29qc-v67m. Check the vendor's advisory before you rely on it.

How severe is CVE-2022-24895?

Medium (6.3, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.

Where is the official record of CVE-2022-24895?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.