A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-42359

CVE-2026-42359: Apache Airflow RCE Vulnerability

CVE-2026-42359 is a remote code execution flaw in Apache Airflow's XCom PATCH endpoint that allows authenticated users to execute arbitrary code on the triggerer. This article covers technical details, affected versions, and mitigation.

Published: June 4, 2026

CVE-2026-42359 Overview

CVE-2026-42359 is a high-severity insecure deserialization vulnerability in Apache Airflow's XCom PATCH endpoint PATCH /api/v2/xcomEntries/{key}. An authenticated UI or API user with XCom write permission on a Dag can set XCom entries under reserved key names such as return_value. The endpoint also accepts serialized payload shapes that the triggerer's deserializer treats as code. When the affected task next defers to the triggerer, the payload executes, resulting in remote code execution (RCE). This issue is a fix-bypass of CVE-2026-33858, which only patched the POST/set path through PR #64148 by adding the FORBIDDEN_XCOM_KEYS validator. The PATCH path remained uncovered until the fix in apache-airflow 3.2.2.

Critical Impact

Authenticated low-privileged users can achieve remote code execution on the Airflow triggerer by writing crafted XCom payloads under reserved keys.

Affected Products

  • Apache Airflow versions prior to 3.2.2
  • Deployments where untrusted users hold XCom write permission on Dags
  • Deployments running Dags that defer to the triggerer

Discovery Timeline

  • 2026-06-01 - CVE-2026-42359 published to NVD
  • 2026-06-03 - Last updated in NVD database

Technical Details for CVE-2026-42359

Vulnerability Analysis

The vulnerability stems from inconsistent input validation between two XCom-related API endpoints in Apache Airflow. The POST endpoint that creates XCom entries enforces a FORBIDDEN_XCOM_KEYS allowlist that blocks reserved key names such as return_value. The PATCH endpoint at PATCH /api/v2/xcomEntries/{key}, used to update existing XCom entries, omits this validation. An attacker with XCom write permission can use the PATCH path to write entries under any reserved key.

The XCom value is later deserialized by the triggerer process. The triggerer's deserializer interprets specific serialized payload shapes as executable code [CWE-502]. When a task associated with the manipulated XCom defers to the triggerer, the malicious payload runs in the triggerer's execution context, yielding RCE on the Airflow infrastructure.

Root Cause

The root cause is incomplete remediation of CVE-2026-33858. PR #64148 added the FORBIDDEN_XCOM_KEYS validator only to the POST/set path. The PATCH path shared the same dangerous deserialization sink but did not inherit the key validation, leaving a parallel write path open for reserved keys.

Attack Vector

An authenticated user with XCom write permission on a target Dag sends a PATCH request to /api/v2/xcomEntries/{key} where {key} is a reserved name like return_value. The body contains a serialized payload crafted to trigger code execution during deserialization. The attacker then waits for, or causes, a task to defer to the triggerer. The triggerer deserializes the malicious XCom value and executes the embedded code.

No synthetic exploit code is provided. Refer to the Apache Mailing List Thread and the GitHub Pull Request for technical details.

Detection Methods for CVE-2026-42359

Indicators of Compromise

  • HTTP PATCH requests to /api/v2/xcomEntries/return_value or other reserved XCom keys originating from non-system users
  • Unexpected child processes spawned by the Airflow triggerer process
  • Outbound network connections initiated by the triggerer to unfamiliar destinations
  • XCom entries containing serialized payloads with class references outside expected types

Detection Strategies

  • Inspect Airflow API access logs for PATCH calls targeting the XCom entries route with reserved key names
  • Correlate XCom write events with subsequent triggerer task defers and process anomalies
  • Audit Airflow role-based access control to identify users granted XCom write permissions on sensitive Dags
  • Apply signatures for suspicious Python pickle or serialization patterns transiting the Airflow API

Monitoring Recommendations

  • Enable detailed audit logging on the Airflow REST API and forward logs to a centralized analytics platform
  • Monitor the triggerer host for unexpected process execution, file writes, and outbound connections
  • Alert on any modification of XCom entries with keys in the FORBIDDEN_XCOM_KEYS set
  • Track failed and successful authentication events for accounts holding XCom write privileges

How to Mitigate CVE-2026-42359

Immediate Actions Required

  • Upgrade apache-airflow to version 3.2.2 or later, even on deployments already patched for CVE-2026-33858
  • Audit and reduce XCom write permissions to trusted users only
  • Review Dags that defer to the triggerer and assess exposure to untrusted user input
  • Rotate credentials and secrets accessible to the triggerer process if compromise is suspected

Patch Information

The fix is delivered in apache-airflow 3.2.2. It extends the FORBIDDEN_XCOM_KEYS validation to the PATCH endpoint, closing the bypass introduced when only the POST path was hardened in PR #64148. See the GitHub Pull Request and the CVE-2026-33858 Record for context on the original fix.

Workarounds

  • Restrict the Airflow API behind network controls so only trusted operators can reach the XCom endpoints
  • Remove XCom write permissions from low-trust roles until the upgrade is applied
  • Disable or quarantine Dags that defer to the triggerer where untrusted contributors hold write access
  • Add a reverse proxy rule to block PATCH requests to /api/v2/xcomEntries/return_value and other reserved keys
bash
# Upgrade Apache Airflow to a fixed version
pip install --upgrade "apache-airflow>=3.2.2"

# Example NGINX rule to block PATCH on reserved XCom keys as a temporary mitigation
# location ~* ^/api/v2/xcomEntries/(return_value)$ {
#     if ($request_method = PATCH) { return 403; }
#     proxy_pass http://airflow_api;
# }

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechApache Airflow

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability0.06%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-502
  • Technical References
  • CVE-2026-33858 Record
  • Vendor Resources
  • GitHub Pull Request

  • Apache Mailing List Thread
  • Related CVEs
  • CVE-2026-45360: Apache Airflow RCE Vulnerability

  • CVE-2026-42252: Apache Airflow RCE Vulnerability

  • CVE-2026-25917: Apache Airflow RCE Vulnerability

  • CVE-2025-54550: Apache Airflow XCom RCE Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English