Skip to content
Heist/ feed
Back to feed
High

SimpleSAMLphp SAML2: Possible DoS via XPath Transform

Type: advisorySources: OSV

The SimpleSAMLphp SAML2 library is a PHP library for SAML2 related functionality. In 4.19.2 and 4.20.2, the library permits attacker-controlled XPath transforms while processing XML signatures in specially crafted SAML messages. XPath evaluation can consume uncontrolled processing resources, allowing a remote unauthenticated attacker to deny service to any entity relying on SimpleSAMLphp or directly on the SAML2 library. The mitigation limits the number of transforms, permits only transform algorithms identified by the SAML 2.0 Core specification, and specifically rejects XPath transforms. This issue is fixed in versions 4.19.3 and 4.20.3.

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

Source evidence

SimpleSAMLphp SAML2: Possible DoS via XPath Transform

core-osv · Original source

Published 19 Aug 2026, 14:48 UTC

The SimpleSAMLphp SAML2 library is a PHP library for SAML2 related functionality. In 4.19.2 and 4.20.2, the library permits attacker-controlled XPath transforms while processing XML signatures in specially crafted SAML messages. XPath evaluation can consume uncontrolled processing resources, allowing a remote unauthenticated attacker to deny service to any entity relying on SimpleSAMLphp or directly on the SAML2 library. The mitigation limits the number of transforms, permits only transform algorithms identified by the SAML 2.0 Core specification, and specifically rejects XPath transforms. This issue is fixed in versions 4.19.3 and 4.20.3.

osv:CVE-2026-49289
Complete source record
{
  "id": "9c8b8b5889f7350475f6d47efbbddf64656d64cc27820c76c7500fb4e588d7af",
  "url": "https://osv.dev/vulnerability/CVE-2026-49289",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "SimpleSAMLphp SAML2: Possible DoS via XPath Transform",
    "summary": "The SimpleSAMLphp SAML2 library is a PHP library for SAML2 related functionality. In 4.19.2 and 4.20.2, the library permits attacker-controlled XPath transforms while processing XML signatures in specially crafted SAML messages. XPath evaluation can consume uncontrolled processing resources, allowing a remote unauthenticated attacker to deny service to any entity relying on SimpleSAMLphp or directly on the SAML2 library. The mitigation limits the number of transforms, permits only transform algorithms identified by the SAML 2.0 Core specification, and specifically rejects XPath transforms. This issue is fixed in versions 4.19.3 and 4.20.3.",
    "evidence": "osv:CVE-2026-49289",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-49289",
      "aliases": [
        "CVE-2026-49289",
        "GHSA-5cjr-mxj5-wmrx"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/simplesamlphp/saml2",
              "type": "GIT",
              "events": [
                {
                  "introduced": "93df4bffc052939e74ec0c1208e66cbd7eb2a1b2"
                },
                {
                  "fixed": "d5c213132ef671c0018a11252322034dbddd735a"
                },
                {
                  "introduced": "8e76ef75ce44015f336a6a905e08a0d17616a0e2"
                },
                {
                  "fixed": "dfaa73a8293bf274be4c64c7fe8dcc048642e354"
                },
                {
                  "fixed": "0043033891fdba9618386ab583e1d8afdf8aea6e"
                },
                {
                  "fixed": "6695eb923da491f716009c2a26b34a463ac05c6b"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "4.19.2"
                      },
                      {
                        "fixed": "4.19.3"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "introduced": "4.20.2"
                      },
                      {
                        "fixed": "4.20.3"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "0043033891fdba9618386ab583e1d8afdf8aea6e"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "6695eb923da491f716009c2a26b34a463ac05c6b"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v4.19.2",
            "v4.20.2"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-49289.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:26.273440870Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/49xxx/CVE-2026-49289.json",
        "https://github.com/simplesamlphp/saml2/security/advisories/GHSA-5cjr-mxj5-wmrx",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-49289",
        "https://github.com/simplesamlphp/saml2/commit/0043033891fdba9618386ab583e1d8afdf8aea6e",
        "https://github.com/simplesamlphp/saml2/commit/6695eb923da491f716009c2a26b34a463ac05c6b"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-400"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/49xxx/CVE-2026-49289.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-49289",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 492936,
  "published_at": "2026-08-19T14:48:52.694+00:00"
}