Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessEstablish network position to spoof IdP IP or register malicious IdP URL
-
DeliveryCraft forged SAML assertion with target user identity
-
ExploitSubmit forged assertion to CloudStack SAML callback endpoint
-
ExecutionManagement server skips cryptographic signature validation
-
PersistAttacker authenticated as arbitrary CloudStack user
-
ImpactFull cloud infrastructure control achieved
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A04:2025 - Cryptographic Failures
ASVS 5.0
V11 - Cryptography Signature verification
|
| Exploitation Conditions | SAML authentication must be enabled and configured in the Apache CloudStack management server - this is a non-default feature that requires explicit setup. The attacker must satisfy one of two preconditions: (1) successfully spoof the IP address of the registered Identity Provider so that the management server accepts the forged SAML response as originating from the trusted IdP, or (2) have a URL under their control registered as a trusted IdP endpoint within the management server configuration, which itself may require prior administrative access or misconfiguration. Environments not using SAML federation (using local accounts or LDAP instead) are entirely unaffected. Exploitation is further constrained by AC:H in the CVSS vector, confirming that the prerequisite network position or configuration access is not trivially obtained. Authentication to CloudStack is not required prior to exploitation, as the attack targets the authentication mechanism itself (PR:N per CVSS vector). |
| Impact | The NVD CVSS 3.1 score of 8.1 (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H) captures the dual nature of this vulnerability: the impact is severe (full C/I/A compromise of the management plane) but the attack complexity is genuinely high. AC:H reflects that the attacker must satisfy one of two non-trivial preconditions - perform IP spoofing of the legitimate IdP, or somehow register a malicious URL as a trusted IdP endpoint in the management server (which itself may require some prior access or social engineering). The EPSS score of 0.07% at percentile 0% confirms that exploitation is not currently observed in the wild, and there is no CISA KEV listing. There is no confirmed public POC. The practical risk profile is therefore medium-high for organizations actively using SAML-federated authentication in CloudStack: if an adversary achieves the prerequisite network position or IdP URL registration, the payoff is complete infrastructure control. Organizations not using SAML authentication are not exposed by this vulnerability regardless of version. |
| Exploit ScenarioDerived | An attacker on a network path capable of intercepting or spoofing traffic from the legitimate IdP, or one who has registered a malicious endpoint as a trusted IdP URL in the CloudStack management server, crafts a SAML assertion asserting administrative identity and submits it to the management server's SAML callback. Because the management server does not properly verify the cryptographic signature, the forged assertion is accepted and the attacker gains authenticated access as the impersonated user - potentially a cloud administrator - without possessing any valid credentials. No public POC has been identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Aug 24, 2026
SAML authentication bypass in Apache CloudStack 4.20.3.0 and 4.22.1.0 permits a network-positioned attacker to forge SAML responses and authenticate as any user against the management server without valid credentials. The flaw stems from improper cryptographic signature verification (CWE-347): the management server fails to validate SAML response certificates, so a forged assertion passes unchecked. Exploitation requires either spoofing the IdP's IP address or registering a controlled URL as a trusted IdP endpoint in the management server - conditions that raise the practical bar but, if met, yield full administrative access. No public exploit or CISA KEV listing has been identified; the EPSS score of 0.07% reflects minimal observed exploitation at time of analysis.
Earlier versions of this analysis (1)
Certificate validation failures in Apache CloudStack 4.20.3.0 and 4.22.1.0 permit a malicious actor to forge SAML authentication responses to the management server, achieving full authentication bypass. The attacker must either spoof the registered Identity Provider's IP address or arrange for a URL of their own control to be recorded as the IdP endpoint in the management server configuration. No public exploit has been identified at time of analysis, and the flaw is not listed in CISA KEV, though the impact - unauthenticated access to a cloud infrastructure management plane - is severe for any environment with SAML authentication enabled.
RemediationAI
The primary fix is to upgrade Apache CloudStack to version 4.20.3.1 or 4.22.1.1 (or any later release in the respective branch), which the vendor confirms resolves the certificate validation defect. Full details are at https://lists.apache.org/thread/g6cwddtjrwbh1d56wjz4cfp3fzfm4kbc. If an immediate upgrade is not feasible, a targeted workaround is to disable SAML authentication entirely and revert to local or LDAP authentication methods, eliminating the vulnerable code path; the trade-off is loss of federated SSO until patching is complete. Additionally, strictly controlling which IdP URLs are permitted in the management server configuration and enforcing network-level restrictions so that only the legitimate IdP's IP range can reach the SAML callback endpoint will raise the bar for exploitation. No known compensating control fully substitutes for the patch, as the underlying signature validation failure is in the SAML processing library itself.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Apache CloudStack is an open-source Infrastructure-as-a-Service platform that manages compute, storage, and networking resources via a central management server. Its SAML 2.0 integration allows federated identity providers (IdPs) to authenticate users. The root cause is CWE-347 (Improper Verification of Cryptographic Signature): when processing SAML assertions, CloudStack does not properly validate the certificate signing the response, allowing an attacker-controlled identity provider to present unsigned or self-signed assertions that the management server accepts as legitimate. The affected CPE is cpe:2.3:a:apache_software_foundation:apache_cloudstack:*:*:*:*:*:*:*:*, covering a wide version span from 4.5.2 through 4.22.1.0. The management server is the central control plane; unauthorized authentication directly against it yields cloud-wide administrative reach.
Know when Apache Cloudstack gets its next vulnerability
- 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:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Network vector confirmed; AC:H reflects mandatory IP spoofing or IdP URL registration precondition; PR:N because authentication itself is being bypassed.
Primary rating from Vendor (apache).
CVSS VectorVendor: apache
Lifecycle Timeline
2DescriptionCVE.org
Certificate validation failures in SAML authentication in Apache CloudStack 4.20.3.0 and 4.22.1.0 on all platforms allow a malicious agent to forge a SAML response to the management server. The agent will have to spoof the ip address of the IdP or get an url of its own choosing registered in the management server, after which it can allow logging on with forged signatures.
Users are recommended to upgrade to versions 4.20.3.1 or 4.22.1.1 and above, which fix this issue.
Articles & Coverage 1
Executive ViewAI
Apache CloudStack versions 4.20.3.0 and 4.22.1.0 contain a SAML authentication bypass that allows attackers to forge credentials and gain full administrative access to cloud management infrastructure. While no public exploit code has been identified, any organization operating these CloudStack versions faces potential complete compromise of their infrastructure management plane if an attacker can reach the management interface or register as a trusted IdP endpoint. This represents a critical control bypass affecting cloud operations and business continuity.
No vendor-released patch identified at time of analysis. Interim mitigations include: restrict CloudStack management server network access to trusted internal networks only; require manual approval and audit logging for all new IdP endpoint registrations; implement active monitoring and alerting for suspicious SAML response patterns; deploy network-level controls to prevent IP spoofing; review and revoke any non-essential or unknown IdP configurations; consider temporary disablement of SAML authentication if operationally feasible, reverting to alternative authentication until patch availability.
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
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
More in Apache Cloudstack
View allCross-tenant manipulation in Apache CloudStack's Kubernetes Service (CKS) plugin allows a tenant to add and remove nodes
Unauthorized cross-tenant access in Apache CloudStack 4.21.0 through 4.22.0 allows remote unauthenticated attackers to g
Two-factor authentication bypass in Apache CloudStack allows an authenticated low-privileged user to exploit an improper
Cross-tenant root command execution in Apache CloudStack (4.14.0.0-4.20.3.0 and 4.21.0.0-4.22.1.0) allows an authenticat
Remote code execution in Apache CloudStack allows authenticated account users to execute arbitrary code on KVM hyperviso
Apache CloudStack deployments that use MinIO-backed object storage fail to revoke the MinIO policy associated with a buc
Authenticated CloudStack users can hijack volumes from other tenants' backups via the Backup plugin in versions 4.21.0.0
Sensitive OAuth configuration data is exposed to unauthenticated remote actors in Apache CloudStack's OAuth authenticati
Sensitive information exposure in Apache CloudStack's OAuth2 authentication plugin and Google OAuth integration allows u
Missing authorization controls across multiple Userdata-related APIs in Apache CloudStack expose cross-tenant data to an
Broken object-level authorization in Apache CloudStack exposes project role management APIs to Domain Admins operating o
Server-Side Request Forgery in Apache CloudStack's webhook module lets attackers coerce the management server into issui
EUVD-2026-63830
GHSA-g5rw-pw9w-c288
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB