AgenticMail @agenticmail/core
AgenticMail: Unauthenticated inbound mail triggers bypassPermissions resume of the operator's Claude Code session (bridge-wake)
AgenticMail gives AI agents real email addresses and phone numbers. In @agenticmail/claudecode prior to version 0.2.39, @agenticmail/codex prior to version 0.1.33, @agenticmail/core prior to version 0.9.43, and @agenticmail/openclaw prior to version 0.5.71, two inbound-mail handlers act on a privileged effect without verifying that the sender is the operator, while a sibling handler in the same repo does. The higher-impact one: any external email routed to the bridge inbox causes the dispatcher to resume the operator's Claude Code session with `permissionMode: 'bypassPermissions'`, embedding the attacker-controlled `from`/`subject`/`preview` verbatim into the prompt the resumed agent reads — an indirect prompt injection into a fully-privileged agent (Bash/Write/Edit/WebFetch + the agenticmail MCP toolbelt) running as the operator's OAuth identity. The sibling operator-query email-reply hook gates the same untrusted-From provenance with `isOperatorReplySender(replyFrom, config.operatorEmail)` (fail-closed); the bridge-wake path — a strictly higher-privilege effect — has no equivalent. @agenticmail/claudecode 0.2.39, @agenticmail/codex 0.1.33, @agenticmail/core 0.9.43, and @agenticmail/openclaw 0.5.71 contain a fix.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 0.9.43
Fixed in 0.9.43
- < 0.2.39
Fixed in 0.2.39
- < 0.1.33
Fixed in 0.1.33
- < 0.5.71
Fixed in 0.5.71
Mitigation
Upgrade @agenticmail/core to 0.9.43 or later.
Upgrade @agenticmail/claudecode to 0.2.39 or later.
Upgrade @agenticmail/codex to 0.1.33 or later.
Upgrade @agenticmail/openclaw to 0.5.71 or later.
References
- Vendor advisory github.com/agenticmail/agenticmail/security/ad…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.