Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to Airflow with low-privilege account
-
DeliveryIdentify that bulk variable/connection import has occurred (or wait for routine operator import)
-
ExploitQuery audit log via UI or API
-
ExecutionExtract cleartext Variable values and Connection extra secrets from log entries
-
ImpactUse recovered credentials to access downstream systems
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A09:2025 - Security Logging & Alerting Failures
ASVS 5.0
V16 - Security Logging and Error Handling Log data sanitization
|
| Exploitation Conditions | Exploitation requires two concurrent conditions: (1) the attacker must be an authenticated Airflow user with audit-log read permission, and (2) at least one bulk operation must have been performed against |
| Impact | Real-world risk is elevated beyond what the absence of a CVSS score might suggest. No CVSS vector was provided in the input - the assessed vector below is independently derived. The attack requires only authenticated access with audit-log read permission, which in many Airflow deployments is granted broadly to operators and viewers for operational troubleshooting. Critically, the attacker need not hold any Variables or Connections permission at all, making this a privilege escalation of sorts: low-privileged users can recover high-value secrets that they are explicitly denied from reading through the normal data path. The UI's Import Variables action makes this exploitable by design during routine operations - any time an admin or operator imports a secrets file through the UI, the bulk endpoint fires and dumps cleartext to the log. No EPSS score or KEV listing is present in the input, so widespread exploitation cannot be confirmed, but the low exploitation complexity (read a log) and high secret value make this a realistic priority for any Airflow deployment storing credentials in Variables or Connections. Organizations that upgraded from a pre-3.3.0 release to exactly 3.3.0 in response to CVE-2026-50204 remain fully exposed and face a second mandatory upgrade. |
| Exploit ScenarioDerived | An Airflow operator with audit-log read access but no explicit Variables or Connections read permission observes that a platform admin has just used the Airflow UI's Import Variables action to load a new secrets file containing API tokens and database passwords. The operator queries the audit log via the Airflow UI or API, locates the PATCH /api/v2/variables log entry, and reads the Variable values verbatim in cleartext - recovering secrets they are explicitly unauthorized to access through the Variables read endpoint. No exploit code is required beyond standard Airflow API access. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 12, 2026
Cleartext secret exposure in Apache Airflow's audit log affects all versions before 3.3.1, allowing any authenticated user with audit-log read access to recover Variable values and Connection extra credentials verbatim - without holding Variables or Connections read permissions. The bulk API endpoints (PATCH /api/v2/variables, PATCH /api/v2/connections) bypassed audit-log masking because the masker inspected only top-level request fields while bulk payloads nest entities two levels deep under actions[].entities[]. The Airflow UI's Import Variables action posts to this same bulk endpoint, meaning a routine operator import silently writes every secret in the uploaded file to the unmasked audit log. No public exploit is identified at time of analysis, but the vulnerability is fully exploitable by any authenticated user with log access, and deployments that upgraded to 3.3.0 in response to the related CVE-2026-50204 remain vulnerable and must upgrade again.
RemediationAI
Upgrade to apache-airflow 3.3.1 or later, as advised in the Apache mailing list advisory at https://lists.apache.org/thread/p3jr90jgp2brto4vwcrx680f3x11y70c. The upstream fix is available in PR #70890 (https://github.com/apache/airflow/pull/70890); a confirmed tagged release is 3.3.1 per vendor advisory. If immediate upgrade is not possible, restrict audit-log read access to the minimum set of users who operationally require it - this does not eliminate the data written to the log but limits who can read the exposed secrets. As a second compensating control, avoid using the UI Import Variables action or the bulk API endpoints (PATCH /api/v2/variables, PATCH /api/v2/connections) until patched; instead use single-entity endpoints which were remediated in 3.3.0, accepting the operational overhead of per-record imports. Rotating any credentials that may have transited the bulk endpoints since the earliest affected version is strongly recommended post-upgrade, as historical log entries containing cleartext secrets are not automatically purged by the patch.
Affected VersionsENISA
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 (CPE: cpe:2.3:a:apache_software_foundation:apache_airflow:*:*:*:*:*:*:*:*) exposes a FastAPI-based v2 REST API. The audit-log decorator in airflow-core/src/airflow/api_fastapi/logging/decorators.py applies field-level masking before writing request bodies to the audit log. The masking functions _mask_variable_fields and _mask_connection_fields iterated over top-level keys of the request body, which works correctly for single-entity endpoints (/api/v2/variables/{key}) but fails completely for bulk endpoints whose payload structure is {"actions": [{"action": "create", "entities": [{"key": "...", "value": "SECRET"}]}]}. The masker sees only the key actions and passes the entire nested array through unredacted. CWE-532 (Insertion of Sensitive Information into Log File) is the root cause class: secrets that are encrypted at rest in the connections table are stored in cleartext in a secondary log store that has a broader access control surface. The fix in PR #70890 introduces _mask_bulk_entities() which explicitly traverses actions[].entities[] and applies per-entity masking before log emission.
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:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Network-reachable API, low complexity; PR:L because audit-log read access (authenticated) is required; C:H for full secret recovery; no integrity or availability impact.
Primary rating from Vendor (apache).
CVSS VectorVendor: apache
Lifecycle Timeline
2DescriptionCVE.org
Apache Airflow wrote Variable values and Connection extra contents to the audit log in cleartext when they were submitted through the bulk endpoints (PATCH /api/v2/variables and PATCH /api/v2/connections). The audit-log masking recognised only top-level request fields, and a bulk request nests its entities two levels below, so no masking was applied to them. Any authenticated user with audit-log read access -- who need not hold Variables or Connections read at all -- could recover those secrets verbatim, and the Connection extra copy is stored unencrypted in the log while the connection table encrypts it. The Airflow UI's *Import Variables* action posts to this endpoint, so an ordinary operator import wrote every secret in the file to the log. This is a different code path from CVE-2026-50204: that fix shipped in 3.3.0 and covers the single-entity endpoints only, so deployments that upgraded in response to that advisory remain affected and must upgrade again. Users are advised to upgrade to apache-airflow 3.3.1 or later.
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-57270
GHSA-cjv4-7hp2-2x9h
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB