GHSA-89cj-xrpx-j79m
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as low-privilege Airflow user
-
DeliveryAuthor DAG task that writes symlink into log directory pointing to target file
-
ExploitTrigger task execution on worker node
-
ExecutionAirflow FileTaskHandler globs log directory and follows symlink without containment check
-
ImpactRead arbitrary file contents returned via Airflow log API or UI
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Symlink resolution safety
|
| Exploitation Conditions | Exploitation requires an authenticated Airflow account with at least low-level privileges (confirmed by CVSS PR:L), sufficient to submit or trigger a DAG or task that can create files or symlinks within the task's log directory on the Airflow worker or scheduler filesystem. The victim deployment must use the default FileTaskHandler with local filesystem log storage - deployments that route logs exclusively to remote backends (S3, GCS, Elasticsearch) are not affected by this code path. The attacker must also be able to read back task logs through the Airflow UI or API. Exploitation is limited to confidentiality (C:H); no write or execution primitive is provided by this vulnerability. Anonymous or unauthenticated exploitation is not possible. |
| Impact | The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N) scores 6.5 Medium, correctly reflecting network-reachable exploitation requiring only low-privilege credentials, no user interaction, and yielding high confidentiality impact with no integrity or availability loss. The PR:L requirement is a meaningful constraint: anonymous exploitation is not possible; an adversary must first obtain a valid Airflow account or API token. The EPSS score of 0.02% (5th percentile) and absence from CISA KEV align with this - exploitation requires deliberate targeting of a specific Airflow deployment by an insider or compromised account holder, not opportunistic scanning. There is no confirmed public proof-of-concept at time of analysis. Despite the low EPSS, the C:H rating is not inflated: successful exploitation can expose secrets files, SSH private keys, or Airflow's own secrets backend configuration, making this high priority for multi-tenant Airflow deployments where untrusted users exist. Single-tenant, tightly controlled environments face lower realistic risk. |
| Exploit ScenarioDerived | An adversary holding a low-privilege Airflow account (e.g., a developer with DAG authoring rights) writes a DAG that, as part of task execution, creates a symbolic link inside the task's log directory - for example, linking '1.log.secret' to '/home/airflow/.ssh/id_rsa'. When the Airflow UI or API retrieves logs for that task, FileTaskHandler._read_from_local() globs the log directory, matches the symlink, follows it without validation, and streams the SSH private key contents back to the requesting user's browser or API response. No public proof-of-concept exists, but the attack is straightforward to construct given the PR diff. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 02, 2026
Arbitrary file read in Apache Airflow's FileTaskHandler allows authenticated users to read files outside the designated log directory by placing symlinks within the log folder tree. Versions prior to 3.2.2 are affected. Because FileTaskHandler._read_from_local() resolved glob matches without first verifying that a symlink's real path stays within the configured base log folder, a low-privileged Airflow user could exfiltrate sensitive server-side files - credentials, keys, or configuration - by directing log reads through a crafted symlink. No public exploit code exists and the vulnerability is not in CISA KEV, though the CVSS C:H rating reflects genuine confidentiality risk.
RemediationAI
Upgrade Apache Airflow to version 3.2.2 or later, which contains the upstream fix from PR #65325 (https://github.com/apache/airflow/pull/65325). The fix is a path-containment enforcement change in FileTaskHandler._read_from_local() requiring no configuration changes post-upgrade. If an immediate upgrade is not feasible, restrict the ability of non-administrative Airflow users to write files or create symlinks within the Airflow log directory (base_log_folder) at the filesystem level using OS permissions (e.g., chmod 755 on log parent directories, ensuring only the airflow service account can write). This compensating control eliminates the attacker's ability to plant the malicious symlink, though it trades off against DAG-authored log customisation features. Alternatively, switching to a remote log backend (S3, GCS, Azure Blob) removes the local FileTaskHandler entirely and eliminates this vulnerability surface. Vendor advisory thread: https://lists.apache.org/thread/823334db2559xjlwt59gpzjz47thnscl.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Apache Airflow's FileTaskHandler (airflow-core/src/airflow/utils/log/file_task_handler.py) is responsible for writing and reading task execution logs to a configured base_log_folder on disk. The _read_from_local() method uses a glob pattern to discover log files associated with a task instance and opens each matching path directly. Prior to 3.2.2, the code called open(path) on raw glob results without resolving symlinks or validating path containment, a classic CWE-59 (Improper Link Resolution Before File Access - 'Link Following') defect. An attacker-controlled symlink matching the glob pattern (e.g., '1.log.external') inside a log subdirectory could point anywhere on the filesystem. The fix in PR #65325 introduces os.path.realpath() on both the base log folder and each glob hit, then uses os.path.commonpath() to enforce containment - rejecting any resolved path whose canonical form does not begin with the canonical base_log_folder. The affected CPE range is Apache Airflow 0 through < 3.2.2 per EUVD-2026-33598.
Know when Airflow gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Primary rating from Vendor (CNA) · only source for this CVE.
CVSS VectorVendor
Lifecycle Timeline
4Description PRE-NVD
Blast Radius
ecosystem impact- 9 pypi packages depend on apache-airflow (5 direct, 4 indirect)
Ecosystem-wide dependent count for version 3.2.2.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
The previous default setting for Airflow's Experimental API was to allow all API requests without authentication, but th
An issue was found in Apache Airflow versions 1.10.10 and below. Rated high severity (CVSS 8.8), this vulnerability is r
The variable import endpoint was not protected by authentication in Airflow >=2.0.0, <2.1.3. Rated critical severity (CV
A vulnerability in Example Dags of Apache Airflow allows an attacker with UI access who can trigger DAGs, to execute arb
In Apache Airflow, prior to version 2.2.4, some example DAGs did not properly sanitize user-provided params, making them
In Apache Airflow versions prior to 2.4.3, there was an open redirect in the webserver's `/login` endpoint. Rated medium
An issue was found in Apache Airflow versions 1.10.10 and below. Rated critical severity (CVSS 9.8), this vulnerability
Incorrect Session Validation in Apache Airflow Webserver versions prior to 1.10.14 with default config allows a maliciou
An issue was found in Apache Airflow versions 1.10.10 and below. Rated critical severity (CVSS 9.8), this vulnerability
In Apache Airflow < 1.10.12, the "origin" parameter passed to some of the endpoints like '/trigger' was vulnerable to XS
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') vulnerability in Apache Airfl
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') vulnerability in Apache Airfl
EUVD-2026-33598
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB