CVE-2023-22887
Apache Airflow vulnerability analysis and mitigation

Overview

Apache Airflow versions before 2.6.3 contained a path traversal vulnerability (CVE-2023-22887) that allowed authenticated users to perform unauthorized file access outside the intended directory structure by manipulating the run_id parameter. The vulnerability was discovered and disclosed in July 2023 (NVD).

Technical details

The vulnerability is classified as CWE-22 (Improper Limitation of a Pathname to a Restricted Directory) with a CVSS v3.1 base score of 6.5 (Medium). The attack vector is network-based, requires low attack complexity and low privileges, but no user interaction. The scope is unchanged, with high confidentiality impact but no impact on integrity or availability (NVD).

Impact

The vulnerability allows authenticated attackers to access files outside the intended directory structure through path traversal manipulation of the run_id parameter. While the impact is considered low since it requires authentication, successful exploitation could lead to unauthorized access to sensitive files on the system (Apache Mailing List).

Mitigation and workarounds

The vulnerability was fixed in Apache Airflow version 2.6.3 by introducing a configurable option to sanitize the DagRun.runid parameter. The fix includes a pattern validation mechanism that allows users to specify acceptable runid patterns while maintaining stricter control over the values used. Users are strongly recommended to upgrade to version 2.6.3 or later (GitHub PR).

Additional resources


SourceThis report was generated using AI

Related Apache Airflow vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2024-45784HIGH7.5
  • Apache AirflowApache Airflow
  • apache-airflow
NoYesNov 15, 2024
CVE-2025-54831MEDIUM6.5
  • Apache AirflowApache Airflow
  • airflow
NoYesSep 26, 2025
CVE-2025-62402MEDIUM5.4
  • Apache AirflowApache Airflow
  • airflow-3
NoYesOct 30, 2025
CVE-2025-62503MEDIUM4.6
  • Apache AirflowApache Airflow
  • airflow-3
NoYesOct 30, 2025
CVE-2025-54941MEDIUM4.6
  • Apache AirflowApache Airflow
  • airflow
NoYesOct 30, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management