Security mailing lists by PureSourceCode

CVE-2022-40954

MEDIUM 5.5CVSS 3.1

Apache Airflow Spark Provider RCE that bypass restrictions to read arbitrary files

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

Published
22 Nov 2022
Last modified
27 Nov 2026
Assigned by
security@apache.org
NVD status
Modified
Weakness
CWE-78
Also known as
BIT-airflow-2022-40954GHSA-45r6-j3cc-6mxxPYSEC-2026-770
Sources
NVDJSONCVE ListJSONOSV GHSA-45r6-j3cc-6mxxJSONOSV PYSEC-2026-770JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 MEDIUM 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
CVE List CISA-ADP CVSS 3.1 MEDIUM 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
OSV GitHub CVSS 3.1 MEDIUM 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
OSV PyPA CVSS 3.1 MEDIUM 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
CVE List CISA-ADP SSVC Exploitation: none; Automatable: no; Technical Impact: partial

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD apache airflow
cpe:2.3:a:apache:airflow:*:*:*:*:*:*:*:*
< 2.3.0 2.3.0
NVD apache apache-airflow-providers-apache-spark
cpe:2.3:a:apache:apache-airflow-providers-apache-spark:*:*:*:*:*:*:*:*
< 4.0.0 4.0.0
CVE List Apache Software Foundation Apache Airflow Spark Provider < 4.0.0 4.0.0
CVE List Apache Software Foundation Apache Airflow < 2.3.0 2.3.0
OSV PyPI apache-airflow < 2.3.0 2.3.0

References

History

  • 27 Nov 2026 14:57 UTC · NVD: updated (other details)
  • 27 Nov 2026 13:57 UTC · CVE List: first stored (published 22 Nov 2022)
  • 25 Nov 2026 20:35 UTC · NVD: first stored (published 22 Nov 2022)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 22 Nov 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.