PyPI (Python)Worst: Critical12 advisories

pyspark: known vulnerabilities

pyspark has 12 reviewed security advisories in the GitHub Advisory Database — 2 critical, 5 high, 4 moderate, 1 low. The most recent was published 2026-09-02. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the pyspark versions running across your servers, containers and images, and ranks what to patch first.

How to fix pyspark

Upgrade pyspark to a release at or above the fixed version shown for each advisory below. For PyPI (Python):

pip install --upgrade pyspark (pin pyspark>=3.5.8)

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (12)

Apache Spark History Server allows stored cross-site scripting through unescaped application names Moderate 6.1 CWE-80 — Affected: from 3.0.0 up to 3.5.8. Fixed in 3.5.8. Published 2026-09-02. GHSA-9437-39hj-3c93 · CVE-2026-32773
Apache Spark has Inadequate Encryption Strength Low CWE-326 — Affected: from 3.5.0 up to 3.5.2. Fixed in 3.5.2. Published 2025-10-15. GHSA-6p6v-m64v-jx8q · CVE-2025-55039
Apache Spark UI vulnerable to Command Injection High 8.8 CWE-77 — Affected: from 3.1.1 up to 3.2.2. Fixed in 3.2.2. Published 2023-05-02. GHSA-59hw-j9g6-mfg3 · CVE-2023-32007
Apache Spark vulnerable to Improper Privilege Management Critical 9.9 CWE-269 — Affected: before 3.3.2. Fixed in 3.3.2. Published 2023-04-17. GHSA-329j-jfvr-rhr6 · CVE-2023-22946
Apache Spark vulnerable to Log Injection Moderate 5.4 CWE-74 — Affected: from 3.3.0 up to 3.3.1. Fixed in 3.3.1. Published 2022-11-01. GHSA-43xg-8wmj-cw8h · CVE-2022-31777
Authentication Bypass by Capture-replay in Apache Spark High 7.5 CWE-294 — Affected: before 3.1.3. Fixed in 3.1.3. Published 2022-03-10. GHSA-9rr6-jpg7-9jg6 · CVE-2021-38296
Improper Authentication in Apache Spark Critical 9.8 CWE-287 CWE-306 — Affected: before 2.4.6. Fixed in 2.4.6. Published 2020-06-23. GHSA-wgx7-jwwm-cgjv · CVE-2020-9480
Sensitive data written to disk unencrypted in Spark High 7.5 CWE-312 — Affected: before 2.3.3. Fixed in 2.3.3. Published 2019-08-07. GHSA-fp5j-3fpf-mhj5 · CVE-2019-10099
Exposure of Sensitive Information to an Unauthorized Actor in Apache Spark Moderate 4.7 CWE-200 — Affected: before 2.1.3. Fixed in 2.1.3. Published 2019-03-14. GHSA-6mqq-8r44-vmjc · CVE-2018-1334
Pyspark User Impersonation Vulnerability Moderate 5.5 — Affected: from 1.0.2 up to 2.2.3. Fixed in 2.2.3. Published 2019-02-04. GHSA-fvxv-9xxr-h7wj · CVE-2018-11760
Apache Spark Deserialization of Untrusted Data vulnerability High 7.8 CWE-502 — Affected: before 2.1.2. Fixed in 2.1.2. Published 2018-11-09. GHSA-8rhc-48pp-52gr · CVE-2017-12612

Find pyspark across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.