CVE-2023-22946 in Apache Spark
In Apache Spark versions prior to 3.4.0, applications using spark-submit can specify a 'proxy-user' to run as, limiting privileges. The application can execute code with the privileges of the submitting user, however, by providing malicious configuration-related classes on the classpath. This affects architectures r...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, can impact systems beyond the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Apache | Spark | < 3.4.0 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
In Apache Spark versions prior to 3.4.0, applications using spark-submit can specify a 'proxy-user' to run as, limiting privileges. The application can execute code with the privileges of the submitting user, however, by providing malicious configuration-related classes on the classpath. This affects architectures relying on proxy-user, for example those using Apache Livy to manage submitted applications. Update to Apache Spark 3.4.0 or later, and ensure that spark.submit.proxyUser.allowCustomClasspathInClusterMode is set to its default of "false", and is not overridden by submitted applications.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2023-22946 |
|---|---|
| BreachSpider ID | BS-2023-GLOBAL-059882-C |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| Published | 2023-04-17 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-269: Improper Privilege Management
Software does not properly assign, modify, track, or check privileges, allowing unauthorized elevation of access.
Related attack patterns (CAPEC)
CAPEC-58 Restful Privilege Elevation via CWE-269
CAPEC-122 Privilege Abuse via CWE-269
CAPEC-233 Privilege Escalation via CWE-269
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
CVE-2023-22946 affects Apache Spark versions prior to 3.4.0, allowing malicious users to execute code with elevated privileges by specifying a 'proxy-user' and providing malicious configuration-related classes on the classpath.
An attacker can exploit this vulnerability by submitting a malicious application to Apache Spark using spark-submit with a 'proxy-user' parameter. The application can include malicious classes on the classpath, which will be executed with the privileges of the specified 'proxy-user'. This can lead to unauthorized access and code execution.
Questions
What is CVE-2023-22946?
CVE-2023-22946 affects Apache Spark versions prior to 3.4.0, allowing malicious users to execute code with elevated privileges by specifying a 'proxy-user' and providing malicious configuration-related classes on the classpath.
What is the CVSS score for CVE-2023-22946?
CVE-2023-22946 has CVSS 9.9 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H. EPSS: 1.3%.
Is CVE-2023-22946 actively exploited?
No confirmed active exploitation of CVE-2023-22946 as of 2026-09-25.
How do I remediate CVE-2023-22946?
Priority: IMMEDIATE. Advisory: https://lists.apache.org/thread/yllfl25xh5tbotjmg93zrq4bzwhqc0gv PSIRT: [email protected]
What systems are affected by CVE-2023-22946?
CVE-2023-22946 affects Apache Spark.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Apache","product":"Spark","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.