# CVE-2026-50222: Apache CloudStack missing authorization in userdata APIs

Source: https://junglewise.ai/threats/cve-2026-50222-apache-cloudstack-missing-authorization-in-userdata-apis  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-08-21. Updated: 2026-09-25  
License: CC BY 4.0 with a link back

CVE-2026-50222 · Severity: high · CVSS 7.5 · Published 2026-08-21

Apache CloudStack is an open-source cloud infrastructure management platform used to deploy and manage virtual machines across large distributed environments. Multiple userdata-related APIs lack proper access controls, allowing one tenant or account holder to access, modify, or delete sensitive configuration data belonging to other tenants. This could expose operational secrets, credentials, and deployment configurations across organizational boundaries.

Technologies: [Apache Cloudstack](https://junglewise.ai/threats/technologies/cloudstack). Vendors: [Apache](https://junglewise.ai/threats/vendors/apache).

## Quick answers

**Is CVE-2026-50222 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-50222 being exploited in the wild.

**How severe is CVE-2026-50222?** High severity, with a CVSS score of 7.5, published 21 August 2026.

**Which products and versions are affected?** Apache Cloudstack 4.18.0.0 through 4.20.3.0, 4.21.0.0 through 4.22.1.0.

**Is there a fix for CVE-2026-50222?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-50222 attacked?** It is attacked over the network, in a hosted service.

**Am I affected by CVE-2026-50222?** Check whether you run Apache Cloudstack at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

The vulnerability is a missing authorization flaw in several userdata reference APIs including deleteUserData, linkUserDataToTemplate, resetUserDataForVirtualMachine, deployVirtualMachine, updateVirtualMachine, and the deleteCniConfiguration API (introduced in 4.21.0.0). These APIs fail to properly validate that the requesting principal owns or has permission to access the target userdata resources, enabling cross-tenant access. The issue is network-reachable and exploitable by authenticated cloud users without special privileges. An attacker can read, modify, or delete userdata belonging to other tenants. Patches are available in versions 4.20.3.1, 4.22.1.1, and later.

## Affected products

- Apache CloudStack 4.18.0.0 through 4.20.3.0, 4.21.0.0 through 4.22.1.0

## Timeline

- 2026-08-21: disclosed

## References

- [https://lists.apache.org/thread/g6cwddtjrwbh1d56wjz4cfp3fzfm4kbc](https://lists.apache.org/thread/g6cwddtjrwbh1d56wjz4cfp3fzfm4kbc)

## Related threats

- [Apache CloudStack resource leak in scoped global configuration](https://junglewise.ai/threats/cve-2026-59654-apache-cloudstack-resource-leak-in-scoped-global-configuration)
- [Apache CloudStack certificate validation bypass in SAML authentication](https://junglewise.ai/threats/cve-2026-68745-apache-cloudstack-certificate-validation-bypass-in-saml)
- [Apache CloudStack improper access control in annotation APIs](https://junglewise.ai/threats/cve-2026-66797-apache-cloudstack-improper-access-control-in-annotation-apis)
- [Apache CloudStack improper authorization in project role management](https://junglewise.ai/threats/cve-2026-66722-apache-cloudstack-improper-authorization-in-project-role)
- [Apache CloudStack authorization bypass in host tags listing](https://junglewise.ai/threats/cve-2026-66721-apache-cloudstack-authorization-bypass-in-host-tags-listing)
