{
  "id": "CVE-2026-57495",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-57495",
  "published_at": "2026-07-20T22:09:54.001Z",
  "title": "AgenticMail: Unauthenticated inbound mail triggers bypassPermissions resume of the operator's Claude Code session (bridge-wake)",
  "vendor": "agenticmail",
  "product": "@agenticmail/core",
  "cvss": {
    "score": 8.2,
    "source": "cna",
    "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"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-306",
  "cvss_by_source": {
    "cna": 8.2
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "agenticmail",
        "product": "@agenticmail/core",
        "ranges": [
          "\u003c 0.9.43"
        ],
        "fixed_in": [
          "0.9.43"
        ]
      },
      {
        "vendor": "agenticmail",
        "product": "@agenticmail/claudecode",
        "ranges": [
          "\u003c 0.2.39"
        ],
        "fixed_in": [
          "0.2.39"
        ]
      },
      {
        "vendor": "agenticmail",
        "product": "@agenticmail/codex",
        "ranges": [
          "\u003c 0.1.33"
        ],
        "fixed_in": [
          "0.1.33"
        ]
      },
      {
        "vendor": "agenticmail",
        "product": "@agenticmail/openclaw",
        "ranges": [
          "\u003c 0.5.71"
        ],
        "fixed_in": [
          "0.5.71"
        ]
      }
    ],
    "upgrade": [
      "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."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/agenticmail/agenticmail/security/advisories/GHSA-fq4x-789w-jg5h"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
