High

SimpleSAMLphp has Possible DoS via XPath Transform

  • Disclosed: 02.07.2026
  • Updated: 11.10.2026 10:22

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.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Composer package simplesamlphp/saml2 >= 4.20.0, < 4.20.3, < 4.19.3 4.20.3, 4.19.3
Composer package simplesamlphp/saml2-legacy >= 4.20.0, < 4.20.3, < 4.19.3 4.20.3, 4.19.3

References

CVSS score 7.5/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness (CWE)
CWE-400
Platform
Composer
Package
simplesamlphp/saml2, simplesamlphp/saml2-legacy
Disclosed
02.07.2026
Updated
11.10.2026 10:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-5cjr-mxj5-wmrx - CC BY 4.0

Vulnerability history: simplesamlphp/saml2-legacy

All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
4
First → latest
12.2024 07.2026
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • High 3
  • Medium 1

Disclosures per year

  1. 2024: 1
  2. 2025: 1
  3. 2026: 2
  1. SimpleSAMLphp has Possible DoS via XPath Transform this entry
    High · 7.5 CVE-2026-49289 >= 4.20.0, < 4.20.3, < 4.19.3 4.20.3, 4.19.3
  2. High · 8.7 CVE-2026-49283 >= 4.20.0, < 4.20.2, < 4.19.3 4.20.2, 4.19.3
  3. Medium · 8.3 CVE-2024-52806 < 4.6.14 4.6.14

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.