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.
Published: 2026-08-12
Score: 5.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The flaw resides in the Airflow XCom API route GET /api/v2/{…}/xcomEntries/{key}?deserialize=true, which passes string‑literal payloads directly to BaseXCom.deserialize_value without validation. This missing guard allows an authenticated user who can write and read XComs to instantiate any class prefixed with airflow.* on the server. The vulnerability is a classic insecure deserialization problem (CWE‑502) that can lead to arbitrary code execution on the API server.

Affected Systems

Affected systems are installations of Apache Airflow provided by the Apache Software Foundation. Versions prior to 3.3.1 are vulnerable because the fix was introduced in 3.3.1, which rejects reserved XCom serialization keys supplied as JSON string literals. Therefore any Airflow deployment running an earlier 3.x version must be upgraded. The impact applies only to environments where users have XCom write and read permissions.

Risk and Exploitability

The CVSS score is 5.4, classifying the issue as medium severity. The EPSS score is not available, and it is not listed in CISA KEV, suggesting limited known exploitation but still a non‑negligible risk. Exploitation requires an authenticated API session with XCom read/write privileges, so internal users or attackers with token access can trigger the vulnerable endpoint. The lack of a public exploit does not mitigate the risk because the condition is relatively easy to satisfy in many enterprise deployments.

Generated by OpenCVE AI on August 12, 2026 at 23:58 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Apache Airflow to version 3.3.1 or later, which rejects reserved XCom serialization keys and blocks unsafe deserialization.
  • Restrict XCom write and read permissions to only trusted administrators, eliminating the ability for ordinary users to trigger the vulnerable endpoint.
  • Enable detailed logging on the Airflow API and review logs for any ".?deserialize=true" requests to detect potential misuse.

Generated by OpenCVE AI on August 12, 2026 at 23:58 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 14 Aug 2026 18:30:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:apache:airflow:*:*:*:*:*:*:*:*

Wed, 12 Aug 2026 19:00:00 +0000

Type Values Removed Values Added
First Time appeared Apache
Apache airflow
Vendors & Products Apache
Apache airflow

Wed, 12 Aug 2026 18:30:00 +0000

Type Values Removed Values Added
References

Wed, 12 Aug 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 12 Aug 2026 16:00:00 +0000

Type Values Removed Values Added
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.
Title Apache Airflow: Arbitrary airflow.* class instantiation on the API server via the XCom deserialize endpoint
Weaknesses CWE-502
References

cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published:

Updated: 2026-08-12T17:20:18.016Z

Reserved: 2026-07-04T00:17:45.922Z

Link: CVE-2026-59242

cve-icon Vulnrichment

Updated: 2026-08-12T17:20:18.016Z

cve-icon NVD

Status : Analyzed

Published: 2026-08-12T16:17:09.067

Modified: 2026-08-14T18:18:03.620

Link: CVE-2026-59242

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-13T00:00:09Z

Weaknesses
  • CWE-502

    Deserialization of Untrusted Data