Skip to main content

Apache Airflow EUVDEUVD-2026-57270

| CVE-2026-68969 MEDIUM
Insertion of Sensitive Information into Log File (CWE-532)
2026-08-12 apache GHSA-cjv4-7hp2-2x9h
6.5
CVSS 3.1 · Vendor: apache
View

Attack ChainAIDerived

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

  1. Access
    Authenticate to Airflow with low-privilege account
  2. Delivery
    Identify that bulk variable/connection import has occurred (or wait for routine operator import)
  3. Exploit
    Query audit log via UI or API
  4. Execution
    Extract cleartext Variable values and Connection extra secrets from log entries
  5. Impact
    Use 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 PATCH /api/v2/variables or PATCH /api/v2/connections - including indirectly via the Airflow UI's Import Variables action - causing secrets to be written to the log. The attacker does NOT need Variables read, Connections read, or any admin role. Exploitation is limited to Airflow deployments running the v2 API (Airflow 3.x), as the bulk endpoints are a v2 construct. Deployments where no user holds audit-log read access, or where the bulk endpoints have never been used, are not exploitable in practice. The secrets exposed are limited to Variable value fields and Connection extra JSON content; other Connection fields (host, port, login) are subject to separate masking logic and may not be equally affected.

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.

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

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

Alert me

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

Apache Airflow 0 <3.3.1

Affected Packages

pypi apache-airflow fix: 3.3.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 (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

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

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.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/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
High
Integrity
None
Availability
None

Lifecycle Timeline

2
CVSS changed
Aug 13, 2026 - 13:22 NVD
6.5 (MEDIUM)
CVE Published
Aug 12, 2026 - 15:26 cve.org
MEDIUM

DescriptionCVE.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.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 12 pypi packages depend on apache-airflow (1 direct, 11 indirect)

Ecosystem-wide dependent count for version 3.3.1.

Threat Intelligence Overview

EPSS Score
0.2%
Top 95% exploitable
Prevalence
High
widely adopted workflow orchestrator in data engineering and ML ops
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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.2%
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
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

Priority Score

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

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

CVE-2026-33264 CRITICAL
9.8 Jul 07

Remote code execution in Apache Airflow before 3.3.0 lets a DAG author embed a malicious trigger whose attacker-controll

CVE-2026-68982 CRITICAL
9.8 Nov 09

Arbitrary code execution on every CeleryExecutor worker is possible for anyone who can write messages to the deployment'

CVE-2026-111421 HIGH
8.8 Nov 09

Insecure deserialization in Apache Airflow's Task Execution API XCom path allows a Dag author to store an XCom value tha

CVE-2026-67587 HIGH
8.8 Aug 12

Unsafe deserialization in Apache Airflow 3.3.0's Task SDK allows an authenticated DAG author to cause arbitrary module i

CVE-2026-86829 HIGH
8.8 Nov 09

Deserialization of task-written XCom values inside the Apache Airflow scheduler allows a Dag author to execute code in a

CVE-2026-58076 HIGH
8.8 Aug 12

Unsafe deserialization in Apache Airflow 3.0.0 through 3.3.0 allows any DAG author to achieve arbitrary code execution i

CVE-2026-33858 HIGH
8.8 Apr 13

Remote code execution in Apache Airflow 3.1.x allows authenticated DAG Authors to execute arbitrary code in the webserve

CVE-2026-30898 HIGH
8.8 Apr 18

Command injection in Apache Airflow's BashOperator documentation example allows authenticated attackers to escalate priv

CVE-2026-111395 HIGH
8.2 Nov 09

Apache Airflow 3.2.0 through 3.3.x accepts Dag run `conf` payloads containing reserved serde keys such as `__classname__

CVE-2025-54550 HIGH
8.1 Apr 15

Unsafe XCom templating in Apache Airflow's documented example DAG (`example_xcom.py`) allowed an authenticated UI user w

CVE-2026-30911 HIGH
8.1 Mar 17

CVE-2026-30911 is a security vulnerability (CVSS 8.1) that allows any authenticated task instance. High severity vulnera

CVE-2026-113508 HIGH
7.5 Nov 09

Apache Airflow's logout handler reports success even when server-side token revocation fails, so a stolen or copied Airf

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