Skip to main content

Apache Airflow CVE-2025-62402

MEDIUM
Execution with Unnecessary Privileges (CWE-250)
2025-10-30 security@apache.org
5.4
CVSS 3.1 · Vendor: apache
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as API user
  2. Exploit
    Call /api/v2/dagReports endpoint
  3. Execution
    Trigger DAG code execution in api-server
  4. Impact
    Run 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 /api/v2/dagReports endpoint of the Airflow REST API, AND a specific deployment topology where the api-server is deployed in an environment where DAG files are present/available to it. The primary limiting factor is this deployment mode: if DAG files are not co-located with or readable by the api-server (e.g., strict separation of api-server from DAG storage), the code-execution path does not apply. Additional limiters are the authentication requirement (not unauthenticated) and the need for the API user to have access to the dagReports functionality. This is not exploitable against a default, locked-down configuration without API credentials.

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 /api/v2/dagReports endpoint crafts a request that causes the api-server to parse/execute DAG file code, running it in the api-server's context rather than a sandboxed worker. In deployments where DAG files are present on the api-server host, this lets a low-privileged API user execute code with the api-server's privileges. No public proof-of-concept was identified in the provided intelligence.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

pypi apache-airflow fix: 3.1.1

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

Vendor (apache) PRIMARY 5.4 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
vuln.today AI 5.4 MEDIUM

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.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (apache).

CVSS VectorVendor: apache

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None

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
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 4 pypi packages depend on apache-airflow (2 direct, 2 indirect)

Ecosystem-wide dependent count for version 3.0.0.

Threat Intelligence Overview

EPSS Score
0.5%
Top 58% exploitable
Prevalence
High
Apache Airflow is a widely deployed enterprise data-orchestration platform
Data Quality
3 sources
Confidence: Low

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +27
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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

cpe:2.3:a:apache:airflow:*:*:*:*:*:*:*:*
CVE-2020-13927 CRITICAL POC
9.8 Nov 10

The previous default setting for Airflow's Experimental API was to allow all API requests without authentication, but th

CVE-2020-11978 HIGH POC
8.8 Jul 17

An issue was found in Apache Airflow versions 1.10.10 and below. Rated high severity (CVSS 8.8), this vulnerability is r

CVE-2021-38540 CRITICAL POC
9.8 Sep 09

The variable import endpoint was not protected by authentication in Airflow >=2.0.0, <2.1.3. Rated critical severity (CV

CVE-2020-11981 CRITICAL POC
9.8 Jul 17

An issue was found in Apache Airflow versions 1.10.10 and below. Rated critical severity (CVSS 9.8), this vulnerability

CVE-2022-40127 HIGH POC
8.8 Nov 14

A vulnerability in Example Dags of Apache Airflow allows an attacker with UI access who can trigger DAGs, to execute arb

CVE-2022-24288 HIGH POC
8.8 Feb 25

In Apache Airflow, prior to version 2.2.4, some example DAGs did not properly sanitize user-provided params, making them

CVE-2020-17526 HIGH POC
7.7 Dec 21

Incorrect Session Validation in Apache Airflow Webserver versions prior to 1.10.14 with default config allows a maliciou

CVE-2026-82311 CRITICAL
9.8 Sep 15

Insufficient session expiration in apache-airflow-providers-fab 2.4.2 through 3.9.0 means an attacker who already holds

CVE-2026-76187 CRITICAL
9.8 Sep 15

Authentication bypass in the Apache Airflow Keycloak auth manager provider (apache-airflow-providers-keycloak below 0.10

CVE-2023-25754 CRITICAL
9.8 May 08

Privilege Context Switching Error vulnerability in Apache Software Foundation Apache Airflow.6.0. Rated critical severit

CVE-2023-22884 CRITICAL
9.8 Jan 21

Improper Neutralization of Special Elements used in a Command ('Command Injection') vulnerability in Apache Software Fou

CVE-2022-40189 CRITICAL
9.8 Nov 22

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') vulnerability in Apache Airfl

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy