Home / Apache Software Foundation / Apache CloudStack / CVE-2022-35741
CVE-2022-35741: is it exploited, and which versions of Apache Software Foundation Apache CloudStack are affected and fixed?
CVE-2022-35741 is a XML external entity (XXE) vulnerability in Apache Software Foundation Apache CloudStack. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:38 UTC). Affected: Apache CloudStack from 4.5.0 through every Apache CloudStack version (CVE record by apache). Fixed in 4.16.1.1 (NVD). Severity: Critical (9.8, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:38 UTC, CVE record November 28, 2026, 19:39 UTC and NVD November 19, 2026, 07:47 UTC.
What is CVE-2022-35741?
Apache CloudStack SAML Single Sign-On XXE
Apache CloudStack version 4.5.0 and later has a SAML 2.0 authentication Service Provider plugin which is found to be vulnerable to XML external entity (XXE) injection. This plugin is not enabled by default and the attacker would require that this plugin be enabled to exploit the vulnerability. When the SAML 2.0 plugin is enabled in affected versions of Apache CloudStack could potentially allow the exploitation of XXE vulnerabilities. The SAML 2.0 messages constructed during the authentication flow in Apache CloudStack are XML-based and the XML data is parsed by various standard libraries that are now understood to be vulnerable to XXE injection attacks such as arbitrary file reading, possible denial of service, server-side request forgery (SSRF) on the CloudStack management server.
From the CVE record by apache, last updated August 3, 2024, 09:44 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Apache Software Foundation | Apache CloudStack | from 4.5.0 through every Apache CloudStack version |
As the CVE record by apache states it, last updated August 3, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| apache | cloudstack | from 4.5.0 before 4.16.1.1 | application |
| apache | cloudstack | 4.17.0.0 | application |
NVD analysis (status Modified), last modified June 17, 2026, 04:52 UTC.
How severe is CVE-2022-35741?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2022-35741 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 8.01% probability of exploitation activity in the next 30 days, percentile 94.9 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-611 Improper Restriction of XML External Entity Reference
Is there a workaround? (from the CVE record)
To mitigate the risk, a CloudStack admin can do any of the following: 1. Disable SAML 2.0 plugin by setting the global setting saml2.enabled to false and restart the management servers. 2. Upgrade to Apache CloudStack 4.16.1.1 or 4.17.0.1 or higher.
Where are the vendor advisories and references?
- https://lists.apache.org/thread/hwhxvtwp1d5dsm156bsf1cnyvtmrfv3f x_refsource_MISC
- [oss-security] 20220718 [ADVISORY] Apache CloudStack SAML Single Sign-On XXE (CVE-2022-35741) mailing-list, x_refsource_MLIST
- [oss-security] 20220720 Re: [ADVISORY] Apache CloudStack SAML Single Sign-On XXE (CVE-2022-35741) mailing-list, x_refsource_MLIST
Who found and reported it?
- This issue was reported by v3ged0ge (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- July 13, 2022
- Published
- July 18, 2022, 14:30 UTC
- CVE record updated
- August 3, 2024, 09:44 UTC by apache
- NVD
- Modified, last modified June 17, 2026, 04:52 UTC
- Last checked
- CVE list November 28, 2026, 19:39 UTC; NVD November 19, 2026, 07:47 UTC; KEV December 3, 2026, 12:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Apache CloudStack?
- Aug 21, 2026CVE-2026-59654 Apache Software Foundation Apache CloudStack: resource not released after use
- Aug 21, 2026CVE-2026-47359 Apache Software Foundation Apache CloudStack: OS command injection
- Aug 21, 2026CVE-2026-50112 Apache Software Foundation Apache CloudStack: OS command injection
- Aug 21, 2026CVE-2026-50222 Apache Software Foundation Apache CloudStack: missing authorization
- Aug 21, 2026CVE-2026-59085 Apache Software Foundation Apache CloudStack: server-side request forgery (SSRF)
- Aug 21, 2026CVE-2026-59655 Apache Software Foundation Apache CloudStack: information disclosure
- Aug 21, 2026CVE-2026-59657 Apache Software Foundation Apache CloudStack: sensitive data stored in clear text
- Aug 21, 2026CVE-2026-59780 Apache Software Foundation Apache CloudStack: information disclosure
Every CVE in Apache CloudStack
Questions about CVE-2022-35741
Is CVE-2022-35741 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:38 UTC. FIRST's EPSS gives it a 8.01% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Apache Software Foundation Apache CloudStack are affected by CVE-2022-35741?
Apache CloudStack from 4.5.0 through every Apache CloudStack version, per the CVE record by apache. The tables above give every range the sources list.
Which version fixes CVE-2022-35741?
4.16.1.1, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2022-35741?
Critical (9.8, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2022-35741?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.