Loading advisory.
Loading advisory.
Symfony's HEAD Request Bypasses methods: ['GET'] Filter in #[IsGranted] / #[IsSignatureValid] / #[IsCsrfTokenValid]
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.
Published 2026-05-27 21:12 UTC · Modified 2026-09-10 03:51 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| symfony/http-kernel | Packagist | >= 7.4.0, < 7.4.12 >= 8.0.0, < 8.0.12 versions v7.4.0, v7.4.1, v7.4.10, v7.4.11, v7.4.2, v7.4.3, v7.4.4, v7.4.5, v7.4.6, v7.4.7, v7.4.8, v8.0.0, v8.0.1, v8.0.10, v8.0.11, v8.0.2, v8.0.3, v8.0.4, v8.0.5, v8.0.6 and 2 more | 7.4.12, 8.0.12 | composer require 'symfony/http-kernel:>=7.4.12'composer require 'symfony/http-kernel:>=8.0.12' |
| symfony/security-http | Packagist | >= 7.4.0, < 7.4.12 >= 8.0.0, < 8.0.12 versions v7.4.0, v7.4.1, v7.4.11, v7.4.3, v7.4.4, v7.4.6, v7.4.8, v7.4.9, v8.0.0, v8.0.1, v8.0.11, v8.0.3, v8.0.4, v8.0.6, v8.0.8, v8.0.9 | 7.4.12, 8.0.12 | composer require 'symfony/security-http:>=7.4.12'composer require 'symfony/security-http:>=8.0.12' |
| symfony/symfony | Packagist | >= 7.4.0, < 7.4.12 >= 8.0.0, < 8.0.12 versions v7.4.0, v7.4.1, v7.4.10, v7.4.11, v7.4.2, v7.4.3, v7.4.4, v7.4.5, v7.4.6, v7.4.7, v7.4.8, v7.4.9, v8.0.0, v8.0.1, v8.0.10, v8.0.11, v8.0.2, v8.0.3, v8.0.4, v8.0.5 and 4 more | 7.4.12, 8.0.12 | composer require 'symfony/symfony:>=7.4.12'composer require 'symfony/symfony:>=8.0.12' |
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.
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.
Symfony would like to thank Claude Mythos Preview (via Project Glasswing) for reporting the issue and Alexandre Daubois for fixing it.
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
One EPSS score on record: 0.004 on 2026-11-24.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.004 | first score | v2026.06.15 |