What’s Vulnerable › Vulnerabilities

CVE-2026-45075: Symfony: HEAD Request Bypasses methods: ['GET'] Filter in #[IsGranted] / #[IsSignatureValid] / #[IsCsrfTokenValid]

Description

Symfony is a PHP framework for web and console applications and a set of reusable PHP components. Prior to 7.4.12 and 8.0.12, method-scoped #[IsGranted], #[IsSignatureValid], and #[IsCsrfTokenValid] attributes can be configured for GET only, but Symfony routes HEAD requests to the GET handler while the attribute check is skipped, allowing protected controllers to execute and leak headers or perform side effects. This issue is fixed in versions 7.4.12 and 8.0.12.

Affected products

How to fix

Upgrade to a fixed version: symfony 7.4.12, 8.0.12. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-45075 or the next vulnerability affects your stack