Symlink and Path Traversal Vulnerability in Apache Airflow by Apache
CVE-2026-40861

Currently unrated

Key Information:

Vendor

Apache

Vendor
CVE Published:
1 June 2026

What is CVE-2026-40861?

A vulnerability exists in Apache Airflow that allows an attacker to exploit log directory configurations. By creating a symlink, an attacker can point to an arbitrary file that is accessible to the API server process. This read-path attack could expose sensitive files such as /etc/passwd or airflow.cfg. Additionally, a crafted task_id can contain sequences that bypass restrictions, leading to potential overwriting of files. This issue primarily affects installations where the worker log folder is shared with the API server. It is recommended that users upgrade to Apache Airflow version 3.2.2 or later. Implementing separate log volumes for workers and the API server adds an additional layer of security to mitigate risks.

Affected Version(s)

Apache Airflow 0 < 3.2.2

References

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Silas Boch
Lakshmikanthan K (letchupkt)
Jarek Potiuk
.