Apache Airflow Spark Provider RCE that bypass restrictions to read arbitrary files
CVE-2022-40954
Key Information:
- Vendor
Apache
- Vendor
- CVE Published:
- 22 November 2022
Key facts: CVE-2022-40954 is a medium severity (CVSS 5.5) vulnerability in Apache Airflow and Apache Airflow Spark Provider. No exploitation in the wild or public proof-of-concept has been recorded so far. Its EPSS score is 1.7%, the estimated probability of exploitation in the next 30 days. Fixed in Apache Airflow 2.3.0; Apache Airflow Spark Provider 4.0.0.
What is CVE-2022-40954?
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') vulnerability in Apache Airflow Spark Provider, Apache Airflow allows an attacker to read arbtrary files in the task execution context, without write access to DAG files. This issue affects Spark Provider versions prior to 4.0.0. It also impacts any Apache Airflow versions prior to 2.3.0 in case Spark Provider is installed (Spark Provider 4.0.0 can only be installed for Airflow 2.3.0+). Note that you need to manually install the Spark Provider version 4.0.0 in order to get rid of the vulnerability on top of Airflow 2.3.0+ version that has lower version of the Spark Provider installed).
Affected Version(s)
Apache Airflow 0 < 2.3.0
Apache Airflow Spark Provider 0 < 4.0.0
References
More Apache vulnerabilities
- CVE-2026-133325: Key Exchange Vulnerability in Apache Tomcat Products by Apache
- CVE-2026-116561: Improper Exception Management in Apache Tomcat Affects Multiple Versions
- CVE-2026-129448: Deserialization Vulnerability in Apache Roller Affects Multiple Versions
- CVE-2026-119618: Improper Synchronization Vulnerability in Apache HTTP Server's mod_http2
- CVE-2026-90436: Deserialization Vulnerability in Apache Axis 1.x Allows Remote Code Execution
- CVE-2026-121489: Path Traversal Vulnerability in Apache Juneau
- CVE-2026-118636: Remote Code Execution Vulnerability in Apache MINA Codec Module
- CVE-2026-64618: SQL Injection Vulnerability in Apache Fineract Affecting Specific API Endpoint
CVSS V3.1
Timeline
Vulnerability published
Vulnerability Reserved