CVE-2026-45075 — Vulnerability in symfony/symfony — CVE Details
Symfony's HEAD Request Bypasses methods: ['GET'] Filter in #[IsGranted] / #[IsSignatureValid] / #[IsCsrfTokenValid]
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.43%). Schedule for your next planned update.
Does your project use an affected symfony/symfony version?
Paste your composer.lock to check it for CVE-2026-45075 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Description
Symfony's #[IsGranted('...')], #[IsSignatureValid], and #[IsCsrfTokenValid(...)] attributes allow you to define a methods: [...] argument to only enforce these checks for the listed HTTP methods and skip them otherwise. E.g. an attribute defining methods: ['GET'] would be ignored for a HEAD request.
On the other hand, Symfony's router (and HTTP semantics generally) serves HEAD requests using the GET handler. Therefore, a controller protected by e.g. #[IsGranted('ROLE_ADMIN', methods: ['GET'])] can be reached via HEAD with the authorization check silently skipped.
Even if the HEAD request won't get any response content, response headers leak (Content-Length, Location, custom headers). Also, the controller still executes and any side effects (DB writes, state changes) occur.
Resolution
When adding GET in the methods option of these attributes, Symfony now also include the HEAD method automatically.
The patch for this issue is available here for branch 7.4.
Credits
Symfony would like to thank Claude Mythos Preview (via Project Glasswing) for reporting the issue and Alexandre Daubois for fixing it.
Advisory Timeline
- First published May 27, 2026 (184 days ago).
- Last revised September 10, 2026 — 105 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
composer require "symfony/symfony:^8.0.12"
composer require "symfony/symfony:^7.4.12"
composer require "symfony/http-kernel:^8.0.12"
composer require "symfony/security-http:^7.4.12"
composer require "symfony/security-http:^8.0.12"
composer require "symfony/http-kernel:^7.4.12"
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (6)
Affects 1 ecosystem: Packagist (3).
| Package | Fixed In |
|---|---|
| symfony/symfony Packagist · Affected: v8.0.0, v8.0.1, v8.0.10, v8.0.11 (+8 more) | 8.0.12 |
| symfony/symfony Packagist · Affected: v7.4.0, v7.4.1, v7.4.10, v7.4.11 (+8 more) | 7.4.12 |
| symfony/http-kernel Packagist · Affected: v8.0.0, v8.0.1, v8.0.10, v8.0.11 (+7 more) | 8.0.12 |
| symfony/security-http Packagist · Affected: v7.4.0, v7.4.1, v7.4.11, v7.4.3 (+4 more) | 7.4.12 |
| symfony/security-http Packagist · Affected: v8.0.0, v8.0.1, v8.0.11, v8.0.3 (+4 more) | 8.0.12 |
| symfony/http-kernel Packagist · Affected: v7.4.0, v7.4.1, v7.4.10, v7.4.11 (+7 more) | 7.4.12 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-863Incorrect AuthorizationMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 8.1 score means for each attack dimension.
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
References
- https://github.com/symfony/symfony/security/advisories/GHSA-6439-2f28-8p8qWEB
- https://github.com/symfony/symfony/commit/fa8d5c67aa4b22c9656e3fd7d5c3aa59865bf838WEB
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/http-kernel/CVE-2026-45075.yamlWEB
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security-http/CVE-2026-45075.yamlWEB
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2026-45075.yamlWEB
- https://github.com/symfony/symfonyPACKAGE
- https://symfony.com/cve-2026-45075WEB
Frequently Asked Questions
- What is CVE-2026-45075?
- Symfony's HEAD Request Bypasses methods: ['GET'] Filter in #[IsGranted] / #[IsSignatureValid] / #[IsCsrfTokenValid]. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.1/10).
- How do I check if my project is affected by CVE-2026-45075?
- CVE-2026-45075 affects symfony/symfony, symfony/http-kernel and symfony/security-http. It has a 0.4% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-45075 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Significant impact if exploited, or exploitable with modest effort.
This is a below-median EPSS score — only 28.9% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.
Also Known As
Related CVEs
- CVE-2019-18889CRITICAL
Symfony Unsafe Cache Serialization Could Enable RCE
- CVE-2019-10910CRITICAL
Symfony Service IDs Allow Injection
- CVE-2017-11365CRITICAL
Symfony Incorrect Access Control
- CVE-2018-11406HIGH
Symfony CSRF Token Fixation
- CVE-2026-45077HIGH
Symfony has Unauthenticated PHP Object Deserialization in MonologBridge server:log Listener
- CVE-2026-45063HIGH
Symfony Vulnerable to Identity Spoofing via Unanchored DN Regex in X509Authenticator
- CVE-2026-47767MEDIUM
SymfonyRuntime CVE-2024-50340 Patch Bypass: Web Requests Can Still Set APP_ENV/APP_DEBUG via parse_str/SAPI Argv Mismatch
- CVE-2026-48784MEDIUM
Symfony: UrlGenerator Dot-Segment Encoding Skips Every Other Chained `../` or `./` → Generated URL Collapses Off-Route Under RFC 3986 Normalization