Nixpkgs Security Tracker

Login with GitHub

Suggestion detail

Untriaged
(browse all)
created 21 hours ago
Insecure Direct Object Reference (IDOR) via Header-Based Email Routing

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

Affected products

agents
  • =<0.3.6

Matching in nixpkgs

pkgs.ssh-agents

ssh-agents capable of spawning and maintaining multiple ssh-agents across terminals

pkgs.ocf-resource-agents

None

  • nixos-unstable -
    • nixpkgs-unstable
    • nixos-unstable-small
  • nixos-25.11 -
    • nixos-25.11-small
    • nixpkgs-25.11-darwin
  • nixos-25.05 -
    • nixos-25.05-small
    • nixpkgs-25.05-darwin

pkgs.lima-additional-guestagents

Lima Guest Agents for emulating non-native architectures

pkgs.python312Packages.smolagents

Barebones library for agents

pkgs.python314Packages.smolagents

Barebones library for agents

pkgs.python312Packages.user-agents

Python library to identify devices by parsing user agent strings

pkgs.python313Packages.user-agents

Python library to identify devices by parsing user agent strings

pkgs.python314Packages.user-agents

Python library to identify devices by parsing user agent strings

pkgs.python312Packages.pyuseragents

Giving you a random User-Agent Header

pkgs.python313Packages.pyuseragents

Giving you a random User-Agent Header

pkgs.python314Packages.pyuseragents

Giving you a random User-Agent Header

pkgs.python312Packages.openai-agents

Lightweight, powerful framework for multi-agent workflows

pkgs.python313Packages.openai-agents

Lightweight, powerful framework for multi-agent workflows

pkgs.python314Packages.openai-agents

Lightweight, powerful framework for multi-agent workflows

pkgs.python312Packages.bot-safe-agents

Library for fetching a list of bot-safe user agents

  • nixos-25.11 -
  • nixos-25.05 1.0

pkgs.python313Packages.azure-ai-agents

Microsoft Corporation Azure AI Agents Client Library for Python

pkgs.python313Packages.bot-safe-agents

Library for fetching a list of bot-safe user agents

pkgs.python314Packages.azure-ai-agents

Microsoft Corporation Azure AI Agents Client Library for Python

pkgs.python314Packages.bot-safe-agents

Library for fetching a list of bot-safe user agents

pkgs.pkgsRocm.python3Packages.smolagents

Barebones library for agents