Read the docs
TI-2023-21065 Aliases CVE-2023-40195GHSA-8q28-pw9g-w82c

Apache Airflow Spark Provider Deserialization Vulnerability RCE

Priority MEDIUM 44CWE-502Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and GitHub. Impact type from CWE-502.

Summary

Deserialization of Untrusted Data, Inclusion of Functionality from Untrusted Control Sphere vulnerability in Apache Software Foundation Apache Airflow Spark Provider. When the Apache Spark provider is installed on an Airflow deployment, an Airflow user that is authorized to configure Spark hooks can effectively run arbitrary code on the Airflow node by pointing it at a malicious Spark server. Prior to version 4.1.3, this was not called out in the documentation explicitly, so it is possible that administrators provided authorizations to configure Spark hooks without taking this into account. We recommend administrators to review their configurations to make sure the authorization to configure Spark hooks is only provided to fully trusted users. To view the warning in the docs please visit  https://airflow.apache.org/docs/apache-airflow-providers-apache-spark/4.1.3/connections/spark.html

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.01858 79th percentileScored 2026-11-07
Fix Fixed Apache Airflow Spark Provider (Apache Software Foundation): 4.1.3apache-airflow-providers-apache-spark (PyPI): 4.1.3

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
ApacheApache Airflow Spark Providerbefore 4.1.34.1.3Patch availableCNA
—apache-airflow-providers-apache-spark (PyPI)before 4.1.34.1.3Patch availableGHSA-8q28-pw9g-w82c
  • Apache Airflow Spark Provider VendorApache Affected before 4.1.3 Fixed in 4.1.3 Patch available CNA
  • apache-airflow-providers-apache-spark (PyPI) Vendor— Affected before 4.1.3 Fixed in 4.1.3 Patch available GHSA-8q28-pw9g-w82c

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:apache:airflow_spark_provider:*:*:*:*:*:*:*:*before 4.1.3VulnerableApache
  • cpe:2.3:a:apache:airflow_spark_provider:*:*:*:*:*:*:*:* Versions before 4.1.3 Vulnerable ·Apache

Remediation

  • Fix · CNA Apache Airflow Spark Provider (Apache Software Foundation) Fixed in 4.1.3
  • Fix · GHSA-8q28-pw9g-w82c apache-airflow-providers-apache-spark (PyPI) Fixed in 4.1.3 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2023-40195
  2. 2026-10-03 Alias added: GHSA-8q28-pw9g-w82c

References

Sources