The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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
    • 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-1664

CVE-2026-1664: Cloudflare Agents SDK Auth Bypass Flaw

CVE-2026-1664 is an authentication bypass vulnerability in Cloudflare Agents SDK that allows attackers to route inbound mail to arbitrary Durable Object instances via spoofed headers. This article covers the impact, root cause, and mitigation.

Published: February 6, 2026

CVE-2026-1664 Overview

An Insecure Direct Object Reference (IDOR) vulnerability has been identified in the createHeaderBasedEmailResolver() function within the Cloudflare Agents SDK. The vulnerability occurs because the Message-ID and References headers are parsed to derive the target agentName and agentId without proper validation or origin checks. This allows an external attacker with control of these headers to route inbound mail to arbitrary Durable Object instances and namespaces.

Critical Impact

Attackers can steer inbound mail to arbitrary Agent instances via spoofed Message-ID headers, potentially enabling unauthorized access to internal object routing and bypassing identity boundaries.

Affected Products

  • Cloudflare Agents SDK versions prior to 0.3.7
  • Applications utilizing createHeaderBasedEmailResolver() for email routing
  • Durable Object instances relying on header-based email resolution

Discovery Timeline

  • 2026-02-03 - CVE CVE-2026-1664 published to NVD
  • 2026-02-03 - Last updated in NVD database

Technical Details for CVE-2026-1664

Vulnerability Analysis

This vulnerability is classified as CWE-639: Authorization Bypass Through User-Controlled Key, commonly known as Insecure Direct Object Reference (IDOR). The flaw allows network-based attacks without requiring authentication or user interaction, enabling attackers to manipulate the routing logic of the Cloudflare Agents SDK email processing system.

The vulnerability enables unauthorized control over email routing decisions by exploiting the trust placed in user-controllable email headers. When an attacker crafts malicious Message-ID or References headers, they can direct email traffic to unintended Durable Object instances, potentially accessing or manipulating data across different agent namespaces.

Root Cause

The createHeaderBasedEmailResolver() function lacks cryptographic verification or origin validation for the headers used in the routing logic. This design flaw effectively allows external input to dictate internal object routing decisions. The function parses Message-ID and References headers to extract routing information (agentName and agentId) but fails to verify that the requesting party has legitimate access to the specified resources.

Attack Vector

The attack is network-based and can be executed by any external attacker who can send emails to a system using the vulnerable Cloudflare Agents SDK. The attacker crafts an email with specially constructed Message-ID and References headers that specify arbitrary agentName and agentId values.

When the vulnerable createHeaderBasedEmailResolver() function processes this email, it extracts routing information directly from these headers without validation. The email is then routed to the attacker-specified Durable Object instance, bypassing intended access controls. This allows the attacker to potentially interact with agent instances they should not have access to, or route malicious content to specific targets within the system.

Detection Methods for CVE-2026-1664

Indicators of Compromise

  • Unusual email routing patterns where emails are delivered to unexpected Durable Object instances
  • Anomalous Message-ID or References header values that don't conform to expected formats
  • Increased access attempts to Durable Object namespaces from previously inactive or unauthorized sources
  • Log entries showing email routing to agent instances without corresponding legitimate email conversations

Detection Strategies

  • Implement logging and monitoring for all email routing decisions made by createHeaderBasedEmailResolver()
  • Create alerts for routing requests that target agent instances without prior established conversations
  • Monitor for patterns of emails with crafted headers attempting to access multiple different agent namespaces
  • Deploy anomaly detection to identify header values that deviate from expected organizational patterns

Monitoring Recommendations

  • Enable detailed logging of email header parsing operations in the Agents SDK
  • Monitor Durable Object instance access patterns for unauthorized cross-namespace communications
  • Track and alert on email routing decisions that bypass expected identity boundaries
  • Review email processing logs regularly for suspicious Message-ID and References header manipulation

How to Mitigate CVE-2026-1664

Immediate Actions Required

  • Upgrade Cloudflare Agents SDK to version 0.3.7 or later immediately
  • Review applications utilizing createHeaderBasedEmailResolver() for potential exposure
  • Implement additional validation layers for email header processing until patches are applied
  • Audit logs for any evidence of exploitation attempts or suspicious routing patterns

Patch Information

Cloudflare has addressed this vulnerability in Agents SDK version 0.3.7. Users should upgrade to this version or later to remediate the vulnerability. The Cloudflare Agents SDK repository provides the necessary architectural context and updated documentation for implementing secure email routing with proper identity boundaries.

Workarounds

  • Implement custom validation logic to verify the authenticity of Message-ID and References headers before processing
  • Add cryptographic signing to email routing information to prevent header spoofing
  • Restrict email routing to known and pre-authorized agent instances using allowlists
  • Deploy network-level controls to limit email sources that can interact with the Agents SDK email resolver
bash
# Upgrade Cloudflare Agents SDK to patched version
npm install agents@0.3.7

# Verify installed version
npm list agents

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechCloudflare

  • SeverityMEDIUM

  • CVSS Score6.9

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-639
  • Technical References
  • GitHub PoC Repository
  • Related CVEs
  • CVE-2026-3125: OpenNext Cloudflare SSRF Vulnerability

  • CVE-2026-1721: AI Playground OAuth XSS Vulnerability

  • CVE-2025-6087: Cloudflare Create-cloudflare SSRF Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now 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