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

- Severity: High 8.2 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.36%, higher than 22% of CVEs (2026-11-30)
- Published: 2026-06-18T17:21:27.000Z
- Modified: 2026-07-23T15:54:18.643Z
- Also known as: GHSA-fq4x-789w-jg5h
- Weaknesses: CWE-306
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

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

## Every score

- GitHub_M: CVSS:4.0 8.2 High `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`
- GitHub: CVSS:4.0 High `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`

## References

- <https://github.com/agenticmail/agenticmail/security/advisories/GHSA-fq4x-789w-jg5h> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-57495> (advisory)
- <https://github.com/agenticmail/agenticmail> (package)

## Sources

- CVE List: [CVE-2026-57495](https://www.cve.org/CVERecord?id=CVE-2026-57495), CVE Terms of Use, modified 2026-07-22
- GitHub Advisory Database: [GHSA-fq4x-789w-jg5h](https://github.com/advisories/GHSA-fq4x-789w-jg5h), CC-BY-4.0, modified 2026-07-21
- NVD: [CVE-2026-57495](https://nvd.nist.gov/vuln/detail/CVE-2026-57495), Public domain, modified 2026-07-23

---

Page: https://cve.day/CVE-2026-57495 · Whole record: https://cve.day/CVE-2026-57495.json · Rebuilt by cve.day 2026-11-25T22:59:29.295Z
