CVE-2026-59242
Received Received - Intake

Deserialization Flaw in Apache Airflow XCom API

Vulnerability report for CVE-2026-59242, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-12

Last updated on: 2026-08-12

Assigner: Apache Software Foundation

Description

Apache Airflow's XCom `GET /api/v2/{...}/xcomEntries/{key}?deserialize=true` endpoint passed a string-literal payload through `BaseXCom.deserialize_value` without the `_check_forbidden_xcom_keys` guard, allowing an authenticated API user with XCom write-and-read access to instantiate arbitrary `airflow.*` classes on the API server (CWE-502). An authenticated user who can write an XCom value and then read it back with `deserialize=true` triggers the unsafe instantiation. Users are advised to upgrade to apache-airflow 3.3.1 or later, which rejects reserved XCom serialization keys submitted as JSON string literals.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-12
Last Modified
2026-08-12
Generated
2026-08-12
AI Q&A
2026-08-12
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
apache airflow From 3.3.1 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-502 The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability in Apache Airflow allows an authenticated user with XCom write-and-read access to bypass security checks and instantiate arbitrary classes on the API server. It occurs when a user writes an XCom value and reads it back with deserialize=true, triggering unsafe class instantiation via a string-literal payload.

Detection Guidance

To detect this vulnerability, check Apache Airflow logs for unauthorized XCom deserialization attempts. Look for requests to the /api/v2/{...}/xcomEntries/{key} endpoint with deserialize=true parameter. Monitor for errors related to class instantiation or reserved key usage in XCom values.

Impact Analysis

An attacker could exploit this to execute arbitrary code on the Airflow server, potentially leading to data breaches, unauthorized access, or system compromise. It requires authenticated API access with XCom permissions.

Compliance Impact

This vulnerability could lead to unauthorized data access or modification, violating GDPR's integrity and confidentiality principles or HIPAA's security requirements for protected health information. Compliance may be compromised if exploited.

Mitigation Strategies

Upgrade Apache Airflow to version 3.3.1 or later immediately. This version includes the fix that rejects reserved XCom serialization keys even when submitted as JSON string literals. Temporarily restrict API access to trusted users until the upgrade is completed.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-59242. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart