Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-57495

HIGH 8.2EPSS 22%

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

Also known as GHSA-fq4x-789w-jg5h

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.

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

Vulnerability facts

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
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
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:NOpen in CVSS calculator
Show all 11 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
EPSS
0.36% chance of exploitation in 30 days (percentile 22, 2026-11-26)
CWE
CWE-306
Published
Modified

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

Package / productAffectedFixedSource
npm @agenticmail/core< 0.9.430.9.43osv
npm @agenticmail/claudecode< 0.2.390.2.39osv
npm @agenticmail/codex< 0.1.330.1.33osv
npm @agenticmail/openclaw< 0.5.710.5.71osv
@agenticmail/core< 0.9.43—cvelist
@agenticmail/claudecode< 0.2.39—cvelist
@agenticmail/codex< 0.1.33—cvelist
@agenticmail/openclaw< 0.5.71—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

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.

References

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.

Sponsors