CVE-2018-11406
HIGH 8.8CVSS 3.0Symfony CSRF Token Fixation
An issue was discovered in the Security component in Symfony 2.7.x before 2.7.48, 2.8.x before 2.8.41, 3.3.x before 3.3.17, 3.4.x before 3.4.11, and 4.0.x before 4.0.11. By default, a user's session is invalidated when the user is logged out. This behavior can be disabled through the invalidate_session option. In this case, CSRF tokens were not erased during logout which allowed for CSRF token fixation.
- Published
- 13 Jun 2018
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-352
- Also known as
- GHSA-g4g7-q726-v5hg
- Sources
- NVDJSONOSV GHSA-g4g7-q726-v5hgJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | HIGH 8.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.0 | HIGH 8.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | sensiolabs | symfonycpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:* |
>= 2.7.0, < 2.7.48 | 2.7.48 |
| NVD | sensiolabs | symfonycpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:* |
>= 2.8.0, < 2.8.41 | 2.8.41 |
| NVD | sensiolabs | symfonycpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:* |
>= 3.3.0, < 3.3.17 | 3.3.17 |
| NVD | sensiolabs | symfonycpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:* |
>= 3.4.0, < 3.4.11 | 3.4.11 |
| NVD | sensiolabs | symfonycpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:* |
>= 4.0.0, < 4.0.11 | 4.0.11 |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* |
= 9.0 | |
| OSV | Packagist | symfony/symfony | >= 2.7.0, < 2.7.48 | 2.7.48 |
| OSV | Packagist | symfony/symfony | >= 2.8.0, < 2.8.41 | 2.8.41 |
| OSV | Packagist | symfony/symfony | >= 3.0.0, < 3.3.17 | 3.3.17 |
| OSV | Packagist | symfony/symfony | >= 3.4.0, < 3.4.11 | 3.4.11 |
| OSV | Packagist | symfony/symfony | >= 4.0.0, < 4.0.11 | 4.0.11 |
| OSV | Packagist | symfony/security-bundle | >= 2.7.0, < 2.7.48 | 2.7.48 |
| OSV | Packagist | symfony/security-bundle | >= 2.8.0, < 2.8.41 | 2.8.41 |
| OSV | Packagist | symfony/security-bundle | >= 3.0.0, < 3.3.17 | 3.3.17 |
| OSV | Packagist | symfony/security-bundle | >= 3.4.0, < 3.4.11 | 3.4.11 |
| OSV | Packagist | symfony/security-bundle | >= 4.0.0, < 4.0.11 | 4.0.11 |
| OSV | Packagist | symfony/security-http | >= 2.7.0, < 2.7.48 | 2.7.48 |
| OSV | Packagist | symfony/security-http | >= 2.8.0, < 2.8.41 | 2.8.41 |
| OSV | Packagist | symfony/security-http | >= 3.0.0, < 3.3.17 | 3.3.17 |
| OSV | Packagist | symfony/security-http | >= 3.4.0, < 3.4.11 | 3.4.11 |
| OSV | Packagist | symfony/security-http | >= 4.0.0, < 4.0.11 | 4.0.11 |
| OSV | Packagist | symfony/security | >= 2.7.0, < 2.7.48 | 2.7.48 |
| OSV | Packagist | symfony/security | >= 2.8.0, < 2.8.41 | 2.8.41 |
| OSV | Packagist | symfony/security | >= 3.0.0, < 3.3.17 | 3.3.17 |
| OSV | Packagist | symfony/security | >= 3.4.0, < 3.4.11 | 3.4.11 |
| OSV | Packagist | symfony/security | >= 4.0.0, < 4.0.11 | 4.0.11 |
References
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/G4XNBMFW33H47O5TZGA7JYCVLDBCXAJV/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UBQK7JDXIELADIPGZIOUCZKMAJM5LSBW/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WU5N2TZFNGXDGMXMPP7LZCWTFLENF6WH/
- https://symfony.com/blog/cve-2018-11406-csrf-token-fixation · Vendor Advisory, WEB
- https://www.debian.org/security/2018/dsa-4262 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2018-11406 · ADVISORY
- https://github.com/symfony/symfony/commit/319e1bdd43979d9c1559497de8d69adea28ab8d1 · WEB
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security-bundle/CVE-2018-11406.yaml · WEB
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security-http/CVE-2018-11406.yaml · WEB
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security/CVE-2018-11406.yaml · WEB
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2018-11406.yaml · WEB
- https://github.com/symfony/symfony · PACKAGE
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/G4XNBMFW33H47O5TZGA7JYCVLDBCXAJV · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UBQK7JDXIELADIPGZIOUCZKMAJM5LSBW · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WU5N2TZFNGXDGMXMPP7LZCWTFLENF6WH · WEB
- https://symfony.com/cve-2018-11406 · WEB
History
- 25 Nov 2026 20:21 UTC · NVD: first stored (published 13 Jun 2018)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 14 May 2022)