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-45360

CVE-2026-45360: Apache Airflow RCE Vulnerability

CVE-2026-45360 is a remote code execution vulnerability in Apache Airflow's scheduler that allows DAG authors to execute arbitrary code through malicious serialized state. This article covers technical details, affected versions, impact, and mitigation.

Published: June 4, 2026

CVE-2026-45360 Overview

CVE-2026-45360 is an insecure deserialization vulnerability [CWE-502] in Apache Airflow's scheduler. The flaw resides in the SerializedCustomReference.deserialize_reference decoder, which imports and dispatches arbitrary class paths drawn from DAG-author-controlled serialized state. The decoder lacks an allowlist or plugin-registry gate, allowing a DAG author to embed a custom DeadlineReference whose serialized form names an attacker-controlled module path. The scheduler then calls import_string(...) and instantiates that class with a live SQLAlchemy session attached. The vulnerability affects deployments where DAG-author code is less trusted than the scheduler process, such as default single-host installations. Apache has released a fix in apache-airflow 3.2.2.

Critical Impact

A DAG author can coerce the Airflow scheduler to import and instantiate arbitrary Python classes with a live database session, enabling code execution and data tampering in multi-tenant Airflow environments.

Affected Products

  • Apache Airflow versions prior to 3.2.2
  • Single-host Airflow deployments where the DAG bundle is importable from the scheduler process
  • Multi-tenant Airflow deployments where DAG authors are less trusted than the scheduler

Discovery Timeline

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

Technical Details for CVE-2026-45360

Vulnerability Analysis

Apache Airflow serializes deadline-reference objects so the scheduler can reconstruct them when evaluating DAG deadlines. The SerializedCustomReference.deserialize_reference function rebuilds these objects by reading a class path stored in the serialized payload and resolving it through import_string. Because the class path originates from DAG-author-controlled state, an attacker controlling a DAG file can supply any importable module path. The scheduler imports that module, instantiates the class, and passes it a live SQLAlchemy session bound to the Airflow metadata database.

The consequences extend beyond simple code execution. The instantiated object receives an authenticated database handle, allowing direct reads and writes to Airflow's internal tables. This bypasses the role-based access controls that normally govern DAG operators and connections.

Root Cause

The root cause is the absence of an allowlist or plugin-registry validation step in SerializedCustomReference.deserialize_reference. The decoder trusts the embedded class path implicitly, treating DAG-author state as scheduler-trusted input. This violates the trust boundary between DAG authoring and scheduler execution that Airflow's documentation describes for multi-tenant deployments.

Attack Vector

A DAG author crafts a DeadlineReference whose serialized form references an attacker-controlled module path. Once the DAG is loaded by the scheduler, the deadline-evaluation path triggers import_string against the attacker's path and instantiates the named class. The class constructor executes inside the scheduler process and receives a SQLAlchemy session, allowing arbitrary database manipulation and code execution under the scheduler's privileges. Exploitation does not require authentication to Airflow's web UI; it requires only the ability to submit a DAG into the bundle the scheduler imports.

No public proof-of-concept exploit code is currently available. See the Apache Airflow Pull Request 66737 for the upstream fix and the Apache Mailing List Thread for the advisory.

Detection Methods for CVE-2026-45360

Indicators of Compromise

  • Scheduler logs showing import_string calls resolving to modules outside Airflow's expected providers or plugins namespace
  • DAG files containing custom DeadlineReference subclasses with non-standard _module or class-path attributes in their serialized form
  • Unexpected child processes spawned by the Airflow scheduler process
  • Modifications to the connection, variable, or user tables in the Airflow metadata database without a corresponding audit-log entry

Detection Strategies

  • Audit all DAG files in the active bundle for custom DeadlineReference implementations and verify their module paths
  • Enable verbose scheduler logging and alert on import_string invocations referencing modules outside an approved allowlist
  • Monitor Airflow metadata database queries originating from the scheduler for write operations outside normal DAG-run lifecycle paths

Monitoring Recommendations

  • Track Apache Airflow scheduler version across all hosts and flag any instance running a release earlier than 3.2.2
  • Correlate DAG file modifications with scheduler restarts and unexpected outbound network connections from scheduler hosts
  • Centralize Airflow scheduler and webserver logs in a SIEM and build alerts for deadline-deserialization errors or unusual import patterns

How to Mitigate CVE-2026-45360

Immediate Actions Required

  • Upgrade Apache Airflow to version 3.2.2 or later on all scheduler, webserver, and worker hosts
  • Inventory all DAG bundles and remove any DAGs containing untrusted or unreviewed DeadlineReference definitions
  • Restrict write access to DAG folders so only vetted CI/CD pipelines can publish DAGs to production schedulers
  • Rotate database credentials and any secrets the scheduler can access if compromise is suspected

Patch Information

Apache has fixed the vulnerability in apache-airflow 3.2.2. The patch adds allowlist validation in SerializedCustomReference.deserialize_reference so the scheduler only imports class paths registered through the plugin registry. Review the GitHub Pull Request and the Openwall OSS-Security Post for full technical detail.

Workarounds

  • Isolate the scheduler from untrusted DAG authors by adopting Airflow's DAG-processor-in-a-separate-process deployment model with appropriate sandboxing
  • Apply file-system access controls so DAG authors cannot define classes that live on the scheduler's Python path
  • Disable or remove custom DeadlineReference usage from the DAG bundle until the upgrade is complete
bash
# Upgrade Apache Airflow to a patched release
pip install --upgrade "apache-airflow>=3.2.2"

# Verify the installed version
airflow version

# Restart scheduler and webserver services after upgrade
systemctl restart airflow-scheduler airflow-webserver

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 Score7.3

  • EPSS Probability0.08%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-502
  • Technical References
  • Openwall OSS-Security Post
  • Vendor Resources
  • GitHub Pull Request

  • Apache Mailing List Thread
  • Related CVEs
  • CVE-2026-42359: 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