CVE-2026-68745: 
Apache CloudStack vulnerability analysis and mitigation

Overview

CVE-2026-68745 is a SAML authentication bypass vulnerability in Apache CloudStack caused by certificate validation failures, allowing a malicious agent to forge SAML responses to the management server. It affects Apache CloudStack versions 4.5.2 through 4.20.3.0 and 4.21.0.0 through 4.22.1.0 on all platforms. The vulnerability was disclosed on August 21, 2026, with patched versions released the same day. It carries a CVSS v3.1 base score of 8.1 (High) (Apache Advisory, GitHub Advisory).

Technical details

The root cause is classified as CWE-347 (Improper Verification of Cryptographic Signature), where Apache CloudStack fails to properly validate certificates during SAML authentication. An attacker must first either spoof the IP address of the Identity Provider (IdP) or register a URL of their own choosing in the management server — after which they can submit forged SAML responses with invalid or attacker-controlled signatures that the server incorrectly accepts. This attack requires network access to the management server and the ability to manipulate IdP registration or IP routing, making it a network-based attack with high complexity. The vulnerability maps to CAPEC-475 (Signature Spoofing by Improper Validation) (Apache Advisory, GitHub Advisory).

Impact

Successful exploitation allows a malicious agent to bypass authentication controls entirely and log into the Apache CloudStack management server without legitimate credentials. The impact spans all three security dimensions: confidentiality (unauthorized access to cloud infrastructure data and configurations), integrity (ability to modify or provision cloud resources), and availability (potential disruption of managed cloud workloads). Given that CloudStack manages cloud infrastructure, unauthorized administrative access could enable lateral movement across managed virtual machines, networks, and storage resources (Apache Advisory, GitHub Advisory).

Exploitability

There is currently no public proof-of-concept exploit code and no evidence of in-the-wild exploitation (GitHub Advisory). The EPSS score is approximately 0.075–0.126%, placing it in the lower percentiles for near-term exploitation probability. The NVD SSVC assessment classifies the vulnerability as non-automatable due to the prerequisite of spoofing the IdP IP address or registering a malicious URL in the management server. The vulnerability has not been added to the CISA Known Exploited Vulnerabilities (KEV) catalog as of the time of this report. Qualys has published a detection (ID 532297) for this vulnerability (Apache Advisory).

Exploitation steps

  1. Reconnaissance: Identify Apache CloudStack management servers running vulnerable versions (4.5.2–4.20.3.0 or 4.21.0.0–4.22.1.0) with SAML authentication enabled, using network scanning or cloud infrastructure enumeration.
  2. Establish IdP control: Either spoof the IP address of the registered Identity Provider (IdP) using ARP spoofing, BGP hijacking, or DNS manipulation on the network path to the management server, OR register an attacker-controlled URL as the IdP endpoint in the CloudStack management server (if the attacker has partial access to configuration).
  3. Craft forged SAML response: Construct a SAML authentication response asserting a privileged user identity (e.g., admin), signed with an attacker-controlled certificate or with an invalid/missing signature that CloudStack fails to reject due to the certificate validation flaw.
  4. Submit forged response: Send the crafted SAML response to the CloudStack management server's SAML assertion consumer service (ACS) endpoint, impersonating a legitimate IdP.
  5. Achieve unauthorized access: The management server, failing to properly validate the certificate/signature, accepts the forged SAML response and grants the attacker an authenticated session with the privileges of the asserted user identity (Apache Advisory, GitHub Advisory).

Indicators of compromise

  • Network: Unexpected SAML authentication requests originating from IP addresses not matching the registered IdP; traffic from unknown hosts to the CloudStack management server's SAML ACS endpoint; unusual ARP or DNS activity suggesting IP spoofing of the IdP address.
  • Logs: CloudStack management server logs showing successful SAML logins from unexpected source IPs or at unusual times; authentication events for privileged accounts (e.g., admin) without corresponding IdP-side login records; SAML assertion consumer service requests with certificates not matching the registered IdP certificate.
  • Application: New or modified IdP URL registrations in CloudStack SAML configuration; unexpected changes to SAML identity provider settings in the management server database.
  • Behavioral: Privileged actions (VM creation, network changes, account modifications) performed by accounts that have not recently authenticated through normal channels; admin-level API calls following SAML login events from anomalous sources.

Mitigation and workarounds

Apache has released patched versions 4.20.3.1 and 4.22.1.1 that fix the certificate validation issue in SAML authentication; upgrading to these versions or later is the primary recommended remediation (Apache Advisory). As interim mitigations, administrators should restrict network access to the CloudStack management server to trusted segments only, implement network-level controls to prevent IP spoofing of IdP addresses, and audit SAML IdP URL registrations in the management server configuration. Organizations should also review authentication logs for suspicious SAML login activity and consider disabling SAML authentication temporarily if patching cannot be performed immediately (GitHub Advisory).

Community reactions

ShapeBlue, a major Apache CloudStack contributor and managed service provider, published a security advisory covering the fixes in versions 4.20.3.1 and 4.22.1.1 (ShapeBlue Advisory). The Apache Software Foundation announced the security releases via the Apache announcements mailing list. Qualys included detection for this vulnerability in its August 2026 application security detections publication. Community reaction has been measured, consistent with the absence of public exploit code and the relatively targeted nature of the attack prerequisites.

Additional resources


Source: This report was generated using AI

Related Apache CloudStack vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-68745HIGH8.1
  • Apache CloudStack logoApache CloudStack
  • cpe:2.3:a:apache:cloudstack
NoYesAug 21, 2026
CVE-2026-66722HIGH7.2
  • Apache CloudStack logoApache CloudStack
  • cpe:2.3:a:apache:cloudstack
NoYesAug 21, 2026
CVE-2026-59654MEDIUM6.8
  • Apache CloudStack logoApache CloudStack
  • cpe:2.3:a:apache:cloudstack
NoYesAug 21, 2026
CVE-2026-66797MEDIUM5.4
  • Apache CloudStack logoApache CloudStack
  • cpe:2.3:a:apache:cloudstack
NoYesAug 21, 2026
CVE-2026-66721LOW2.7
  • Apache CloudStack logoApache CloudStack
  • cpe:2.3:a:apache:cloudstack
NoYesAug 21, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management