--- title: "CVE-2022-33891: Apache Spark shell command injection… | CubePath" description: "The Apache Spark UI offers the possibility to enable ACLs via the configuration option spark.acls.enable. With an authentication filter, this checks…" language: en source: https://cubepath.com/security/cve/CVE-2022-33891 --- # CVE-2022-33891: Apache Spark shell command injection… | CubePath ## Description The Apache Spark UI offers the possibility to enable ACLs via the configuration option spark.acls.enable. With an authentication filter, this checks whether a user has access permissions to view or modify the application. If ACLs are enabled, a code path in HttpSecurityFilter can allow someone to perform impersonation by providing an arbitrary user name. A malicious user might then be able to reach a permission check function that will ultimately build a Unix shell command based on their input, and execute it. This will result in arbitrary shell command execution as the user Spark is currently running as. This affects Apache Spark versions 3.0.3 and earlier, versions 3.1.1 to 3.1.2, and versions 3.2.0 to 3.2.1. Official description from the CVE record, published by apache. Copyright © 1999-2026 The MITRE Corporation. See [/security/cve/legal](https://cubepath.com/security/cve/legal) for the CVE license. [View the record on cve.org](https://www.cve.org/CVERecord?id=CVE-2022-33891) ## Key data ### CVSS 3.1 High 8.8 Score published by CISA-ADP in the CVE record. CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | Metric | Value | What it means | | ---------------------- | --------- | ----------------------------------------------------------------------------------- | | Attack vector | Network | The vulnerable component can be reached over a network, possibly from the Internet. | | Attack complexity | Low | No special conditions are needed. The attack can be repeated at will. | | Privileges required | Low | A basic user account is needed. | | User interaction | None | No action from any user is needed. | | Scope | Unchanged | The impact stays within the vulnerable component. | | Confidentiality impact | High | Serious or total effect on the secrecy of data. | | Integrity impact | High | Serious or total effect on the trustworthiness of data. | | Availability impact | High | Serious or total effect on availability. | CVSS is owned and managed by FIRST.Org, Inc. (FIRST) and is used by permission. Each CVSS score on this site is shown together with its vector string, as published in the CVE record by the source named next to it. Learn more at [first.org/cvss](https://www.first.org/cvss/) . ### EPSS Exploit Prediction Scoring System by FIRST: an estimate of the probability that exploitation activity will be observed in the next 30 days. Score 0.93244 (93.2% probability) Percentile 99.8% Scores of Nov 10, 2026 Model v2026.06.15 ### CISA Known Exploited Vulnerabilities This CVE is listed in the CISA KEV catalog. Name in the catalog Apache Spark Command Injection Vulnerability Added to the catalog Mar 7, 2023 Federal due date Mar 28, 2023 ### CISA assessment as of Feb 4, 2025 Stakeholder-Specific Vulnerability Categorization (SSVC) decision points added by CISA. Exploitation Recorded by CISA as active Automatable no Technical impact total ### Weakness (CWE) CWE catalog version 5.0. CWE names: Copyright © 2006-2026, The MITRE Corporation. See [/security/cve/legal](https://cubepath.com/security/cve/legal) for the CWE license. - [CWE-78](https://cwe.mitre.org/data/definitions/78.html) Improper Neutralization of Special Elements used in an OS Command ## Affected products Products listed in the CVE record, as the CNA published them. - Apache Spark - affected: 3.0.3 and earlier up to 3.0.3 - affected: 3.1.1 to 3.1.2 up to 3.1.2 - affected: 3.2.0 to 3.2.1 up to 3.2.1 ## References Links listed in the CVE record. They lead to other sites, which CubePath does not control. - [lists.apache.org/thread/p847l3kopoo5bjtmxrcwk21xp6tjxqlc](https://lists.apache.org/thread/p847l3kopoo5bjtmxrcwk21xp6tjxqlc) - [packetstormsecurity.com/files/168309/Apache-Spark-Unauthent…](http://packetstormsecurity.com/files/168309/Apache-Spark-Unauthenticated-Command-Injection.html) - [\[oss-security\] 20230502 CVE-2023-32007: Apache Spark: Shell command injection via Spark UI](http://www.openwall.com/lists/oss-security/2023/05/02/1) (openwall.com) mailing-list ## Timeline 1. ID reserved Jun 17, 2022 2. Record published Jul 18, 2022 3. Added to CISA KEV Mar 7, 2023 4. Record last updated Oct 21, 2025 ## Look up another CVE ## About CubePath CubePath is a cloud provider with data centers in Europe and the United States. It offers VPS, bare metal servers and DDoS protection. [Cloud VPS](https://cubepath.com/vps) [DDoS protection](https://cubepath.com/ddos-protection) Data from the CVE Program (MITRE), CISA KEV and FIRST EPSS. CVSS is owned by FIRST and used by permission. Not affiliated with or endorsed by MITRE, CISA or FIRST. Data as of Nov 10, 2026, 20:04 UTC. [Sources and licenses](https://cubepath.com/security/cve/legal)