Description
Symfony is a PHP framework for web and console applications and a set of reusable PHP components. From 7.1.0 until 7.4.12 and 8.0.12, Cas2Handler builds the CAS service parameter from Request::getSchemeAndHttpHost(), which reflects an attacker-controlled Host header when framework.trusted_hosts is not configured; an attacker controlling another application registered with the same CAS server can replay a victim ticket against the Symfony application and authenticate as the victim. This issue is fixed in versions 7.4.12 and 8.0.12.
Published: 2026-07-14
Score: 7.6 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

From Symfony 7.1.0 up to but not including 7.4.12 and prior to 8.0.12, the Cas2Handler component constructs the CAS service URL by invoking Request::getSchemeAndHttpHost(). This value incorporates the Host header, which an attacker can manipulate when the framework.trusted_hosts setting is not configured. If a separate application registered with the same CAS server accepts tickets, the attacker can send a request with a forged Host header pointing to that application and replay a victim’s CAS ticket against the Symfony application. A successful replay authenticates the attacker using the victim’s credentials, enabling Cross‑Service Ticket Replay. The flaw maps to CWE‑290, reflecting improper authentication. The vulnerability is remedied in Symfony 7.4.12 and 8.0.12.

Affected Systems

The vulnerability affects Symfony components security-http and symfony in releases from 7.1.0 up to but not including 7.4.12 and from 8.0.0 up to but not including 8.0.12. These vulnerable versions are susceptible because Cas2Handler does not validate the Host header against trusted values.

Risk and Exploitability

With a CVSS score of 7.6 the issue is classified as high severity, while the EPSS score of less than 1% indicates a low probability of exploitation currently. The flaw is not listed in CISA’s KEV catalog. An attacker can exploit it by crafting HTTP requests that set a Host header pointing to another application registered with the same CAS server, thereby replaying a victim ticket. The vulnerability is remote and does not require local code execution, but it does require header manipulation and a valid CAS ticket for the target application.

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

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Symfony to the patched versions 7.4.12, 8.0.12, or later as supplied by the vendor, which removes the insecure construction of the service URL.
  • Configure the framework.trusted_hosts setting to include only the legitimate hostnames or patterns for your application, which forces the CAS handler to reject any host header that is not explicitly trusted.
  • If upgrading or setting trusted hosts is not immediately possible, reconfigure your web server or reverse proxy to reject or strip untrusted Host headers before they reach the application.

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

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-j8gj-9rm5-4xhx Symfony's Cas2Handler Derives CAS service URL from Client Host Header → Cross-Service Ticket Replay
History

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

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

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

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Tue, 14 Jul 2026 18:15: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. From 7.1.0 until 7.4.12 and 8.0.12, Cas2Handler builds the CAS service parameter from Request::getSchemeAndHttpHost(), which reflects an attacker-controlled Host header when framework.trusted_hosts is not configured; an attacker controlling another application registered with the same CAS server can replay a victim ticket against the Symfony application and authenticate as the victim. This issue is fixed in versions 7.4.12 and 8.0.12.
Title Symfony: Cas2Handler Derives CAS service URL from Client Host Header → Cross-Service Ticket Replay
Weaknesses CWE-290
References
Metrics cvssV4_0

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


Subscriptions

Symfony Security-http Symfony
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-14T18:24:34.062Z

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

Link: CVE-2026-45074

cve-icon Vulnrichment

Updated: 2026-07-14T18:24:28.019Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-31T06:00:16Z

Weaknesses
  • CWE-290

    Authentication Bypass by Spoofing