CVE-2022-33891: Apache Spark Command Injection Vulnerability
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.
Published Jul 18, 2022 · Updated Jun 17, 2026
Required action
Apply updates per vendor instructions.
Advisory details
From the National Vulnerability Database. This product uses the NVD API but is not endorsed or certified by the NVD.
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.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Apache vulnerabilities
All Apache entriesCVE-2026-34486
Apache Tomcat Missing Encryption of Sensitive Data Vulnerability
high7.5ExploitedApr 9, 2026CVE-2026-34197
Apache ActiveMQ Improper Input Validation Vulnerability
high8.8ExploitedApr 7, 2026CVE-2025-24813
Apache Tomcat Path Equivalence Vulnerability
critical9.8ExploitedMar 10, 2025CVE-2024-45195
Apache OFBiz Forced Browsing Vulnerability
high7.5ExploitedSep 4, 2024CVE-2024-38856
Apache OFBiz Incorrect Authorization Vulnerability
critical9.8ExploitedAug 5, 2024CVE-2024-38475
Apache HTTP Server Improper Escaping of Output Vulnerability
critical9.1ExploitedJul 1, 2024
