CVE-2022-33891

HIGHNVD 8.89.0
EchelonGraph scoreHIGH confidence

Score elevated to 9.0 because this CVE is listed on the CISA Known Exploited Vulnerabilities catalog (added 2023-03-07), indicating real-world exploitation has been confirmed by US federal agencies. NVD baseline CVSS 8.8 retained for reference. Confidence: HIGH.

Triggered by: CISA KEV (actively exploited)
Sources: cisa_kev, epss, nvd
Trending — 3 sources updated this weekExploited in the wild
8.8
EchelonGraph verdictPatch nowTreat as an emergency — this is being exploited.
  • Actively exploited in the wild (CISA-KEV)
CISA-KEV: ExploitedEPSS: 93%CVSS: 8.8Exploit: NoneExposed: 0

No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.

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 v3
8.8
EG Score
9.0(high)
EG Risk
EPSS
99.8%
KEV
⚠ Exploited

Published

July 18, 2022

Last Modified

October 23, 2025

Advisory Details (4)

Auto-updated Jun 2, 2026
⚠️ Active exploitation confirmed. Patch available. Sources: cisa.
cisa Patch Available🔴 Active Exploitation

Known Exploited Vulnerabilities Catalog | CISA

Known Exploited Vulnerabilities Catalog | CISA. Listed in CISA Known Exploited Vulnerabilities catalog.

https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-33891
generic

oss-security - CVE-2023-32007: Apache Spark: Shell command injection via Spark UI

http://www.openwall.com/lists/oss-security/2023/05/02/1

Vendor Advisories for CVE-2022-33891(1)

These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.

Affected Packages

(2 across 2 ecosystems)
Maven(1)
PackageVulnerable rangeFixed inDependents
org.apache.spark:spark-parent_2.123.1.1, 3.1.2, 3.1.3, 3.2.0, 3.2.13.2.2
PyPI(1)
PackageVulnerable rangeFixed inDependents
pyspark2.1.1 ... 3.2.1 (29 versions)3.2.2

Weakness Classification(1)

MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.

Data Freshness Timeline

(refreshed 7× in last 7d / 23× in last 30d)

Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.

  1. 2026-07-22 21:50 UTCEG score recompute
  2. 2026-07-22 19:40 UTCCISA KEV update
  3. 2026-07-21 14:37 UTCCISA KEV update
  4. 2026-07-18 12:17 UTCEG score recompute
  5. 2026-07-18 10:03 UTCEPSS rescore
  6. 2026-07-18 10:03 UTCEPSS rescore
  7. 2026-07-16 17:04 UTCCISA KEV update
  8. 2026-07-15 16:49 UTCCISA KEV update
  9. 2026-07-15 15:04 UTCCISA KEV update
  10. 2026-07-14 18:05 UTCCISA KEV update
  11. 2026-07-13 17:07 UTCCISA KEV update
  12. 2026-07-10 17:52 UTCCISA KEV update
  13. 2026-07-07 19:01 UTCCISA KEV update
  14. 2026-07-07 17:16 UTCCISA KEV update
  15. 2026-07-01 19:16 UTCCISA KEV update
  16. 2026-07-01 15:04 UTCEPSS rescore
  17. 2026-06-29 19:12 UTCCISA KEV update
  18. 2026-06-25 19:15 UTCCISA KEV update
  19. 2026-06-24 14:03 UTCEPSS rescore
  20. 2026-06-24 14:03 UTCEPSS rescore
  21. 2026-06-23 21:31 UTCEPSS rescore
  22. 2026-06-23 21:31 UTCEPSS rescore
  23. 2026-06-23 17:44 UTCCISA KEV update
  24. 2026-06-18 16:13 UTCCISA KEV update
  25. 2026-06-17 17:51 UTCEPSS rescore
