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: 5.3 [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]
CVE-ID: CVE-2026-40861
CWE-ID: CWE-59
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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.


Affected software

Apache Airflow

How to mitigate CVE-2026-40861

Install security update from vendor's website.

Apache Airflow - update to 3.2.2

External References

Related Security Bulletins