Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-40861

published medium CVSS 3.1 · 6.5

Apache Airflow: Arbitrary File Read via Log Symlink following in FileTaskHandler

Published
01 Jun 2026, 07:55:37 UTC
Updated
03 Nov 2026, 06:54:55 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Apache Software Foundation — apache-airflowApache Airflow · 0 to < 3.0.0 · Other versions: unaffected Affected Not stated apache
Apache Software Foundation — apache-airflow-coreApache Airflow · 3.0.0 to < 3.2.2 · Other versions: unaffected Affected Not stated apache

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.

en · apache · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
6.5 / 10
Severity
medium
Provider
CISA-ADP · adp
Vector string
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Apache Software Foundation Apache Airflow 0 to < 3.0.0 (affected · semver)Default: unaffected apache · cna
Apache Software Foundation Apache Airflow 3.0.0 to < 3.2.2 (affected · semver)Default: unaffected apache · cna

Weaknesses

1
  • CWE-59 CWE-59: Improper Link Resolution Before File Access ('Link Following') (apache · cna)

References

3

Provider assertions

3

apache · cna

Apache Airflow: Arbitrary File Read via Log Symlink following in FileTaskHandler

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
c82edb15445b33ae7f7be010ce233b4d7354eb4585bfed67c7aa8b6838936dca
Ingested
03 Nov 2026, 07:03:29 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected