# CVE-2020-9480: Improper Authentication in Apache Spark

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.8
- **CVSS:** 9.8 (v3.1, NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 30.20% (percentile 99, 2026-11-26)
- **CWE:** CWE-306
- **Aliases:** BIT-spark-2020-9480, GHSA-wgx7-jwwm-cgjv, PYSEC-2020-95
- **Published:** 2020-06-23T21:50:51.000Z
- **Modified:** 2026-06-17T03:28:01.360Z

## Who should check

- Projects that depend on PyPI package pyspark (\< 2.4.6)
- Projects that depend on Maven package org.apache.spark:spark-parent\_2.11 (\< 2.4.6)
- Anyone running Apache Software Foundation Apache Spark Apache Spark 2.4.5 and earlier

## Description

In Apache Spark 2.4.5 and earlier, a standalone resource manager's master may be configured to require authentication (spark.authenticate) via a shared secret. When enabled, however, a specially-crafted RPC to the master can succeed in starting an application's resources on the Spark cluster, even without the shared key. This can be leveraged to execute shell commands on the host machine. This does not affect Spark clusters using other resource managers (YARN, Mesos, etc).

## Affected and fixed versions

- PyPI `pyspark`: affected \< 2.4.6; fixed 2.4.6 (osv)
- Maven `org.apache.spark:spark-parent_2.11`: affected \< 2.4.6; fixed 2.4.6 (osv)
- Apache Software Foundation Apache Spark: Apache Spark 2.4.5 and earlier (cvelist)

## Mitigation

- Upgrade pyspark to 2.4.6 or later.
- Upgrade org.apache.spark:spark-parent\_2.11 to 2.4.6 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2020-9480. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2020-9480.md
Affected: pyspark < 2.4.6; org.apache.spark:spark-parent_2.11 < 2.4.6
Fixed in: 2.4.6

Steps:
1. Search this machine and project for pyspark (PyPI), org.apache.spark:spark-parent_2.11 (Maven), Apache Software Foundation Apache Spark: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2020-9480 being exploited?

There is no confirmed exploitation: CVE-2020-9480 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 30.20% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2020-9480?

Critical: CVSS 9.8 (v3.1, scored by NVD). Remote, no login needed.

### Which versions are affected by CVE-2020-9480?

pyspark \< 2.4.6; org.apache.spark:spark-parent\_2.11 \< 2.4.6.

### Is there a fix for CVE-2020-9480?

Yes. Fixed in 2.4.6. Upgrade pyspark to 2.4.6 or later. Upgrade org.apache.spark:spark-parent\_2.11 to 2.4.6 or later.

### How do I check if I'm affected by CVE-2020-9480?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://spark.apache.org/security.html#CVE-2020-9480>
- vendor: <https://github.com/advisories/GHSA-wgx7-jwwm-cgjv>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2020-9480>
- patch: <https://www.oracle.com/security-alerts/cpuApr2021.html>
- other: <https://lists.apache.org/thread.html/r03ad9fe7c07d6039fba9f2152d345274473cb0af3d8a4794a6645f4b%40%3Cuser.spark.apache.org%3E>
- other: <https://lists.apache.org/thread.html/ree9e87aae81852330290a478692e36ea6db47a52a694545c7d66e3e2%40%3Cdev.spark.apache.org%3E>
- other: <https://lists.apache.org/thread.html/rb3956440747e41940d552d377d50b144b60085e7ff727adb0e575d8d%40%3Ccommits.submarine.apache.org%3E>
- other: <https://lists.apache.org/thread.html/ra0e62a18ad080c4ce6df5e0202a27eaada75222761efc3f7238b5a3b%40%3Ccommits.doris.apache.org%3E>
- other: <https://lists.apache.org/thread.html/ree9e87aae81852330290a478692e36ea6db47a52a694545c7d66e3e2@%3Cdev.spark.apache.org%3E>
- other: <https://lists.apache.org/thread.html/r03ad9fe7c07d6039fba9f2152d345274473cb0af3d8a4794a6645f4b@%3Cuser.spark.apache.org%3E>
- other: <https://lists.apache.org/thread.html/rb3956440747e41940d552d377d50b144b60085e7ff727adb0e575d8d@%3Ccommits.submarine.apache.org%3E>
- other: <https://lists.apache.org/thread.html/ra0e62a18ad080c4ce6df5e0202a27eaada75222761efc3f7238b5a3b@%3Ccommits.doris.apache.org%3E>
- other: <https://github.com/pypa/advisory-database/tree/main/vulns/pyspark/PYSEC-2020-95.yaml>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2020-9480>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2020-95> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-wgx7-jwwm-cgjv> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2020-9480> · JSON: <https://flawdb.com/api/v1/entries/CVE-2020-9480>
