Skip to content

CVE-2026-40861 Apache Airflow: Arbitrary File Read via Log Symlink following in FileTaskHandler

MediumCVSS 6.5 EPSS 0.69%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

Description

A Dag author could either (a) create a symlink under their task's log directory pointing to an arbitrary file readable by the API server process (read-path attack — e.g. /etc/passwd or airflow.cfg) or (b) supply a task_id containing .. sequences accepted by the Task SDK's KEY_REGEX (write-path attack), and in both cases the FileTaskHandler resolves the log path outside the configured base_log_folder, leaking or overwriting arbitrary files. Only affects deployments where the worker log folder is shared with the API server. Users are advised to upgrade to apache-airflow 3.2.2 or later. As a defense-in-depth mitigation, deploy the worker and API server with separate log volumes so that worker-controlled paths cannot reach the API server's filesystem.

Upgrade path

3 packages: 3 fixed.

PackageAffectedFixed inStatus
apache airflow < 3.2.2 3.2.2 Fixed
pypi apache-airflow(PyPI) < 3.0.0; < 3.2.2; = 1.8.1; = 1.8.2 +287 more 3.0.0, 3.2.2 Fixed
pypi apache-airflow-core(PyPI) >= 3.0.0, < 3.2.2 3.2.2 Fixed

Affected products

ProductAffected versionsFixed in
pypi apache-airflow(PyPI) < 3.2.2 3.2.2
pypi apache-airflow(PyPI) = 1.10.0 No fix listed
pypi apache-airflow(PyPI) = 1.10.1 No fix listed
pypi apache-airflow(PyPI) = 1.10.10 No fix listed
pypi apache-airflow(PyPI) = 1.10.10rc1 No fix listed
pypi apache-airflow(PyPI) = 1.10.10rc2 No fix listed
pypi apache-airflow(PyPI) = 1.10.10rc3 No fix listed
pypi apache-airflow(PyPI) = 1.10.10rc4 No fix listed
pypi apache-airflow(PyPI) = 1.10.10rc5 No fix listed
pypi apache-airflow(PyPI) = 1.10.11 No fix listed
pypi apache-airflow(PyPI) = 1.10.11rc1 No fix listed
pypi apache-airflow(PyPI) = 1.10.11rc2 No fix listed
pypi apache-airflow(PyPI) = 1.10.12 No fix listed
pypi apache-airflow(PyPI) = 1.10.12rc1 No fix listed
pypi apache-airflow(PyPI) = 1.10.12rc2 No fix listed
pypi apache-airflow(PyPI) = 1.10.12rc3 No fix listed
pypi apache-airflow(PyPI) = 1.10.12rc4 No fix listed
pypi apache-airflow(PyPI) = 1.10.13 No fix listed
pypi apache-airflow(PyPI) = 1.10.13rc1 No fix listed
pypi apache-airflow(PyPI) = 1.10.14 No fix listed
pypi apache-airflow(PyPI) = 1.10.14rc1 No fix listed
pypi apache-airflow(PyPI) = 1.10.14rc2 No fix listed
pypi apache-airflow(PyPI) = 1.10.14rc3 No fix listed
pypi apache-airflow(PyPI) = 1.10.14rc4 No fix listed
pypi apache-airflow(PyPI) = 1.10.15 No fix listed
Show 175 more
ProductAffected versionsFixed in
pypi apache-airflow(PyPI) = 1.10.15rc1 No fix listed
pypi apache-airflow(PyPI) = 1.10.1b1 No fix listed
pypi apache-airflow(PyPI) = 1.10.1rc2 No fix listed
pypi apache-airflow(PyPI) = 1.10.2 No fix listed
pypi apache-airflow(PyPI) = 1.10.2b2 No fix listed
pypi apache-airflow(PyPI) = 1.10.2rc1 No fix listed
pypi apache-airflow(PyPI) = 1.10.2rc2 No fix listed
pypi apache-airflow(PyPI) = 1.10.2rc3 No fix listed
pypi apache-airflow(PyPI) = 1.10.3 No fix listed
pypi apache-airflow(PyPI) = 1.10.3b1 No fix listed
pypi apache-airflow(PyPI) = 1.10.3b2 No fix listed
pypi apache-airflow(PyPI) = 1.10.3rc1 No fix listed
pypi apache-airflow(PyPI) = 1.10.3rc2 No fix listed
pypi apache-airflow(PyPI) = 1.10.4 No fix listed
pypi apache-airflow(PyPI) = 1.10.4b2 No fix listed
pypi apache-airflow(PyPI) = 1.10.4rc1 No fix listed
pypi apache-airflow(PyPI) = 1.10.4rc2 No fix listed
pypi apache-airflow(PyPI) = 1.10.4rc3 No fix listed
pypi apache-airflow(PyPI) = 1.10.4rc4 No fix listed
pypi apache-airflow(PyPI) = 1.10.4rc5 No fix listed
pypi apache-airflow(PyPI) = 1.10.5 No fix listed
pypi apache-airflow(PyPI) = 1.10.5rc1 No fix listed
pypi apache-airflow(PyPI) = 1.10.6 No fix listed
pypi apache-airflow(PyPI) = 1.10.6rc1 No fix listed
pypi apache-airflow(PyPI) = 1.10.6rc2 No fix listed
pypi apache-airflow(PyPI) = 1.10.7 No fix listed
pypi apache-airflow(PyPI) = 1.10.7rc1 No fix listed
pypi apache-airflow(PyPI) = 1.10.7rc2 No fix listed
pypi apache-airflow(PyPI) = 1.10.7rc3 No fix listed
pypi apache-airflow(PyPI) = 1.10.8 No fix listed
pypi apache-airflow(PyPI) = 1.10.8rc1 No fix listed
pypi apache-airflow(PyPI) = 1.10.9 No fix listed
pypi apache-airflow(PyPI) = 1.10.9rc1 No fix listed
pypi apache-airflow(PyPI) = 1.8.1 No fix listed
pypi apache-airflow(PyPI) = 1.8.2 No fix listed
pypi apache-airflow(PyPI) = 1.8.2rc1 No fix listed
pypi apache-airflow(PyPI) = 1.9.0 No fix listed
pypi apache-airflow(PyPI) = 2.0.0 No fix listed
pypi apache-airflow(PyPI) = 2.0.0b1 No fix listed
pypi apache-airflow(PyPI) = 2.0.0b2 No fix listed
pypi apache-airflow(PyPI) = 2.0.0b3 No fix listed
pypi apache-airflow(PyPI) = 2.0.0rc1 No fix listed
pypi apache-airflow(PyPI) = 2.0.0rc2 No fix listed
pypi apache-airflow(PyPI) = 2.0.0rc3 No fix listed
pypi apache-airflow(PyPI) = 2.0.1 No fix listed
pypi apache-airflow(PyPI) = 2.0.1rc1 No fix listed
pypi apache-airflow(PyPI) = 2.0.1rc2 No fix listed
pypi apache-airflow(PyPI) = 2.0.2 No fix listed
pypi apache-airflow(PyPI) = 2.0.2rc1 No fix listed
pypi apache-airflow(PyPI) = 2.1.0 No fix listed
pypi apache-airflow(PyPI) = 2.1.0rc1 No fix listed
pypi apache-airflow(PyPI) = 2.1.0rc2 No fix listed
pypi apache-airflow(PyPI) = 2.1.1 No fix listed
pypi apache-airflow(PyPI) = 2.1.1rc1 No fix listed
pypi apache-airflow(PyPI) = 2.1.2 No fix listed
pypi apache-airflow(PyPI) = 2.1.2rc1 No fix listed
pypi apache-airflow(PyPI) = 2.1.3 No fix listed
pypi apache-airflow(PyPI) = 2.1.3rc1 No fix listed
pypi apache-airflow(PyPI) = 2.1.4 No fix listed
pypi apache-airflow(PyPI) = 2.1.4rc1 No fix listed
pypi apache-airflow(PyPI) = 2.1.4rc2 No fix listed
pypi apache-airflow(PyPI) = 2.10.0 No fix listed
pypi apache-airflow(PyPI) = 2.10.0b1 No fix listed
pypi apache-airflow(PyPI) = 2.10.0b2 No fix listed
pypi apache-airflow(PyPI) = 2.10.0rc1 No fix listed
pypi apache-airflow(PyPI) = 2.10.1 No fix listed
pypi apache-airflow(PyPI) = 2.10.1rc1 No fix listed
pypi apache-airflow(PyPI) = 2.10.2 No fix listed
pypi apache-airflow(PyPI) = 2.10.2rc1 No fix listed
pypi apache-airflow(PyPI) = 2.10.3 No fix listed
pypi apache-airflow(PyPI) = 2.10.3rc1 No fix listed
pypi apache-airflow(PyPI) = 2.10.3rc2 No fix listed
pypi apache-airflow(PyPI) = 2.10.4 No fix listed
pypi apache-airflow(PyPI) = 2.10.4rc1 No fix listed
pypi apache-airflow(PyPI) = 2.10.5 No fix listed
pypi apache-airflow(PyPI) = 2.10.5rc1 No fix listed
pypi apache-airflow(PyPI) = 2.11.0 No fix listed
pypi apache-airflow(PyPI) = 2.11.0rc1 No fix listed
pypi apache-airflow(PyPI) = 2.11.1 No fix listed
pypi apache-airflow(PyPI) = 2.11.1rc1 No fix listed
pypi apache-airflow(PyPI) = 2.11.1rc2 No fix listed
pypi apache-airflow(PyPI) = 2.11.2 No fix listed
pypi apache-airflow(PyPI) = 2.11.2rc1 No fix listed
pypi apache-airflow(PyPI) = 2.2.0 No fix listed
pypi apache-airflow(PyPI) = 2.2.0b1 No fix listed
pypi apache-airflow(PyPI) = 2.2.0b2 No fix listed
pypi apache-airflow(PyPI) = 2.2.0rc1 No fix listed
pypi apache-airflow(PyPI) = 2.2.1 No fix listed
pypi apache-airflow(PyPI) = 2.2.1rc1 No fix listed
pypi apache-airflow(PyPI) = 2.2.1rc2 No fix listed
pypi apache-airflow(PyPI) = 2.2.2 No fix listed
pypi apache-airflow(PyPI) = 2.2.2rc1 No fix listed
pypi apache-airflow(PyPI) = 2.2.2rc2 No fix listed
pypi apache-airflow(PyPI) = 2.2.3 No fix listed
pypi apache-airflow(PyPI) = 2.2.3rc1 No fix listed
pypi apache-airflow(PyPI) = 2.2.3rc2 No fix listed
pypi apache-airflow(PyPI) = 2.2.4 No fix listed
pypi apache-airflow(PyPI) = 2.2.4rc1 No fix listed
pypi apache-airflow(PyPI) = 2.2.5 No fix listed
pypi apache-airflow(PyPI) = 2.2.5rc1 No fix listed
pypi apache-airflow(PyPI) = 2.2.5rc2 No fix listed
pypi apache-airflow(PyPI) = 2.2.5rc3 No fix listed
pypi apache-airflow(PyPI) = 2.3.0 No fix listed
pypi apache-airflow(PyPI) = 2.3.0b1 No fix listed
pypi apache-airflow(PyPI) = 2.3.0rc1 No fix listed
pypi apache-airflow(PyPI) = 2.3.0rc2 No fix listed
pypi apache-airflow(PyPI) = 2.3.1 No fix listed
pypi apache-airflow(PyPI) = 2.3.1rc1 No fix listed
pypi apache-airflow(PyPI) = 2.3.2 No fix listed
pypi apache-airflow(PyPI) = 2.3.2rc1 No fix listed
pypi apache-airflow(PyPI) = 2.3.2rc2 No fix listed
pypi apache-airflow(PyPI) = 2.3.3 No fix listed
pypi apache-airflow(PyPI) = 2.3.3rc1 No fix listed
pypi apache-airflow(PyPI) = 2.3.3rc2 No fix listed
pypi apache-airflow(PyPI) = 2.3.3rc3 No fix listed
pypi apache-airflow(PyPI) = 2.3.4 No fix listed
pypi apache-airflow(PyPI) = 2.3.4rc1 No fix listed
pypi apache-airflow(PyPI) = 2.4.0 No fix listed
pypi apache-airflow(PyPI) = 2.4.0b1 No fix listed
pypi apache-airflow(PyPI) = 2.4.0rc1 No fix listed
pypi apache-airflow(PyPI) = 2.4.1 No fix listed
pypi apache-airflow(PyPI) = 2.4.1rc1 No fix listed
pypi apache-airflow(PyPI) = 2.4.2 No fix listed
pypi apache-airflow(PyPI) = 2.4.2rc1 No fix listed
pypi apache-airflow(PyPI) = 2.4.3 No fix listed
pypi apache-airflow(PyPI) = 2.4.3rc1 No fix listed
pypi apache-airflow(PyPI) = 2.5.0 No fix listed
pypi apache-airflow(PyPI) = 2.5.0rc1 No fix listed
pypi apache-airflow(PyPI) = 2.5.0rc2 No fix listed
pypi apache-airflow(PyPI) = 2.5.0rc3 No fix listed
pypi apache-airflow(PyPI) = 2.5.1 No fix listed
pypi apache-airflow(PyPI) = 2.5.1rc1 No fix listed
pypi apache-airflow(PyPI) = 2.5.1rc2 No fix listed
pypi apache-airflow(PyPI) = 2.5.2 No fix listed
pypi apache-airflow(PyPI) = 2.5.2rc1 No fix listed
pypi apache-airflow(PyPI) = 2.5.2rc2 No fix listed
pypi apache-airflow(PyPI) = 2.5.3 No fix listed
pypi apache-airflow(PyPI) = 2.5.3rc1 No fix listed
pypi apache-airflow(PyPI) = 2.5.3rc2 No fix listed
pypi apache-airflow(PyPI) = 2.6.0 No fix listed
pypi apache-airflow(PyPI) = 2.6.0b1 No fix listed
pypi apache-airflow(PyPI) = 2.6.0rc1 No fix listed
pypi apache-airflow(PyPI) = 2.6.0rc2 No fix listed
pypi apache-airflow(PyPI) = 2.6.0rc3 No fix listed
pypi apache-airflow(PyPI) = 2.6.0rc4 No fix listed
pypi apache-airflow(PyPI) = 2.6.0rc5 No fix listed
pypi apache-airflow(PyPI) = 2.6.1 No fix listed
pypi apache-airflow(PyPI) = 2.6.1rc1 No fix listed
pypi apache-airflow(PyPI) = 2.6.1rc2 No fix listed
pypi apache-airflow(PyPI) = 2.6.1rc3 No fix listed
pypi apache-airflow(PyPI) = 2.6.2 No fix listed
pypi apache-airflow(PyPI) = 2.6.2rc1 No fix listed
pypi apache-airflow(PyPI) = 2.6.2rc2 No fix listed
pypi apache-airflow(PyPI) = 2.6.3 No fix listed
pypi apache-airflow(PyPI) = 2.6.3rc1 No fix listed
pypi apache-airflow(PyPI) = 2.7.0 No fix listed
pypi apache-airflow(PyPI) = 2.7.0b1 No fix listed
pypi apache-airflow(PyPI) = 2.7.0rc1 No fix listed
pypi apache-airflow(PyPI) = 2.7.0rc2 No fix listed
pypi apache-airflow(PyPI) = 2.7.1 No fix listed
pypi apache-airflow(PyPI) = 2.7.1rc1 No fix listed
pypi apache-airflow(PyPI) = 2.7.1rc2 No fix listed
pypi apache-airflow(PyPI) = 2.7.2 No fix listed
pypi apache-airflow(PyPI) = 2.7.2rc1 No fix listed
pypi apache-airflow(PyPI) = 2.7.3 No fix listed
pypi apache-airflow(PyPI) = 2.7.3rc1 No fix listed
pypi apache-airflow(PyPI) = 2.8.0 No fix listed
pypi apache-airflow(PyPI) = 2.8.0b1 No fix listed
pypi apache-airflow(PyPI) = 2.8.0rc1 No fix listed
pypi apache-airflow(PyPI) = 2.8.0rc2 No fix listed
pypi apache-airflow(PyPI) = 2.8.0rc3 No fix listed
pypi apache-airflow(PyPI) = 2.8.0rc4 No fix listed
pypi apache-airflow(PyPI) = 2.8.1 No fix listed
pypi apache-airflow(PyPI) = 2.8.1rc1 No fix listed
pypi apache-airflow(PyPI) = 2.8.2 No fix listed

References