CVE Explorer
CVE-2026-40861
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 lo
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"collectionURL":"https://pypi.python.org","defaultStatus":"unaffected","packageName":"apache-airflow","product":"Apache Airflow","vendor":"Apache Software Foundation","versions":[{"lessThan":"3.2.2","status":"affected","version":"0","versionType":"semver"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:482cc0f189a295f1290c3cbb4cb6c0bcf323ab4597b5c4dbfbd9de2a0697717c · sha256:ca67b1c49fdd184e… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.5,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:482cc0f189a295f1290c3cbb4cb6c0bcf323ab4597b5c4dbfbd9de2a0697717c · sha256:ca67b1c49fdd184e… · /containers/adp/1/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-59","description":"CWE-59: Improper Link Resolution Before File Access ('Link Following')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:482cc0f189a295f1290c3cbb4cb6c0bcf323ab4597b5c4dbfbd9de2a0697717c · sha256:ca67b1c49fdd184e… · /containers/cna/problemTypes/0/descriptions/0
Source references
3 source assertions{"url":"http://www.openwall.com/lists/oss-security/2026/05/31/1"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:482cc0f189a295f1290c3cbb4cb6c0bcf323ab4597b5c4dbfbd9de2a0697717c · sha256:ca67b1c49fdd184e… · /containers/adp/0/references/0
{"tags":["patch"],"url":"https://github.com/apache/airflow/pull/65325"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:482cc0f189a295f1290c3cbb4cb6c0bcf323ab4597b5c4dbfbd9de2a0697717c · sha256:ca67b1c49fdd184e… · /containers/cna/references/0
{"tags":["vendor-advisory"],"url":"https://lists.apache.org/thread/823334db2559xjlwt59gpzjz47thnscl"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:482cc0f189a295f1290c3cbb4cb6c0bcf323ab4597b5c4dbfbd9de2a0697717c · sha256:ca67b1c49fdd184e… · /containers/cna/references/1
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.