7.6high
Symfony: Cas2Handler Derives CAS service URL from Client Host Header → Cross-Service Ticket Replay
- Severity
- 7.6high CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.41% (higher than 37% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-j8gj-9rm5-4xhx
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| symfony symfony | >= 7.1.0-BETA1, < 7.4.12, >= 8.0.0-BETA1, < 8.0.12 | CVE List |
| symfony security-http | >= 7.1.0-BETA1, < 7.4.12, >= 8.0.0-BETA1, < 8.0.12 | CVE List |
| symfony/security-http (Packagist) | from 7.1.0 before 7.4.12, from 8.0.0 before 8.0.12 | GitHub Advisory Database |
| symfony/symfony (Packagist) | from 7.1.0 before 7.4.12, from 8.0.0 before 8.0.12 | GitHub Advisory Database |
| sensiolabs symfony | from 7.1.0 before 7.4.12, from 8.0.0 before 8.0.12 | NVD |
All scores
| GitHub_M | 7.6high CVSS:4.0 | 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 |
| GitHub | medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:U |
| NVD | 8.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
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.
GitHub Advisory Database
Cas2Handler builds this service parameter from Request::getSchemeAndHttpHost(), which reflects the attacker-controlled HTTP Host header whenever Symfony's framework.trusted_hosts setting is not configured (the default). An attacker who controls any other application registered with the same CAS server can replay a victim's ticket against the Symfony application, with a spoofed Host header, and be authenticated as that victim.
Resolution
A new required service_url configuration option is introduced on Cas2Handler. The CAS service parameter sent to the validation endpoint is now built from this configured URL instead of being derived from the request's Host header, preventing cross-service ticket replay via Host header spoofing.
The patch for this issue is available here for branch 7.4.
Credits
Symfony would like to thank Claude Mythos Preview (via Project Glasswing) for reporting the issue and Nicolas Grekas for providing the fix.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-45074 changed 2026-07-14 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-j8gj-9rm5-4xhx changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2026-45074 changed 2026-07-15 | Public domain |