5.5

CVE-2022-40954: apache software foundation apache airflow OS Command Injection

CVSS: 5.5v3.1MediumModified
AliasesGHSA-45r6-j3cc-6mxxBIT-airflow-2022-40954PYSEC-2026-770
Published 22-11-2022Last modified 29-04-2025

Vulnerability summary

CVE-2022-40954 is a medium (CVSS 5.5) OS Command Injection vulnerability in apache software foundation apache airflow. EPSS estimates a 1.38% chance of exploitation in the next 30 days, higher than 71.6% of scored vulnerabilities.

Overall risk
22/100
0100
Low · default modelHow is this calculated?
CVSS score
5.5/10
010
Medium · v3.1 (CVE.org)
EPSS score
1.38%
0%100%
Low · -0.06 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 22-11-2022
    PublishedVulnerability first disclosed.
  2. 29-04-2025
    Last modifiedVulnerability information updated.

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).

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

1.38%

Chance of exploitation in the next 30 days

Percentile

72%

Versus all other CVEs

30-day change

-0.06 pp

From 1.44% on 18-09-2026

18-09-202618-10-2026
EPSS score
1.38%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Apache2 products
Apache software foundation2 products
PyPI1 product
  • apache-airflow< 2.3.0

3 vendors · 5 products

References

6 links