Apache Airflow Spark Provider Deserialization Vulnerability RCE
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
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
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Apache | Apache Airflow Spark Provider | before 4.1.3 | 4.1.3 | Patch available | CNA |
| — | apache-airflow-providers-apache-spark (PyPI) | before 4.1.3 | 4.1.3 | Patch available | GHSA-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
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
- 2026-10-02 Threatist record created from CVE-2023-40195
- 2026-10-03 Alias added: GHSA-8q28-pw9g-w82c
References
Advisory 2
Sources
- CVE-2023-40195 · CVE Program
- CVE-2023-40195 · NVD
- FIRST EPSS
- GHSA-8q28-pw9g-w82c · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences