Skip to content
Heist/ feed
Back to feed
High

Symfony: Cas2Handler Derives CAS service URL from Client Host Header → Cross-Service Ticket Replay

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-45074
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 03:24 UTC · Revision 1

Source evidence

Symfony: Cas2Handler Derives CAS service URL from Client Host Header → Cross-Service Ticket Replay

core-osv · Original source

Published 14 Jul 2026, 17:49 UTC

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.

osv:CVE-2026-45074
Complete source record
{
  "id": "da103b748a4d5fc459566eba0d85b478b83968a9d7e9e632975f5ecd5a512e0e",
  "url": "https://osv.dev/vulnerability/CVE-2026-45074",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Symfony: Cas2Handler Derives CAS service URL from Client Host Header → Cross-Service Ticket Replay",
    "summary": "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.",
    "evidence": "osv:CVE-2026-45074",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-45074",
      "aliases": [
        "CVE-2026-45074",
        "GHSA-j8gj-9rm5-4xhx"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/symfony/security-http",
              "type": "GIT",
              "events": [
                {
                  "introduced": "e8637cdef1b58a27878694e1b79ef8bf1b924b4c"
                },
                {
                  "fixed": "1fc7ca636cbd2cad29b42cc13c9fd0c681c6efee"
                },
                {
                  "introduced": "bea6dc79db4d95c34b77ec27273d812aa64d65be"
                },
                {
                  "fixed": "d776945b2dc41c0e609c56c1ef69863ab56856ed"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "7.1.0"
                      },
                      {
                        "fixed": "7.4.12"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "8.0.0"
                      },
                      {
                        "fixed": "8.0.12"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            },
            {
              "repo": "https://github.com/symfony/symfony",
              "type": "GIT",
              "events": [
                {
                  "introduced": "08964d6da4787cd5f19e60f8aaf41ffd26d6c8c3"
                },
                {
                  "fixed": "275f5cbccbcc50205206f05e599c4f57009aadb8"
                },
                {
                  "introduced": "2e913a829cfbbf9cb38b321bdff1806b44b192eb"
                },
                {
                  "fixed": "06d3b2c9a8aeb5d8493738cc51e24f6a1215827c"
                },
                {
                  "fixed": "5ba145dba702404801bdf9e7e8d6df170060d541"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "7.1.0"
                      },
                      {
                        "fixed": "7.4.12"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "8.0.0"
                      },
                      {
                        "fixed": "8.0.12"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "5ba145dba702404801bdf9e7e8d6df170060d541"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "275f5cbccbcc50205206f05e599c4f57009aadb8"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v7.4.12"
                  },
                  {
                    "range": [
                      {
                        "fixed": "06d3b2c9a8aeb5d8493738cc51e24f6a1215827c"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v8.0.12"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v8.0.11",
            "v7.4.11",
            "v7.4.0-BETA1",
            "v8.0.9",
            "v7.4.9",
            "v8.0.8",
            "v7.4.8",
            "v8.0.6",
            "v7.4.6",
            "v8.0.4",
            "v7.4.4",
            "v8.0.3",
            "v7.4.3",
            "v8.0.1",
            "v7.4.1",
            "v7.4.0",
            "v8.0.0",
            "v7.4.0-RC2",
            "v7.4.0-RC1",
            "v7.3.0",
            "v7.3.0-RC1",
            "v7.3.0-BETA2",
            "v7.3.0-BETA1",
            "v7.2.1",
            "v7.2.0-RC1",
            "v7.2.0",
            "v7.2.0-BETA2",
            "v7.2.0-BETA1",
            "v7.1.0-RC1",
            "v7.1.0",
            "v8.0.10",
            "v8.0.7",
            "v8.0.5",
            "v8.0.2"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-45074.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:25.512917091Z",
      "provider": "osv",
      "references": [
        "https://github.com/symfony/symfony/releases/tag/v7.4.12",
        "https://github.com/symfony/symfony/releases/tag/v8.0.12",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45074.json",
        "https://github.com/symfony/symfony/security/advisories/GHSA-j8gj-9rm5-4xhx",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-45074",
        "https://github.com/symfony/symfony/commit/5ba145dba702404801bdf9e7e8d6df170060d541"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-290"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45074.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-45074",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 492176,
  "published_at": "2026-07-14T17:49:24.895+00:00"
}