Advisory

GHSA-5cjr-mxj5-wmrx

Also known as: CVE-2026-49289

Summary

SimpleSAMLphp has Possible DoS via XPath Transform

Details

Summary

This library turned out to be vulnerable to Denial-of-Service attacks using XPath transforms. A mitigation has been put in place to restrict the number of transforms and to restrict transforms to only the transform-algorithms mentioned in the SAML 2.0 Core Specifications (and specifically refuse XPath transforms).

Impact

An attacker is able to send specially crafted messages to any entity relying on SimpleSAMLphp (or directly on this SAML2-library) to be able to perform a Denial-of-Service attack.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-07-02 20:27 UTC
Modified
2026-08-05 13:00 UTC

Affected packages and fixes

simplesamlphp/saml2

Packagist · All systems

Affected

  • introduced 4.20.0, fixed 4.20.3 (ecosystem)

Fixed versions

4.20.3

Fix

The export has no generic command for this ecosystem.

simplesamlphp/saml2-legacy

Packagist · All systems

Affected

  • introduced 4.20.0, fixed 4.20.3 (ecosystem)

Fixed versions

4.20.3

Fix

The export has no generic command for this ecosystem.

simplesamlphp/saml2

Packagist · All systems

Affected

  • introduced 0, fixed 4.19.3 (ecosystem)

Fixed versions

4.19.3

Fix

The export has no generic command for this ecosystem.

simplesamlphp/saml2-legacy

Packagist · All systems

Affected

  • introduced 0, fixed 4.19.3 (ecosystem)

Fixed versions

4.19.3

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences