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.
CVE-2026-40861
Score 6.5 from GitHub Security Advisory published 2026-06-01. CISA-ADP (Vulnrichment) CVSS v3.1 baseline 6.5; sources differ by 0.0.
- Lower severity and no public exploit yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 6.5
- EG Score
- 6.5(medium)
- EG Risk
- 30(Track)EG Risk 30/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity65% × 45%Exploitation1% × 40%Automatability0% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 1%
- EPSS %ILE
- 50%
- KEV
- Not listed
Published
June 1, 2026
Last Modified
July 21, 2026
Advisory Details (3)
Auto-updated Jun 13, 2026oss-security - CVE-2026-40861: Apache Airflow: Arbitrary File Read via Log Symlink following in FileTaskHandler
http://www.openwall.com/lists/oss-security/2026/05/31/1Refuse to follow log symlinks that resolve outside the base log folder
Fix merged in apache/airflow PR #65325 on 2026-04-16 — awaiting tagged release
https://github.com/apache/airflow/pull/65325Vendor Advisories for CVE-2026-40861(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Affected Packages
(1 across 1 ecosystem)
PyPI(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| apache-airflow | 1.10.0 ... 3.2.2rc3 (289 versions) | 3.2.2 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 9× in last 7d / 50× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 152 total refreshes for this CVE.
- 2026-08-25 13:49 UTCEPSS rescore
- 2026-08-25 03:58 UTCEG score recompute
- 2026-08-23 13:57 UTCEG score recompute
- 2026-08-23 00:19 UTCEPSS rescore
- 2026-08-21 23:49 UTCEPSS rescore
- 2026-08-21 14:53 UTCEG score recompute
- 2026-08-20 22:55 UTCEPSS rescore
- 2026-08-20 10:19 UTCEG score recompute
- 2026-08-19 17:03 UTCEPSS rescore
- 2026-08-18 13:48 UTCEPSS rescore
- 2026-08-17 13:47 UTCEPSS rescore
- 2026-08-17 06:45 UTCEG score recompute
- 2026-08-16 14:56 UTCEPSS rescore
- 2026-08-16 02:22 UTCEG score recompute
- 2026-08-16 02:14 UTCEPSS rescore
- 2026-08-15 03:52 UTCEG score recompute
- 2026-08-15 01:30 UTCEPSS rescore
- 2026-08-14 05:56 UTCEG score recompute
- 2026-08-13 22:00 UTCEPSS rescore
- 2026-08-13 08:00 UTCEG score recompute
- 2026-08-12 13:51 UTCEPSS rescore
- 2026-08-12 08:59 UTCEG score recompute
- 2026-08-11 13:43 UTCEPSS rescore
- 2026-08-11 08:22 UTCEG score recompute
- 2026-08-11 00:00 UTCEPSS rescore
Show 75 moreShow fewer
- 2026-08-10 10:23 UTCEG score recompute
- 2026-08-09 13:46 UTCEPSS rescore
- 2026-08-09 12:27 UTCEG score recompute
- 2026-08-08 16:37 UTCEPSS rescore
- 2026-08-07 16:32 UTCEG score recompute
- 2026-08-06 18:36 UTCEG score recompute
- 2026-08-06 13:46 UTCEPSS rescore
- 2026-08-05 20:40 UTCEG score recompute
- 2026-08-05 19:17 UTCEPSS rescore
- 2026-08-04 22:44 UTCEG score recompute
- 2026-08-04 15:10 UTCEPSS rescore
- 2026-08-04 10:38 UTCEPSS rescore
- 2026-08-03 15:52 UTCEG score recompute
- 2026-08-03 10:36 UTCEPSS rescore
- 2026-08-02 11:51 UTCEG score recompute
- 2026-08-02 02:27 UTCEPSS rescore
- 2026-08-01 13:43 UTCEG score recompute
- 2026-08-01 04:16 UTCEPSS rescore
- 2026-07-31 05:46 UTCEG score recompute
- 2026-07-30 16:28 UTCEPSS rescore
- 2026-07-30 01:30 UTCEPSS rescore
- 2026-07-29 11:17 UTCEG score recompute
- 2026-07-28 15:36 UTCEPSS rescore
- 2026-07-28 03:55 UTCEG score recompute
- 2026-07-27 14:13 UTCEPSS rescore
- 2026-07-27 02:06 UTCEG score recompute
- 2026-07-26 14:54 UTCEPSS rescore
- 2026-07-26 14:54 UTCEPSS rescore
- 2026-07-25 14:18 UTCEPSS rescore
- 2026-07-24 14:17 UTCEPSS rescore
- 2026-07-23 14:18 UTCEPSS rescore
- 2026-07-23 03:11 UTCEG score recompute
- 2026-07-22 14:08 UTCEPSS rescore
- 2026-07-21 15:24 UTCEPSS rescore
- 2026-07-20 17:08 UTCEPSS rescore
- 2026-07-19 14:31 UTCEPSS rescore
- 2026-07-19 02:29 UTCEPSS rescore
- 2026-07-18 10:04 UTCEPSS rescore
- 2026-07-16 17:03 UTCEPSS rescore
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-15 02:00 UTCEPSS rescore
- 2026-07-13 22:30 UTCEPSS rescore
- 2026-07-13 06:13 UTCEPSS rescore
- 2026-07-13 06:13 UTCEPSS rescore
- 2026-07-12 05:46 UTCEPSS rescore
- 2026-07-11 08:27 UTCEPSS rescore
- 2026-07-09 19:10 UTCEPSS rescore
- 2026-07-08 17:05 UTCGHSA enrichment
- 2026-07-08 15:15 UTCEPSS rescore
- 2026-07-07 13:46 UTCEPSS rescore
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-02 02:31 UTCGHSA enrichment
- 2026-07-01 15:06 UTCEPSS rescore
- 2026-07-01 00:46 UTCGHSA enrichment
- 2026-06-30 23:22 UTCEPSS rescore
- 2026-06-29 14:10 UTCGHSA enrichment
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-28 16:14 UTCGHSA enrichment
- 2026-06-28 14:07 UTCEPSS rescore
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-27 18:17 UTCGHSA enrichment
- 2026-06-27 03:08 UTCEPSS rescore
- 2026-06-26 20:19 UTCGHSA enrichment
- 2026-06-25 22:22 UTCGHSA enrichment
- 2026-06-25 13:49 UTCEPSS rescore
- 2026-06-25 13:49 UTCEPSS rescore
- 2026-06-25 00:22 UTCGHSA enrichment
- 2026-06-24 14:05 UTCEPSS rescore
- 2026-06-24 02:15 UTCGHSA enrichment
Related CVEs(same CWE)
Frequently asked(5)
What is CVE-2026-40861?
When was CVE-2026-40861 disclosed?
Is CVE-2026-40861 actively exploited?
What is the CVSS score of CVE-2026-40861?
How do I remediate CVE-2026-40861?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-40861
Is Your Infrastructure Affected by CVE-2026-40861?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.