Skip to main content

Apache Airflow CVE-2026-31987

| EUVDEUVD-2026-23233 HIGH
Insertion of Sensitive Information into Log File (CWE-532)
2026-04-16 apache GHSA-phv5-vq5p-qhp7
7.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 UI
  2. Delivery
    Access task execution logs
  3. Exploit
    Extract JWT token from log entries
  4. Execution
    Replay token in API requests
  5. Impact
    Execute privileged DAG operations

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

Attacker must have authenticated access to the Airflow UI with permissions to view task execution logs. The vulnerability specifically affects environments where UI users (with restricted roles) can access logs containing JWT tokens for users with DAG Author privileges. Exploitation requires the application to be running affected versions 3.0.0 through 3.1.x, and logs must retain JWT tokens long enough for an attacker to extract and replay them before expiration. Exploitation is limited by JWT token lifetime settings (typically minutes to hours) and whether log access controls are properly segregated by role. Environments where only DAG Authors can view logs see no privilege escalation opportunity, as the exposed tokens grant privileges the viewer already possesses.

Impact

The CVSS vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N presents a contradiction that requires careful interpretation. The vector indicates network-accessible, low-complexity, unauthenticated access with high confidentiality impact - but the description explicitly states 'UI users' can exploit this, implying authenticated access is required. This discrepancy suggests the CVSS vector may rate the theoretical exposure of tokens via network-accessible logs (if log endpoints lack authentication), while the practical exploitation scenario requires UI user credentials. Real-world risk depends on log access controls: if logs are accessible only to authenticated UI users with log viewing permissions, the effective attack vector is AV:N/AC:L/PR:L, reducing the real-world severity. The EPSS score of 0.02% indicates very low observed exploitation probability, consistent with a vulnerability requiring prior authentication and specific log access permissions. No CISA KEV listing or public exploit code identified. The SSVC decision tree points to low priority: exploitation status is 'none', automatability is 'no' (requires log access and token extraction), technical impact is 'partial' (privilege escalation within application, not system compromise). However, for organizations with auditing requirements or multi-tenant Airflow deployments where privilege boundaries matter, this is a meaningful risk. The 7.5 CVSS score overstates urgency for most single-tenant deployments but is appropriate for shared/SaaS Airflow platforms.

Exploit ScenarioDerived

An authenticated UI user with read-only permissions accesses Airflow's task logs through the web interface or log aggregation system. They extract a JWT token from log entries generated during task execution. Using the stolen token, they craft API requests to the Airflow REST API, authenticating as a DAG Author. With elevated privileges, they modify existing DAGs to exfiltrate data, inject malicious tasks into production workflows, or access sensitive connection credentials stored in Airflow.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Apr 18, 2026

Apache Airflow 3.0.0 through 3.1.x exposes JWT authentication tokens in application logs, allowing any authenticated UI user with log access to escalate privileges and impersonate DAG Authors. CVSS rates this 7.5 HIGH for confidentiality impact, though the EPSS score of 0.02% (5th percentile) suggests minimal observed exploitation attempts. No active exploitation is confirmed; vendor patch available in version 3.2.0 released April 2026.

RemediationAI

Upgrade to Apache Airflow 3.2.0 or later, which removes JWT token logging (fix implemented in GitHub PR https://github.com/apache/airflow/pull/62964). Refer to the official Apache advisory at https://lists.apache.org/thread/pvsrtxzwo9xy6xgknmwslv4zrw70kt6g for upgrade guidance. For environments unable to immediately upgrade, implement compensating controls: restrict access to Airflow logs to only users who already possess DAG Author privileges (reducing the privilege escalation opportunity), enable log encryption at rest, configure log retention policies to minimize exposure window (delete logs containing tokens after archival requirements are met, noting this may impact forensic capabilities), and monitor for anomalous API calls using JWT tokens associated with logged-out or unexpected user sessions (implement JWT replay detection, though this adds operational overhead and may generate false positives during legitimate task retries). Review historical logs accessible to UI users and rotate credentials for any DAG Authors whose tokens may have been exposed. Note that log access restrictions may conflict with debugging workflows if developers require log visibility.

Affected VersionsENISA

Apache Airflow 3.0.0 <3.2.0

Affected Packages

pypi apache-airflow fix: 3.2.0

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 is a workflow orchestration platform where users execute data pipelines (DAGs). The platform uses JWT tokens for task authentication, allowing task processes to authenticate back to the Airflow API. CWE-532 (Insertion of Sensitive Information into Log File) indicates these tokens were logged in plaintext, likely during task execution or API interactions. JWT tokens typically contain claims that identify the principal (user/service) and their permissions. In Airflow's role-based access model, DAG Authors have elevated privileges to create and modify workflows, while UI users may have restricted read-only access. Exposure of DAG Author tokens allows horizontal privilege escalation within the application. The vulnerability affects Apache Airflow versions 3.0.0 through all 3.1.x releases, as confirmed by CPE cpe:2.3:a:apache_software_foundation:apache_airflow and EUVD version ranges. The fix was implemented in GitHub PR #62964 and released in version 3.2.0.

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 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Primary rating from Vendor (apache) · only source for this CVE.

CVSS VectorVendor: apache

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

3
CVSS changed
Apr 18, 2026 - 04:22 NVD
7.5 (HIGH)
Patch released
Apr 16, 2026 - 14:00 nvd
Patch available
CVE Published
Apr 16, 2026 - 13:31 nvd
HIGH 7.5

DescriptionCVE.org

JWT Tokens used by tasks were exposed in logs. This could allow UI users to act as Dag Authors. Users are advised to upgrade to Airflow version that contains fix.

Users are recommended to upgrade to version 3.2.0, which fixes this issue.

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.

Executive ViewAI

Why It Matters

Apache Airflow versions 3.0.0 through 3.1.x inadvertently expose authentication tokens in application logs, enabling authenticated users with log access to impersonate DAG Authors and escalate privileges within workflow orchestration systems. This creates insider risk for organizations managing critical data pipelines, as credential exposure could allow unauthorized workflow modifications or data access without external network exploitation.

Business Impact: High
Compensating Controls

Apply vendor patch to Apache Airflow 3.2.0 or later. If immediate patching is not feasible: (1) Restrict read access to application logs to security and operations teams only; (2) Implement log aggregation and filtering to redact authentication tokens before storage; (3) Rotate all JWT signing keys and user credentials immediately; (4) Monitor for suspicious DAG modifications and unauthorized workflow execution via audit logs.

Threat Intelligence Overview

EPSS Score
0.0%
Top 95% exploitable
Threat Intel
1
1 source
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA CIRCL 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 HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

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