Skip to main content

Apache Airflow CVE-2025-62503

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

Attack ChainAIDerived

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

  1. Access
    Authenticate with CREATE-only role
  2. Delivery
    Call bulk create API with overwrite action
  3. Exploit
    Bypass missing UPDATE privilege check
  4. Execution
    Overwrite existing Pool/Connection/Variable
  5. Impact
    Tamper with orchestration config

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V8 - Authorization Unnecessary privilege execution
Exploitation Conditions

Exploitation requires an authenticated Airflow account that has been explicitly granted the CREATE privilege for Pools, Connections, or Variables while lacking the UPDATE privilege, and the attacker must invoke the bulk create API endpoint using the 'overwrite' action against the name of an already-existing record. Limiting factors: a valid authenticated account with the specific CREATE permission is required, so this is only meaningful in deployments that use fine-grained RBAC to separate CREATE from UPDATE; it cannot be triggered by unauthenticated users and has no impact where users already hold UPDATE rights.

Impact

This is a moderate-severity authorization/privilege-escalation flaw (CVSS 4.6, CWE-250 Execution with Unnecessary Privileges) in Apache Airflow where a user holding only CREATE (but not UPDATE) privileges on Pools, Connections, or Variables can overwrite existing records through the bulk-create API's 'overwrite' action. The signals are internally consistent on low-to-moderate risk: the CVSS vector requires authentication (PR:L) and yields only partial confidentiality/integrity impact (C:L/I:L/A:N), EPSS is low at 0.43% (36th percentile), there is no CISA KEV listing, and no public exploit was identified - pointing to a real but non-urgent, insider/privilege-boundary issue rather than a mass-exploitation threat. One discrepancy must be flagged: the supplied CVSS vector includes UI:R (user interaction required), which is unusual for a programmatic REST API abuse and likely does not reflect how the bulk API is actually invoked - verify with the Apache advisory. The practical risk is elevated beyond the raw score for organizations using fine-grained RBAC where CREATE-only roles are intentionally granted to limit blast radius, because this bug collapses the CREATE/UPDATE distinction and could let a lower-trust user tamper with Connections (which may hold credentials/endpoints) or Variables that drive DAG behavior.

Exploit ScenarioDerived

An authenticated Airflow user who was intentionally granted only CREATE (not UPDATE) permission on Connections submits a bulk-create API request with the 'overwrite' action targeting the name of an existing production Connection, silently replacing its configuration despite lacking UPDATE rights. By repointing a Connection or altering a Variable, the attacker can influence downstream DAG execution. No public exploit code was identified at time of analysis, and exploitation requires a valid account.

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

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

Alert me

AnalysisAIv1 – Oct 08, 2026

An authenticated Apache Airflow user who holds only the CREATE permission (without UPDATE) on Pools, Connections, or Variables can overwrite existing records by invoking the bulk create API endpoint with the 'overwrite' action, effectively gaining modification rights that RBAC was meant to deny. The flaw is CWE-250 (Execution with Unnecessary Privileges): the bulk endpoint authorizes the request against the CREATE privilege while still honoring the 'overwrite' flag, so no UPDATE check is performed on the targeted record. Impact is limited to integrity of those configuration objects (assessed CVSS 4.6, AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N), and it is only reachable in deployments that deliberately separate CREATE from UPDATE via fine-grained RBAC; no public exploit identified at time of analysis, and EPSS is low at 0.43% (36th percentile).

RemediationAI

Apply the Apache Airflow release that contains the fix for CVE-2025-62503 as documented in the vendor advisory (https://lists.apache.org/thread/3v58249qscyn1hg240gh8hqg9pb4okcr, mirrored at http://www.openwall.com/lists/oss-security/2025/10/29/8); because the supplied data does not state a specific fixed version string, confirm the exact patched release in that advisory before upgrading rather than assuming a version number. Until patching, the most direct compensating control is to audit RBAC grants and remove the split-privilege configuration this bug exploits: revoke CREATE on Pools, Connections, and Variables from any role that does not also legitimately need UPDATE, or, if the workflow genuinely requires creation, grant the corresponding UPDATE/EDIT permission as well so the privilege boundary no longer masks an unauthorized modification - the trade-off is that this deliberately broadens the role's authority, so pair it with record auditing rather than leaving it unmonitored. Because the abuse requires an authenticated account and a call to the bulk API's 'overwrite' action, restricting network access to the Airflow REST API and web UI to trusted management networks (or fronting it with an authenticating proxy) removes the attack surface for external and lateral attackers, at the cost of losing remote access for legitimate developers. Finally, treat Pools, Connections, and Variables as security-sensitive configuration: enable Airflow audit logging and alert on bulk endpoint calls that carry an 'overwrite' action, and review those three record families for unexpected changes, since overwriting a Connection can redirect credentials or a Pool can alter concurrency controls used elsewhere in the deployment. Note that no public exploit code was identified at time of analysis and EPSS is low, so this should be scheduled as routine patch work rather than treated as an emergency, but the RBAC review is inexpensive and worth doing immediately.

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's REST API and web UI expose bulk-create endpoints for the Pools, Connections, and Variables resource families. These endpoints accept a body that includes an 'action' field, and when the action is set to 'overwrite' the service updates a record that already exists under the supplied name rather than failing as a duplicate. The authorization layer of those bulk handlers, however, gates the request on the CREATE action for the resource type instead of distinguishing between inserting a new record and modifying an existing one, which is the root cause class CWE-250 (Execution with Unnecessary Privileges): the code path runs with more privilege than the operation logically requires. Airflow's RBAC model (Flask-AppBuilder-based) grants per-resource, per-action permissions such as can_create and can_edit on DAGs, Pools, Connections, and Variables, and administrators commonly delegate creation rights without granting edit rights, assuming that split is enforced. Because the bulk endpoint never re-checks UPDATE on the resolved existing record, that assumption breaks. The CPE entry cpe:2.3:a:apache:airflow:*:*:*:*:*:*:*:* identifies Apache Airflow itself as the affected product with a wildcard version range, meaning every build predating the vendor's fix release is potentially affected; the defect applies to any deployment where the affected endpoints are exposed - typically the web server/REST API listener - regardless of scheduler or worker topology.

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 4.6 MEDIUM
AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
vuln.today AI 4.3 MEDIUM

Authenticated user with CREATE privilege abuses a REST API (PR:L, AV:N, AC:L, no UI); impact is unauthorized modification of records (I:L) with no direct confidentiality or availability loss.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/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
Required
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None

DescriptionCVE.org

User with CREATE and no UPDATE privilege for Pools, Connections, Variables could update existing records via bulk create API with overwrite action.

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.4%
Top 64% 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.4%
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

23
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +23
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.

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