Skip to content
Apache SparkPYSEC-2026-3966

There is a lack of XSS escaping in the Spark History Server prior to 3.5.8 which allows a malicious Spark job to generate arbitrary unescaped frontend code which could lead to a minimal privilege escalation in browser. Users are encouraged to upgrade to Spark 3.5.8 or later.

Medium6.1CVE-2026-32773 · Published Sep 2, 2026 · updated Sep 10, 2026

Source advisory

Affected versions

PackageAffectedFixed in
pyspark
PyPI
>= 3.0.0, < 3.5.83.5.8
Details and references

There is a lack of XSS escaping in the Spark History Server prior to 3.5.8 which allows a malicious Spark job to generate arbitrary unescaped frontend code which could lead to a minimal privilege escalation in browser. Users are encouraged to upgrade to Spark 3.5.8 or later. This CVE is marked as "low" since the path to exploit requires both relatively high permissions (ability to launch a Spark job) and requires tricking a user with higher permissions to log in and visit the Spark history web page. Users are encouraged to upgrade their Spark history servers to Spark 3.5.8 or later.

CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Severity from
the CVSS score
Also known as
BIT-spark-2026-32773, CVE-2026-32773

More Apache Spark advisories

All Apache Spark
DateAdvisory
Mar 16Apache Spark: Spark History Server Code Execution Vulnerability
CVE-2025-54920High8.8fixed in 3.5.7, 4.0.1
Oct 152025Apache Spark has Inadequate Encryption Strength
CVE-2025-55039Lowfixed in 3.4.4, 3.5.2
May 22023Apache Spark UI vulnerable to Command Injection
CVE-2023-32007High8.8fixed in 3.2.2
Apr 172023Apache Spark vulnerable to Improper Privilege Management
CVE-2023-22946Critical9.9fixed in 3.3.2, 3.3.3
Nov 12022Apache Spark vulnerable to Log Injection
CVE-2022-31777Medium5.4fixed in 3.2.2, 3.3.1
Jul 192022Apache Spark UI can allow impersonation if ACLs enabled
CVE-2022-33891High8.8fixed in 3.1.3, 3.2.2

Critical advisories by email

Wednesdays: the week’s critical and high advisories in the AI and data stack, with the fixed versions. Only in weeks that have some.

Double opt-in. Unsubscribe any time.