Show 30 more
  1. 2026-06-17 17:51 UTCEPSS rescore
  2. 2026-06-16 19:33 UTCCISA KEV update
  3. 2026-06-15 19:33 UTCCISA KEV update
  4. 2026-06-15 17:46 UTCEPSS rescore
  5. 2026-06-12 23:10 UTCEPSS rescore
  6. 2026-06-12 23:10 UTCEPSS rescore
  7. 2026-06-12 17:35 UTCCISA KEV update
  8. 2026-06-11 19:10 UTCCISA KEV update
  9. 2026-06-09 18:42 UTCCISA KEV update
  10. 2026-06-09 17:12 UTCCISA KEV update
  11. 2026-06-08 19:16 UTCCISA KEV update
  12. 2026-06-08 17:26 UTCCISA KEV update
  13. 2026-06-08 14:15 UTCEPSS rescore
  14. 2026-06-08 14:15 UTCEPSS rescore
  15. 2026-06-07 15:23 UTCEPSS rescore
  16. 2026-06-07 15:23 UTCEPSS rescore
  17. 2026-06-05 22:46 UTCEPSS rescore
  18. 2026-06-05 22:45 UTCEPSS rescore
  19. 2026-06-05 22:43 UTCCISA KEV update
  20. 2026-06-03 19:09 UTCCISA KEV update
  21. 2026-06-02 18:32 UTCCISA KEV update
  22. 2026-06-01 20:42 UTCCISA KEV update
  23. 2026-05-29 22:20 UTCCISA KEV update
  24. 2026-05-28 13:43 UTCEPSS rescore
  25. 2026-05-28 13:43 UTCEPSS rescore
  26. 2026-05-27 20:35 UTCCISA KEV update
  27. 2026-05-26 19:13 UTCCISA KEV update
  28. 2026-05-26 13:43 UTCEPSS rescore
  29. 2026-05-26 13:43 UTCEPSS rescore
  30. 2026-05-25 18:47 UTCEG score recompute

Publicly available exploits

(7 references)

Working exploit code is in the public domain (1 Metasploit module) (5 GitHub PoCs). Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.

  • GitHub PoCK3ysTr0K3R/CVE-2022-33891-EXPLOIT
    First seen Feb 22, 2024

    A PoC exploit for CVE-2022-33891 - Apache Spark UI Remote Code Execution (RCE)

    Open source ↗
  • GitHub PoCAmoloHT/CVE-2022-33891
    First seen Jul 30, 2022

    「💥」CVE-2022-33891 - Apache Spark Command Injection

    Open source ↗
  • GitHub PoCAkbarTrilaksana/cve-2022-33891
    First seen Jul 20, 2022
    Open source ↗
  • GitHub PoCHuskyHacks/cve-2022-33891
    First seen Jul 19, 2022

    Apache Spark Shell Command Injection Vulnerability

    Open source ↗
  • GitHub PoCW01fh4cker/cve-2022-33891
    First seen Jul 18, 2022

    cve-2022-33891-poc

    Open source ↗
  • Metasploitexploit/linux/http/apache_spark_rce_cve_2022_33891✓ verified
    First seen Jul 18, 2022

    Apache Spark Unauthenticated Command Injection RCE

    Open source ↗
  • Nucleihttp/cves/2022/CVE-2022-33891.yaml
    First seen Jan 1, 2022

    Apache Spark UI - Remote Command Injection

    Open source ↗

Frequently asked(6)

What is CVE-2022-33891?
CVE-2022-33891 is a high vulnerability published on July 18, 2022. 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…
When was CVE-2022-33891 disclosed?
CVE-2022-33891 was first published in the National Vulnerability Database on July 18, 2022, with the most recent update on October 23, 2025. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2022-33891 actively exploited?
Yes. CISA added CVE-2022-33891 to the Known Exploited Vulnerabilities catalog on March 7, 2023, affecting Apache Spark. KEV listing indicates confirmed exploitation in the wild; this CVE warrants immediate patching attention.
What is the CVSS score of CVE-2022-33891?
CVE-2022-33891 has a CVSS v3 base score of 8.8 (NVD). EchelonGraph synthesises NVD + CISA KEV + FIRST EPSS + GHSA into a combined EG score of 9.0.
Which products are affected by CVE-2022-33891?
CVE-2022-33891 affects Apache Spark. The full affected-products list, including version ranges and fixed versions, is shown in the Affected Packages section of this page.
How do I remediate CVE-2022-33891?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2022-33891, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.

Dependency Blast Radius

See which npm, PyPI, Go, and Maven packages are affected by CVE-2022-33891

Explore →

Is Your Infrastructure Affected by CVE-2022-33891?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.