# Symfony CSRF Token Fixation

Advisory record · `GHSA-g4g7-q726-v5hg`

- **Identifiers:** `GHSA-g4g7-q726-v5hg` · `CVE-2018-11406` · `PKSA-3grm-n326-q5z3` · `PKSA-4896-hty4-6d37` · `PKSA-4cs6-1fmm-cwn2` · `PKSA-894f-kqgr-2n7p` · `PKSA-f442-tkzt-592s`
- **State:** Confirmed
- **Severity:** CVSS 8.8 High
- **Critical:** No
- **Weakness (CWE):** [CWE-352](https://cwe.mitre.org/data/definitions/352.html)
- **Tags:** [Cross-site request forgery (CSRF)](https://agentprime.io/advisories/tag/csrf.md)
- **Published:** 14 May 2022
- **Updated:** 18 Feb 2024
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 14 May 2022, 01:14 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `symfony/symfony` (Packagist): affected `>=2.7.0, <2.7.48 || >=2.8.0, <2.8.41 || >=3.0.0, <3.3.17 || >=3.4.0, <3.4.11 || >=4.0.0, <4.0.11`; fixed in `2.7.48`, `2.8.41`, `3.3.17`, `3.4.11`, `4.0.11`
- `symfony/security-bundle` (Packagist): affected `>=2.7.0, <2.7.48 || >=2.8.0, <2.8.41 || >=3.0.0, <3.3.17 || >=3.4.0, <3.4.11 || >=4.0.0, <4.0.11`; fixed in `2.7.48`, `2.8.41`, `3.3.17`, `3.4.11`, `4.0.11`
- `symfony/security-http` (Packagist): affected `>=2.7.0, <2.7.48 || >=2.8.0, <2.8.41 || >=3.0.0, <3.3.17 || >=3.4.0, <3.4.11 || >=4.0.0, <4.0.11`; fixed in `2.7.48`, `2.8.41`, `3.3.17`, `3.4.11`, `4.0.11`
- `symfony/security` (Packagist): affected `>=2.7.0, <2.7.48 || >=2.8.0, <2.8.41 || >=3.0.0, <3.3.17 || >=3.4.0, <3.4.11 || >=4.0.0, <4.0.11`; fixed in `2.7.48`, `2.8.41`, `3.3.17`, `3.4.11`, `4.0.11`

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 8.8 High, CVSS 3.0: `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`, from GitHub Advisory Database

- **CISA KEV:** Not listed.
- **EPSS:** 0.0075, the 55th percentile, on 18 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 14:30 UTC: First seen by agentprime
- 31 Oct 2026, 14:30 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-g4g7-q726-v5hg)

## Sources

- [GitHub Advisory Database: GHSA-g4g7-q726-v5hg](https://github.com/advisories/GHSA-g4g7-q726-v5hg)
- [OSV: GHSA-g4g7-q726-v5hg](https://osv.dev/vulnerability/GHSA-g4g7-q726-v5hg)
- <https://nvd.nist.gov/vuln/detail/CVE-2018-11406>
- <https://github.com/symfony/symfony/commit/319e1bdd43979d9c1559497de8d69adea28ab8d1>
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security-bundle/CVE-2018-11406.yaml>
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security-http/CVE-2018-11406.yaml>
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security/CVE-2018-11406.yaml>
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2018-11406.yaml>
- <https://github.com/symfony/symfony>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/G4XNBMFW33H47O5TZGA7JYCVLDBCXAJV>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UBQK7JDXIELADIPGZIOUCZKMAJM5LSBW>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WU5N2TZFNGXDGMXMPP7LZCWTFLENF6WH>
- <https://symfony.com/blog/cve-2018-11406-csrf-token-fixation>
- <https://symfony.com/cve-2018-11406>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-g4g7-q726-v5hg>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-g4g7-q726-v5hg/>. Everything for agents: <https://agentprime.io/llms.txt>.
