CVE-2026-57495 Details
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.
A vulnerability exists in AgenticMail components, specifically in versions prior to 0.2.39 for @agenticmail/claudecode, prior to 0.1.33 for @agenticmail/codex, prior to 0.9.43 for @agenticmail/core, and prior to 0.5.71 for @agenticmail/openclaw. The issue arises from two inbound-mail handlers that process privileged actions without confirming the sender is the operator. This flaw allows external emails to trigger a 'bypassPermissions' mode in the operator's Claude Code session, creating an indirect prompt injection into a fully-privileged agent. The injected 'from', 'subject', and 'preview' details are read by the agent, which operates under the operator's OAuth identity, potentially leading to unauthorized actions.
Users should update to @agenticmail/claudecode version 0.2.39, @agenticmail/codex version 0.1.33, @agenticmail/core version 0.9.43, and @agenticmail/openclaw version 0.5.71.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 20, 2026CISA-ADP
Assessed Jul 22, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/agenticmail/agenticmail/security/advisories/GHSA-fq4x-789w-jg5h | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-306 | Missing Authentication for Critical Function | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| AgenticMail Claudecode | < 0.2.39 (semver) |
CPE
Remediation
| |
| AgenticMail Codex | < 0.1.33 (semver) |
CPE
Remediation
| |
| AgenticMail Core | < 0.9.43 (semver) |
CPE
Remediation
| |
| AgenticMail Openclaw | < 0.5.71 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 22, 2026 | CVE Modified | CISA-ADP |
| Jul 20, 2026 | New CVE Received | [email protected] |
Volerion