Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @agenticmail/openclaw
  4. ›
  5. GHSA-fq4x-789w-jg5h

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

June 18, 2026

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.

References

  • github.com/advisories/GHSA-fq4x-789w-jg5h
  • github.com/agenticmail/agenticmail/security/advisories/GHSA-fq4x-789w-jg5h

Code Behaviors & Features

Detect and mitigate GHSA-fq4x-789w-jg5h with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.5.71

Fixed versions

  • 0.5.71

Solution

Upgrade to version 0.5.71 or above.

Impact 5.9 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-306: Missing Authentication for Critical Function

Source file

npm/@agenticmail/openclaw/GHSA-fq4x-789w-jg5h.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 23 Jun 2026 12:22:49 +0000.