Apache Airflow
CVE-2025-62402
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as API user
-
ExploitCall /api/v2/dagReports endpoint
-
ExecutionTrigger DAG code execution in api-server
-
ImpactRun code with api-server privileges
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V8 - Authorization Unnecessary privilege execution
|
| Exploitation Conditions | Exploitation requires an authenticated API user (CVSS PR:L) who can reach the |
| Impact | This is a moderate-priority issue, not a top-tier emergency. The vendor CVSS of 5.4 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N) describes a network-reachable but authenticated (PR:L) flaw with limited confidentiality and integrity impact and no availability impact. EPSS is low at 0.52% (42nd percentile), indicating no statistical signal of imminent mass exploitation. The CVE is NOT listed in CISA KEV and no public exploit code was identified in the provided data, so exploitation status is 'no public exploit identified at time of analysis.' There is a notable tension between the 'RCE' tag and the official scoring: the description says API users can achieve 'Dag code execution in the context of the api-server,' which sounds like code execution, yet the vendor rated impact only C:L/I:L/A:N rather than high - this is because the CWE-250 (execution with unnecessary privileges) issue is constrained by requiring an authenticated API user AND a specific deployment where DAG files are co-located with the api-server. Treat the 'RCE' tag as aspirational/worst-case rather than confirmed unauthenticated remote code execution; verify the real impact against your Airflow deployment topology. |
| Exploit ScenarioDerived | An authenticated Airflow API user with access to the |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 08, 2026
Authenticated API users can trigger DAG code execution in Apache Airflow's api-server context via the /api/v2/dagReports endpoint when the api-server is deployed with access to DAG files, leading to privilege escalation within that process. This moderate-severity flaw (CVSS 5.4) requires a valid API user (PR:L) and a specific deployment topology where DAG files are co-located with or readable by the api-server; default locked-down configurations with strict separation are not exploitable. No public exploit code or active exploitation has been identified, and EPSS is low at 0.52%.
RemediationAI
No exact fix version is provided in the available data; consult the Apache Airflow advisory at https://lists.apache.org/thread/vbzxnxn031wb998hsd7vqnvh4z8nx6rs for updated patched releases and apply them when available. As a compensating control, ensure the api-server is deployed in an environment isolated from DAG files (e.g., strict separation of api-server from DAG storage or mount restrictions), which eliminates the code-execution path but may break features requiring DAG visibility. Additionally, restrict access to the REST API and the /api/v2/dagReports endpoint to only fully trusted users, and consider disabling the endpoint if not needed. Monitor for suspicious API activity as a detective measure.
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 is a workflow orchestration platform where DAGs (Directed Acyclic Graphs) are defined as Python code. The api-server hosts the REST API, and the /api/v2/dagReports endpoint allows authenticated users to interact with DAG reports. This vulnerability (CWE-250: Execution with Unnecessary Privileges) arises because the api-server executes DAG code with its own process privileges, and the endpoint does not adequately isolate or restrict that execution. An authenticated API user can cause the api-server to execute DAG code in its context if the api-server has access to the DAG files. The CVSS vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N indicates network exploitation, low complexity, requiring low privileges (authenticated), no user interaction, and resulting in low confidentiality and integrity impact with no availability impact. The primary limiter is deployment topology: the api-server must be in an environment where DAG files are available.
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:L/I:L/A:N
Network-reachable REST endpoint (AV:N) usable by an authenticated API user (PR:L), no user interaction; code execution stays in the unchanged api-server scope with limited C/I and no availability impact.
Primary rating from Vendor (apache).
CVSS VectorVendor: apache
DescriptionCVE.org
API users via /api/v2/dagReports could perform Dag code execution in the context of the api-server if the api-server was deployed in the environment where Dag files were available.
Blast Radius
ecosystem impact- 4 pypi packages depend on apache-airflow (2 direct, 2 indirect)
Ecosystem-wide dependent count for version 3.0.0.
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
Attack Technique
Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Affected Products (CPE)CVE.org
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
An issue was found in Apache Airflow versions 1.10.10 and below. Rated critical severity (CVSS 9.8), this vulnerability
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
Incorrect Session Validation in Apache Airflow Webserver versions prior to 1.10.14 with default config allows a maliciou
Insufficient session expiration in apache-airflow-providers-fab 2.4.2 through 3.9.0 means an attacker who already holds
Authentication bypass in the Apache Airflow Keycloak auth manager provider (apache-airflow-providers-keycloak below 0.10
Privilege Context Switching Error vulnerability in Apache Software Foundation Apache Airflow.6.0. Rated critical severit
Improper Neutralization of Special Elements used in a Command ('Command Injection') vulnerability in Apache Software Fou
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') vulnerability in Apache Airfl
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB