Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to Airflow
-
DeliveryEnumerate variables via UI or API
-
ExploitLocate JSON-formatted variable
-
ExecutionRetrieve variable contents
-
PersistExtract plaintext secrets from JSON fields
-
ImpactExfiltrate credentials
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Resource sphere isolation
MITRE ATT&CK
1 technique across 1 tactic: Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the following specific conditions: (1) The Airflow deployment must use Apache Airflow versions 3.0.0 through 3.1.x. (2) Variables containing sensitive data must be stored in JSON dictionary format (e.g., {"key": "value"} or {"nested": {"secret": "value"}}); plaintext string variables are not affected. (3) The attacker must be an authenticated Airflow user with 'Variable.read' or 'Variable.edit' permissions granted via Airflow RBAC. (4) The attacker must actively retrieve the affected variable via the Airflow UI, REST API, or Python SDK-secrets are not automatically exposed. (5) The masking failure only applies to nested fields within JSON structures; top-level JSON values may or may not be masked depending on implementation details. Deployments using only plaintext environment variables, encrypted Secrets Backends (Vault, AWS Secrets Manager), or Airflow 2.x are not affected. Default Airflow installations with minimal user accounts and restricted variable access present reduced risk. |
| Impact | This vulnerability presents a low-to-moderate real-world risk despite its information disclosure classification. The CVSS score of 3.7 reflects the constrained attack profile: AV:N (network accessible) but AC:H (high complexity) and PR:N (no authentication required per vector, though description context suggests user must have variable access). The EPSS score of 0.02% (4th percentile) is notably low, indicating minimal exploitation probability in the wild and suggesting this is primarily a defense-in-depth concern rather than an urgent critical issue. Exploitation requires an attacker to be an authenticated Airflow user with explicit access to the specific variables containing JSON-structured secrets-a significant prerequisite. The vulnerability does not grant unauthenticated access to variables; rather, it defeats the masking mechanism for users who already have legitimate access. Organizations should prioritize this patch for environments where Airflow users have access to variables containing JSON-formatted secrets (e.g., API credentials as |
| Exploit ScenarioDerived | An authenticated Airflow user with read access to variables has legitimate access to retrieve a variable named 'db_credentials' containing the JSON value {"password": "super_secret_123", "username": "admin"}. Under the vulnerability, when this user retrieves the variable via the Airflow UI or REST API, the JSON structure is returned with the password field visible in plaintext instead of masked as * or **, allowing the attacker to harvest database credentials. A malicious insider or a compromised user account with limited Airflow permissions could systematically enumerate variables to extract unmasked credentials. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 20, 2026
Apache Airflow 3.0.0 through 3.1.x fails to redact secrets stored as nested fields within JSON-formatted variables, allowing authenticated users with variable access to retrieve plaintext sensitive values. This information disclosure vulnerability affects deployments that store credentials or API keys as JSON dictionary structures in Airflow variables. The EPSS score of 0.02% and CVSS 3.7 with high attack complexity reflect limited real-world exploitation likelihood, but the vulnerability poses direct risk to organizations using JSON-structured secrets without additional access controls.
RemediationAI
Upgrade to Apache Airflow 3.2.0 or later, which includes the fix implemented via GitHub PR #63480 (https://github.com/apache/airflow/pull/63480). This patch ensures recursive masking of secrets within JSON-structured variables. For organizations unable to upgrade immediately, implement the following compensating controls: (1) Restrict variable access via Airflow RBAC to only users with demonstrated need to handle sensitive values, with audit logging enabled for all variable access-trade-off is reduced operational flexibility for users requiring variable inspection. (2) Avoid storing secrets directly in Airflow variables in JSON form; instead, use Airflow's Secrets Backend integration (AWS Secrets Manager, HashiCorp Vault, GCP Secret Manager) which applies consistent redaction independent of data structure-this requires refactoring variable usage and may impact deployment scripts. (3) Deploy variable access monitoring via log aggregation to alert on unusual variable retrieval patterns, flagging API or UI access to variables containing JSON-formatted credentials-this provides detection but not prevention. (4) Implement network-level access controls restricting direct API access to Airflow's variable endpoints to trusted internal IPs only. Upgrade to 3.2.0 remains the authoritative fix.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages 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 variable masking mechanism is designed to redact sensitive values when variables are retrieved or displayed. The vulnerability stems from incomplete redaction logic (CWE-668: Exposure of Sensitive Information to an Unauthorized Actor) that fails to recursively mask secrets nested within JSON dictionary structures. When variables are serialized as JSON objects containing sensitive fields at arbitrary depth, the redaction logic only masks top-level values or applies insufficient depth traversal. This affects the Airflow UI, API responses, and programmatic variable retrieval methods. The issue is specific to JSON-formatted variables; plaintext string variables or non-JSON formats are properly masked. Affected CPE cpe:2.3:a:apache_software_foundation:apache_airflow:*:*:*:*:*:*:*:* covers all Apache Airflow versions from 3.0.0 through 3.1.x.
Know when Apache 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:H/PR:N/UI:N/S:U/C:L/I:N/A:N
Primary rating from Vendor (apache) · only source for this CVE.
CVSS VectorVendor: apache
Lifecycle Timeline
3DescriptionCVE.org
Secrets in Variables saved as JSON dictionaries were not properly redacted - in case thee variables were retrieved by the user the secrets stored as nested fields were not masked.
If you do not store variables with sensitive values in JSON form, you are not affected. Otherwise please upgrade to Apache Airflow 3.2.0 that has the fix implemented
Blast Radius
ecosystem impact- 4 pypi packages depend on apache-airflow (2 direct, 2 indirect)
- 4 pypi packages depend on apache-airflow-core (2 direct, 2 indirect)
Ecosystem-wide dependent count for version 3.0.0 and other introduced versions.
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
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
More in Apache Airflow
View allRemote code execution in Apache Airflow before 3.3.0 lets a DAG author embed a malicious trigger whose attacker-controll
Arbitrary code execution on every CeleryExecutor worker is possible for anyone who can write messages to the deployment'
Insecure deserialization in Apache Airflow's Task Execution API XCom path allows a Dag author to store an XCom value tha
Unsafe deserialization in Apache Airflow 3.3.0's Task SDK allows an authenticated DAG author to cause arbitrary module i
Deserialization of task-written XCom values inside the Apache Airflow scheduler allows a Dag author to execute code in a
Unsafe deserialization in Apache Airflow 3.0.0 through 3.3.0 allows any DAG author to achieve arbitrary code execution i
Remote code execution in Apache Airflow 3.1.x allows authenticated DAG Authors to execute arbitrary code in the webserve
Command injection in Apache Airflow's BashOperator documentation example allows authenticated attackers to escalate priv
Apache Airflow 3.2.0 through 3.3.x accepts Dag run `conf` payloads containing reserved serde keys such as `__classname__
Unsafe XCom templating in Apache Airflow's documented example DAG (`example_xcom.py`) allowed an authenticated UI user w
CVE-2026-30911 is a security vulnerability (CVSS 8.1) that allows any authenticated task instance. High severity vulnera
Apache Airflow's logout handler reports success even when server-side token revocation fails, so a stolen or copied Airf
EUVD-2026-23666
GHSA-w9r4-94fj-xp69
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB