PT-2022-25638 · Apache · Apache Airflow Spark Provider+1

·

CVE-2022-40954

·

Published

2022-11-22

·

Updated

2026-07-07

CVSS v3.1

5.5

Medium

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions Apache Airflow Spark Provider versions prior to 4.0.0 Apache Airflow versions prior to 2.3.0
Description The issue is related to an Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') vulnerability in Apache Airflow Spark Provider. This allows an attacker to read arbitrary files in the task execution context without write access to DAG files.
Recommendations For Apache Airflow Spark Provider versions prior to 4.0.0, manually install Spark Provider version 4.0.0 to resolve the issue. For Apache Airflow versions prior to 2.3.0, update to version 2.3.0 or later and manually install Spark Provider version 4.0.0 to resolve the issue. For Apache Airflow 2.3.0+ versions with a lower version of the Spark Provider installed, manually install Spark Provider version 4.0.0 to resolve the issue.

Exploit

Fix

OS Command Injection

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BIT-AIRFLOW-2022-40954
CVE-2022-40954
GHSA-45R6-J3CC-6MXX
PYSEC-2026-770

Affected Products

Apache Airflow
Apache Airflow Spark Provider