CVE-2026-42359: Apache Airflow: Authenticated RCE via XCom PATCH endpoint — XComUpdateBody missing FORBIDDEN_XCOM_KEYS validator

Published May 31, 2026
·
Updated

A bug in Apache Airflow's XCom PATCH endpoint PATCH /api/v2/xcomEntries/{key} allowed an authenticated UI/API user with XCom write permission on a Dag to set XCom entries under reserved key names (e.g. returnvalue) that the matching POST endpoint already validated against FORBIDDENXCOMKEYS. The endpoint also accepted serialized payload shapes the triggerer's deserializer treats as code; combined, this allowed RCE on the triggerer when the affected task next deferred. Affects deployments where untrusted users have XCom write permission on Dags that defer to the triggerer. This is a fix-bypass of CVE-2026-33858: PR #64148 added the FORBIDDENXCOMKEYS validator only on the POST/set path; the PATCH path was not covered. Users who already upgraded for CVE-2026-33858 should additionally upgrade to apache-airflow 3.2.2 or later to cover the PATCH-path bypass.

Affected Software

2 affected components
pypi/apache-airflow<3.2.2
Apache Airflow>=3.2.0<3.2.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade apache-airflow to a version that resolves this vulnerability.

    Fixed in 3.2.2Patch CVE-2026-42359

Event History

Jun 1, 2026
CVE Published
via MITRE·07:49 AM
Data Sourced
via MITRE·07:49 AM
DescriptionWeakness
Data Sourced
via NVD·09:16 AM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-42359?

CVE-2026-42359 has a severity rating of 8.8, categorized as high risk.

2

How do I fix CVE-2026-42359?

The recommended fix for CVE-2026-42359 is to apply the available patch from Apache Airflow.

3

What type of vulnerability is CVE-2026-42359?

CVE-2026-42359 is an authenticated remote code execution (RCE) vulnerability.

4

Which versions of Apache Airflow are affected by CVE-2026-42359?

CVE-2026-42359 affects versions of Apache Airflow that include the vulnerable XCom PATCH endpoint.

5

What is the impact of CVE-2026-42359 on affected systems?

CVE-2026-42359 allows authenticated users to set XCom entries under reserved key names, potentially leading to unauthorized code execution.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203