Skip to main content

SimpleSAMLphp SAML2 EUVDEUVD-2026-62505

| CVE-2026-49289 HIGH
Uncontrolled Resource Consumption (CWE-400)
2026-07-02 https://github.com/simplesamlphp/saml2 GHSA-5cjr-mxj5-wmrx
7.5
CVSS 3.1 · Vendor: https://github.com/simplesamlphp/saml2
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Locate exposed SAML endpoint
  2. Delivery
    Craft SAML message with malicious XPath transforms
  3. Exploit
    Submit to assertion-consumer/verification endpoint
  4. Execution
    Signature verification consumes excessive CPU/memory
  5. Persist
    Repeat to sustain resource exhaustion
  6. Impact
    Service 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.6% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Saml2 4.20.2, < 4.20.3
Saml2 4.19.2, < 4.19.3

Affected Packages

composer simplesamlphp/saml2 fix: 4.19.3, 4.20.3
composer simplesamlphp/saml2-legacy fix: 4.19.3, 4.20.3
euvd saml2_4_19_2 fix: 4.19.3
euvd saml2_4_20_2 fix: 4.20.3

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

Vendor (https://github.com/simplesamlphp/saml2) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 7.5 HIGH

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.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (https://github.com/simplesamlphp/saml2).

CVSS VectorVendor: https://github.com/simplesamlphp/saml2

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.6%
Top 56% exploitable
Prevalence
Medium
widely-used PHP SAML library, common but not universal in SSO stacks
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.6%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy