Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessLocate exposed SAML endpoint
-
DeliveryCraft SAML message with malicious XPath transforms
-
ExploitSubmit to assertion-consumer/verification endpoint
-
ExecutionSignature verification consumes excessive CPU/memory
-
PersistRepeat to sustain resource exhaustion
-
ImpactService denial for legitimate SSO users
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource consumption limits
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the target parse and verify an attacker-supplied SAML message whose XML Signature contains XPath transforms and/or an excessive number of transforms - i.e., the target must be running a vulnerable simplesamlphp/saml2 or saml2-legacy version and must accept inbound SAML messages at a network-reachable endpoint (SAML SP/IdP role). Per the CVSS vector (AV:N/AC:L/PR:N/UI:N) no authentication or user interaction is needed against a reachable endpoint. Limiting factors: the endpoint must be network-accessible to the attacker (internal-only SSO deployments behind VPN/firewall are correspondingly harder to reach), impact is confined to availability with no data exposure, and sustained disruption likely requires repeated requests; a patched library that already rejects XPath transforms is not exploitable. |
| Impact | The CVSS 3.1 vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H is internally consistent and credible: SAML endpoints are network-facing, verification of inbound messages happens before authentication, and the impact is purely availability (C:N/I:N/A:H), yielding a 7.5 High. No EPSS score, SSVC decision, KEV entry, or POC was provided in the intelligence, so there is no evidence of active or automated exploitation - treat exploitation likelihood as unquantified rather than high. The realistic priority is moderate: exploitation is unauthenticated and low-complexity, but the payoff is only service disruption (no data compromise or code execution), and effective abuse may require sustained or repeated requests to keep the service degraded. This is a genuine availability concern for internet-exposed SAML IdP/SP deployments, but absent KEV/EPSS/POC signals it should be patched on a normal-to-expedited cadence rather than treated as an emergency. Missing data explicitly noted: EPSS and SSVC are absent, and no independent confirmation of a tagged patched release version was provided beyond the GitHub advisory. |
| Exploit ScenarioDerived | An attacker scripts repeated POSTs of crafted SAML responses or requests to a victim's internet-exposed SimpleSAMLphp assertion-consumer endpoint, each embedding chained/XPath signature transforms that are expensive to process. Because verification occurs pre-authentication, every message forces the server to burn CPU and memory, and a modest request rate degrades or knocks the SSO service offline. No POC is referenced in the intelligence, and the low attack complexity means no special tooling beyond an HTTP client is required. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 02, 2026
Denial-of-service in the simplesamlphp/saml2 PHP library (and its saml2-legacy variant, used by SimpleSAMLphp) allows unauthenticated remote attackers to exhaust CPU/memory by submitting SAML messages containing malicious XPath transforms in XML Signature elements. The fix restricts the number of transforms and rejects XPath transforms entirely, permitting only the transform algorithms named in the SAML 2.0 Core specification. No public exploit has been identified at time of analysis and the flaw carries CVSS 7.5 (availability-only impact); it is not in CISA KEV.
RemediationAI
Patch available per vendor advisory: upgrade simplesamlphp/saml2 (and simplesamlphp/saml2-legacy where used) to the patched release identified in GHSA-5cjr-mxj5-wmrx via 'composer update simplesamlphp/saml2', and update SimpleSAMLphp itself so it pulls the fixed library. The exact fixed version number was not included in the provided data - obtain it from https://github.com/simplesamlphp/saml2/security/advisories/GHSA-5cjr-mxj5-wmrx before pinning. The upstream fix works by capping the number of signature transforms and refusing XPath transforms, allowing only the transform algorithms in the SAML 2.0 Core specification. Where immediate patching is not possible, compensating controls include placing rate limiting or a WAF in front of SAML assertion-consumer and metadata endpoints to cap request volume and body size (trade-off: may throttle legitimate bursty logins), and constraining verification CPU/memory via PHP execution limits or request timeouts (trade-off: could truncate legitimate large but valid messages); these reduce but do not eliminate the resource-exhaustion window and are not substitutes for the library fix.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 4 packages in composer, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The affected component is the SAML2 message-handling library for PHP distributed via Composer as simplesamlphp/saml2 and simplesamlphp/saml2-legacy, which underpins the widely-used SimpleSAMLphp identity/service-provider software. SAML assertions and protocol messages are XML documents protected by XML Signature (XML-DSIG), whose <ds:Transforms> element can specify processing steps applied before digest calculation. One optional transform algorithm is XPath (http://www.w3.org/TR/1999/REC-xpath-19991116), which lets the signer embed an arbitrary XPath expression evaluated against the document. Because XPath evaluation over attacker-controlled expressions and node sets can be computationally expensive, and multiple transforms can be chained, an attacker can craft signatures whose verification consumes disproportionate resources. This maps to CWE-400 (Uncontrolled Resource Consumption): the library did not bound the number of transforms nor restrict transform algorithms, so untrusted input dictated the amount of processing work performed during signature verification.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Network-facing SAML endpoint verifies attacker messages pre-auth with low complexity (AV:N/AC:L/PR:N/UI:N); impact is resource-exhaustion availability only, so C:N/I:N/A:H.
Primary rating from Vendor (https://github.com/simplesamlphp/saml2).
CVSS VectorVendor: https://github.com/simplesamlphp/saml2
DescriptionCVE.org
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.
Executive ViewAI
SimpleSAMLphp users deploying saml2/saml2-legacy libraries face a denial-of-service vulnerability that could disrupt authentication services for all dependent applications and users. An unauthenticated attacker can exhaust server CPU and memory by submitting malicious SAML messages, creating a critical availability risk to federated authentication infrastructure. With no vendor patch currently available, immediate interim controls are required.
Until vendor patch is released: restrict SAML assertion sources to known federation partners via network-level IP filtering; implement resource quotas and rate limiting on SAML endpoints; deploy XML parsing input validation to reject or limit XPath transform elements; establish monitoring for CPU/memory anomalies correlating with SAML traffic; consider temporary SAML endpoint traffic inspection via WAF or proxy to detect and block malformed XPath patterns.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
EUVD-2026-62505
GHSA-5cjr-mxj5-wmrx
NVD
CVE.org
EPSS
VulDB
Exploit-DB