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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.2
- **CVSS:** 8.2 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Attack requirements: None; Privileges required: None; User interaction: None; Confidentiality impact: None; Integrity impact: High; Availability impact: None; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.36% (percentile 22, 2026-11-26)
- **CWE:** CWE-306
- **Aliases:** GHSA-fq4x-789w-jg5h
- **Published:** 2026-06-18T17:21:27.000Z
- **Modified:** 2026-07-23T15:54:18.643Z

## Who should check

- Projects that depend on npm package @agenticmail/core (\< 0.9.43)
- Projects that depend on npm package @agenticmail/claudecode (\< 0.2.39)
- Projects that depend on npm package @agenticmail/codex (\< 0.1.33)
- Projects that depend on npm package @agenticmail/openclaw (\< 0.5.71)
- Anyone running @agenticmail/core \< 0.9.43
- Anyone running @agenticmail/claudecode \< 0.2.39
- Anyone running @agenticmail/codex \< 0.1.33
- Anyone running @agenticmail/openclaw \< 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.

## Affected and fixed versions

- npm `@agenticmail/core`: affected \< 0.9.43; fixed 0.9.43 (osv)
- npm `@agenticmail/claudecode`: affected \< 0.2.39; fixed 0.2.39 (osv)
- npm `@agenticmail/codex`: affected \< 0.1.33; fixed 0.1.33 (osv)
- npm `@agenticmail/openclaw`: affected \< 0.5.71; fixed 0.5.71 (osv)
- @agenticmail/core: \< 0.9.43 (cvelist)
- @agenticmail/claudecode: \< 0.2.39 (cvelist)
- @agenticmail/codex: \< 0.1.33 (cvelist)
- @agenticmail/openclaw: \< 0.5.71 (cvelist)

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

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-57495. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-57495.md
Affected: @agenticmail/core < 0.9.43; @agenticmail/claudecode < 0.2.39; @agenticmail/codex < 0.1.33; @agenticmail/openclaw < 0.5.71
Fixed in: 0.9.43, 0.2.39, 0.1.33, 0.5.71

Steps:
1. Search this machine and project for @agenticmail/core (npm), @agenticmail/claudecode (npm), @agenticmail/codex (npm), @agenticmail/openclaw (npm), @agenticmail/core, @agenticmail/claudecode: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-57495 being exploited?

There is no confirmed exploitation: CVE-2026-57495 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.36% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-57495?

High: CVSS 8.2 (v4.0, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-57495?

@agenticmail/core \< 0.9.43; @agenticmail/claudecode \< 0.2.39; @agenticmail/codex \< 0.1.33; @agenticmail/openclaw \< 0.5.71.

### Is there a fix for CVE-2026-57495?

Yes. Fixed in 0.9.43, 0.2.39, 0.1.33, 0.5.71. 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.

### How do I check if I'm affected by CVE-2026-57495?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/agenticmail/agenticmail/security/advisories/GHSA-fq4x-789w-jg5h>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-57495>
- other: <https://github.com/agenticmail/agenticmail>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-57495>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-fq4x-789w-jg5h> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-57495> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-57495>
