Apache Airflow
CVE-2025-62503
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with CREATE-only role
-
DeliveryCall bulk create API with overwrite action
-
ExploitBypass missing UPDATE privilege check
-
ExecutionOverwrite existing Pool/Connection/Variable
-
ImpactTamper 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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
AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
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.
Primary rating from Vendor (apache).
CVSS VectorVendor: apache
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- 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.
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