Incorrect authorization in Symfony - CVE-2026-45075
Published: May 21, 2026
Symfony
Detailed vulnerability description
The vulnerability allows a remote attacker to bypass authorization checks and trigger unintended controller actions.
The vulnerability exists due to improper access control in #[IsGranted], #[IsSignatureValid], and #[IsCsrfTokenValid] attribute method filtering when handling HEAD requests for controllers restricted to GET. A remote attacker can send a HEAD request to bypass authorization checks and trigger unintended controller actions.
Although the response body is not returned for HEAD requests, response headers may still be disclosed and controller side effects may still occur.