CVE-2022-33891

Apache Spark Command Injection Vulnerability

Actively exploited · CISA KEV
8.8 HighCVSS v3.1
92.9%EPSS (30-day exploit probability)
2023-03-07added to KEV
2023-03-28CISA federal due date

Summary

Apache Spark. Apache Spark contains a command injection vulnerability via Spark User Interface (UI) when Access Control Lists (ACLs) are enabled.

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.

CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-78
Published
2022-07-18 (last modified 2026-06-17)

What to do

Apply updates per vendor instructions.

  1. Find every instance of Apache Spark in your asset inventory, including internet-facing ones.
  2. Apply the vendor fix or mitigation, or isolate/disconnect the asset until you can.
  3. Hunt for signs of compromise from before you patched; exploitation is already happening in the wild.
  4. Ask critical suppliers whether they are affected and when they will be patched.

FAQ

Is CVE-2022-33891 being exploited?

Yes. CISA added CVE-2022-33891 to its Known Exploited Vulnerabilities catalog on 2023-03-07, which means there is reliable evidence of active exploitation.

How do I fix CVE-2022-33891?

CISA required action: Apply updates per vendor instructions.

What is the EPSS score for CVE-2022-33891?

The EPSS score is 92.92%, meaning an estimated 92.92% probability of exploitation activity in the next 30 days (percentile 100).

Other exploited Apache vulnerabilities

CVE-2026-129448Apache Roller Deserialization of Untrusted Data Vulnerability2026-11-20
CVE-2026-90436Apache Axis Unsafe Reflection Vulnerability2026-11-18
CVE-2016-3081Apache Struts Command Injection Vulnerability2026-10-08
CVE-2026-34486Apache Tomcat Missing Encryption of Sensitive Data Vulnerability2026-08-04
CVE-2026-34197Apache ActiveMQ Improper Input Validation Vulnerability2026-04-16
CVE-2024-38475Apache HTTP Server Improper Escaping of Output Vulnerability2025-05-01
CVE-2025-24813Apache Tomcat Path Equivalence Vulnerability2025-04-01
CVE-2024-45195Apache OFBiz Forced Browsing Vulnerability2025-02-04

All Apache exploited CVEs →

Triage many CVEs at once

Paste up to 25 CVEs and get KEV, EPSS and CVSS side by side, with CSV export.

Try Pro CVE triage

Sources: CISA KEV, NIST NVD, FIRST EPSS. This page is informational; verify against the vendor advisory before acting. © CyberStrategiX.