CVE-2026-45074Symfony: Cas2Handler Derives CAS service URL from Client Host Header → Cross-Service…
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.
What to do
Fixed builds are available from Debian, Packagist: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | symfony | Fix pending | UBUNTU-CVE-2026-45074 | |
| Ubuntu 26.04 | symfony | Under investigation | UBUNTU-CVE-2026-45074 | |
| Ubuntu 25.10 | symfony | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-45074 | |
| Ubuntu 24.04 | symfony | Fix pending | UBUNTU-CVE-2026-45074 | |
| Ubuntu 22.04 | symfony | Fix pending | UBUNTU-CVE-2026-45074 | |
| Ubuntu 20.04 | symfony | Fix pending | UBUNTU-CVE-2026-45074 | |
| Ubuntu 18.04 | symfony | Fix pending | UBUNTU-CVE-2026-45074 | |
| Ubuntu 16.04 | symfony | Fix pending | UBUNTU-CVE-2026-45074 | |
| Debian 14 | symfony | Fixed | 7.4.12+dfsg-1 | DEBIAN-CVE-2026-45074 |
| Packagist library | symfony/security-http | Fixed | 8.0.12 | GHSA-j8gj-9rm5-4xhx |
| Packagist library | symfony/symfony | Fixed | 7.4.12 | GHSA-j8gj-9rm5-4xhx |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- symfony: affected: >= 7.1.0-BETA1, < 7.4.12, >= 8.0.0-BETA1, < 8.0.12
- symfony security-http: affected: >= 7.1.0-BETA1, < 7.4.12, >= 8.0.0-BETA1, < 8.0.12
References
- https://github.com/symfony/symfony/security/advisories/GHSA-j8gj-9rm5-4xhx
- https://github.com/symfony/symfony/commit/5ba145dba702404801bdf9e7e8d6df170060d541
- https://github.com/symfony/symfony/releases/tag/v7.4.12
- https://github.com/symfony/symfony/releases/tag/v8.0.12
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.