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.
Published: 2026-07-14
Score: 8.3 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Symfony is a PHP framework for web and console applications, and a set of reusable PHP components. In earlier than versions 7.4.12 and 8.0.12, attributes such as #[IsGranted], #[IsSignatureValid], and #[IsCsrfTokenValid] can be restricted to the GET HTTP method. However, Symfony routes HEAD requests to the same GET handler and deliberately skips the attribute checks, allowing requests to bypass authorization, CSRF validation, or signature verification. As a result, protected controller logic may execute, leaking response headers or performing unintended actions. This omission constitutes a method‑request mismatch (CWE‑863).

Affected Systems

The vulnerability affects any Symfony application that uses the http-kernel, security-http, or core Symfony libraries with a version earlier than 7.4.12 or 8.0.12. Projects that protect routes by applying GET‑only attributes to controllers are susceptible until they upgrade to a patched release.

Risk and Exploitability

The CVSS score of 8.3 indicates a high severity impact. The EPSS score is below 1%, suggesting that public exploitation is unlikely at present, and the vulnerability is not listed in the CISA KEV catalog. Based on the description, it is inferred that an attacker can exploit the flaw by sending a crafted HEAD request to any protected route, thereby bypassing security checks and triggering controller logic without authentication or special permissions.

Generated by OpenCVE AI on July 31, 2026 at 05:44 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Symfony to version 7.4.12 or 8.0.12 or later, which enforces method checks for the affected attributes.
  • If an upgrade is not immediately feasible, configure the web server or Symfony firewall to reject or deny HEAD requests to routes guarded by these attributes.
  • Add custom middleware or event listener to inspect the request method and block or redirect HEAD requests to protected routes before attribute checks are performed.

Generated by OpenCVE AI on July 31, 2026 at 05:44 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-6439-2f28-8p8q Symfony's HEAD Request Bypasses methods: ['GET'] Filter in #[IsGranted] / #[IsSignatureValid] / #[IsCsrfTokenValid]
History

Mon, 27 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
First Time appeared Symfony
Symfony http-kernel
Symfony security-http
Symfony symfony
Vendors & Products Symfony
Symfony http-kernel
Symfony security-http
Symfony symfony

Thu, 16 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 14 Jul 2026 19:00:00 +0000

Type Values Removed Values Added
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.
Title Symfony: HEAD Request Bypasses methods: ['GET'] Filter in #[IsGranted] / #[IsSignatureValid] / #[IsCsrfTokenValid]
Weaknesses CWE-863
References
Metrics cvssV4_0

{'score': 8.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N'}


Subscriptions

Symfony Http-kernel Security-http Symfony
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-16T14:38:19.284Z

Reserved: 2026-05-08T18:45:10.096Z

Link: CVE-2026-45075

cve-icon Vulnrichment

Updated: 2026-07-16T14:38:15.554Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-31T05:45:03Z

Weaknesses