CVE-2022-40954
published medium CVSS 3.1 · 5.5Apache Airflow Spark Provider RCE that bypass restrictions to read arbitrary files
Package status and fixes
Description
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).
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.5 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Apache Software Foundation | Apache Airflow Spark Provider | 0 to < 4.0.0 (affected · semver) | apache · cna |
| Apache Software Foundation | Apache Airflow | 0 to < 2.3.0 (affected · semver) | apache · cna |
Weaknesses
1- CWE-78 CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
References
2Provider assertions
3apache · cna
Apache Airflow Spark Provider RCE that bypass restrictions to read arbitrary files
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 7c46e6390595bbd003069319a7fbdbb11c5659b0c336d7c32f2e7ab90e4de0a8
- Ingested
- 27 Nov 2026, 13:03:05 UTC
- Source record
- Official CVE record