Link following in Apache Airflow - CVE-2026-40861

 

Link following in Apache Airflow - CVE-2026-40861

Published: June 4, 2026


Vulnerability identifier: #VU133374
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2026-40861
CWE-ID: CWE-59
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Apache Foundation
Affected software:
Apache Airflow

Detailed vulnerability description

The vulnerability allows a remote user to read arbitrary files.

The vulnerability exists due to improper link resolution in FileTaskHandler when processing task log paths. A remote user can create a symlink under a task log directory to read arbitrary files.

Only deployments where the worker log folder is shared with the API server are affected.


How to mitigate CVE-2026-40861

Install security update from vendor's website.

Sources