Skip to main content

Github CVE-2026-1664

Authorization Bypass Through User-Controlled Key (CWE-639)
2026-02-03 cna@cloudflare.com GHSA-r7x9-8ph7-w8cg

Lifecycle Timeline

3
Patch released
Mar 31, 2026 - 21:13 nvd
Patch available
Analysis Generated
Mar 12, 2026 - 21:54 vuln.today
CVE Published
Feb 03, 2026 - 12:16 nvd
N/A

DescriptionNVD

Summary

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

Root cause

The createHeaderBasedEmailResolver() function lacks cryptographic verification or origin validation for the headers used in the routing logic, effectively allowing external input to dictate internal object routing.

Impact

Insecure Direct Object Reference (IDOR) in email routing lets an attacker steer inbound mail to arbitrary Agent instances via spoofed Message-ID.

Mitigation:

  • PR: https://github.com/cloudflare/agents/blob/main/docs/email.md ] provides the necessary architectural context for coding agents to mitigate the issue by refactoring the resolver to enforce strict identity boundaries.
  • Agents-sdk users should upgrade to agents@0.3.7

AnalysisAI

Summary An Insecure Direct Object Reference has been found to exist in createHeaderBasedEmailResolver() function within the Cloudflare Agents SDK.

Sign in for full analysis, threat intelligence, and remediation guidance.

Share

CVE-2026-1664 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy