SCA: security update for @agenticmail/claudecode, @agenticmail/codex, @agenticmail/core, @agenticmail/openclaw (GHSA-fq4x-789w-jg5h)

high Tenable Cloud Security Plugin ID 497494

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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.
(CVE-2026-57495)

Solution

Update the @agenticmail/codex library and its related packages to version 0.1.33 or later.

See Also

https://github.com/advisories/GHSA-fq4x-789w-jg5h

Plugin Details

Severity: High

ID: 497494

Version: Revision 1.1

Type: Local

Family: SCA Checks

Published: 12/3/2026

Updated: 12/3/2026

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 59.05

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2026-57495

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

CVSS v4

Risk Factor: High

Base Score: 8.2

Threat Score: 4.6

Threat Vector: CVSS:4.0/E:U

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 6/18/2026

Vulnerability Publication Date: 6/18/2026

Reference Information

CVE: CVE-2026-57495

cwe: CWE-306