CVE-2026-1664
Last modified
CVE-2026-1664 is a medium-severity vulnerability rated 6.9/10 on the CVSS scale. 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. EPSS estimates a 0.37% chance of exploitation in the next 30 days.
Description
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
Metrics
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
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-1664?
How severe is CVE-2026-1664?
How do I fix CVE-2026-1664?
How Strix Helps
- Uncovering a hidden BOLA in Appsmith's snapshot logicStrix autonomously discovered a BOLA/IDOR vulnerability in Appsmith's snapshot deletion path.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-16632A flaw has been found in boazsegev facil.io up to 0.7.4. Aff…7.3
- CVE-2026-16633### Impact If PDF.js is used to load a malicious PDF, and P…8.6
- CVE-2026-16634TOML::XS versions before 0.06 for Perl bundle an unsupported…9.8
- CVE-2026-16635The Pronamic Pay plugin for WordPress is vulnerable to Privi…8.8
- CVE-2026-16636The FluentSMTP – WP SMTP Plugin with Amazon SES, SendGrid, M…7.2
- CVE-2026-16637OPeNDAP Hyrax allows SSRF and credential disclosure via unva…6.5
- CVE-2026-1665A command injection vulnerability exists in nvm (Node Versio…5.4
- CVE-2026-16653A security flaw has been discovered in boazsegev facil.io up…5.5
- CVE-2026-16655The Fluent Forms – Customizable Contact Forms, Survey, Quiz,…7.2
- CVE-2026-1666The Download Manager plugin for WordPress is vulnerable to R…6.1
- CVE-2026-1667The SEO Plugin by Squirrly SEO plugin for WordPress is vulne…7.2
- CVE-2026-1668The web interface on multiple Omada switches does not adequa…9.8
Are you affected by CVE-2026-1664?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
