{"id":"CVE-2026-57495","published":"2026-07-20T22:09:54Z","modified":"2026-07-22T13:53:49Z","title":"AgenticMail: Unauthenticated inbound mail triggers bypassPermissions resume of the operator's Claude Code session…","vendor":"agenticmail","product":"@agenticmail/core","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.2,"severity":"HIGH","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00362,"percentile":0.30831,"provenance":"source"},"cwes":[{"id":"CWE-306","name":"Missing Authentication for Critical Functionality"}],"references":[{"url":"https://github.com/agenticmail/agenticmail/security/advisories/GHSA-fq4x-789w-jg5h","tags":["x_refsource_CONFIRM"]}],"priority":{"score":11.9,"factors":[{"name":"EPSS percentile","points":6.17},{"name":"CVSS severity","points":5.74}]},"vendorSlug":"agenticmail","affectedVersions":[{"vendor":"agenticmail","product":"@agenticmail/core","versions":["< 0.9.43"]},{"vendor":"agenticmail","product":"@agenticmail/claudecode","versions":["< 0.2.39"]},{"vendor":"agenticmail","product":"@agenticmail/codex","versions":["< 0.1.33"]},{"vendor":"agenticmail","product":"@agenticmail/openclaw","versions":["< 0.5.71"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-07-22T13:53:32.879212Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@agenticmail/core","vulnerableRanges":["<0.9.43"],"patched":["0.9.43"],"from":["GHSA-fq4x-789w-jg5h"],"provenance":"source"},{"ecosystem":"npm","package":"@agenticmail/claudecode","vulnerableRanges":["<0.2.39"],"patched":["0.2.39"],"from":["GHSA-fq4x-789w-jg5h"],"provenance":"source"},{"ecosystem":"npm","package":"@agenticmail/codex","vulnerableRanges":["<0.1.33"],"patched":["0.1.33"],"from":["GHSA-fq4x-789w-jg5h"],"provenance":"source"},{"ecosystem":"npm","package":"@agenticmail/openclaw","vulnerableRanges":["<0.5.71"],"patched":["0.5.71"],"from":["GHSA-fq4x-789w-jg5h"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-46124","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-47255","published":"2026-07-20","fixed":"0.9.10","kev":false,"link":{"from":"CVE-2026-47255","to":"CVE-2026-57495","relation":"successor","confidence":"medium","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@agenticmail/core","fromFixed":"0.9.10","toFixed":"0.9.43","daysApart":0},{"kind":"similar","provenance":"machine","score":0.36,"basis":"same package + description similarity"}]}},{"cve":"CVE-2026-57495","published":"2026-07-20","fixed":"0.9.43","kev":false}],"package":"npm:@agenticmail/core"}}