{"id":"CVE-2026-57494","published":"2026-07-20T22:01:43Z","modified":"2026-07-21T14:56:03Z","title":"AgenticMail: Cross-agent task authorization bypass in AgenticMail API","vendor":"agenticmail","product":"@agenticmail/api","tier":"tail","description":{"text":"AgenticMail gives AI agents real email addresses and phone numbers. In @agenticmail/api prior to version 0.9.64, a low-privileged authenticated AgenticMail agent can enumerate another agent's pending/claimed tasks by supplying the target agent name to `GET /api/agenticmail/tasks/pending?assignee=<name>`. The returned task objects include the task IDs and payloads. The same task IDs can then be used with the capability-style task mutation endpoints (`/tasks/:id/claim`, `/tasks/:id/result`, `/tasks/:id/complete`, `/tasks/:id/fail`) to claim, complete, or fail tasks assigned to a different agent. Because ordinary authenticated agents can discover agent names through `GET /api/agenticmail/accounts/directory`, the task ID effectively stops being a secret capability. This turns the intended capability model into a cross-agent authorization bypass. Version 0.9.64 contains a fix.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00273,"percentile":0.2015,"provenance":"source"},"cwes":[{"id":"CWE-639","name":"Authorization Bypass Through User-Controlled Key"},{"id":"CWE-862","name":"Missing Authorization"}],"references":[{"url":"https://github.com/agenticmail/agenticmail/security/advisories/GHSA-hjwc-26pj-v3pm","tags":["x_refsource_CONFIRM"]}],"priority":{"score":9.0,"factors":[{"name":"EPSS percentile","points":4.03},{"name":"CVSS severity","points":4.97}]},"vendorSlug":"agenticmail","affectedVersions":[{"vendor":"agenticmail","product":"@agenticmail/api","versions":["< 0.9.64"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-21T13:13:34.696485Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@agenticmail/api","vulnerableRanges":["<0.9.64"],"patched":["0.9.64"],"from":["GHSA-hjwc-26pj-v3pm"],"provenance":"source"}],"summary":{"text":"In @agenticmail/api, prior to version 0.9.64, the task endpoints under /api/agenticmail/tasks/ fail to enforce authorization so that a low-privileged authenticated agent can use the GET /tasks/pending?assignee=<name> lookup to view another agent's task IDs and payloads, then use those IDs with the claim, result, complete, and fail endpoints to act on that agent's tasks. An attacker needs only a valid agent account on the network, with no user interaction or special configuration required, since agent names are discoverable through the accounts directory endpoint.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:07:39Z"},"euvd":{"id":"EUVD-2026-46122","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-47255","published":"2026-07-20","fixed":"0.9.32","kev":false,"link":{"from":"CVE-2026-47255","to":"CVE-2026-57494","relation":"successor","confidence":"medium","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@agenticmail/api","fromFixed":"0.9.32","toFixed":"0.9.64","daysApart":0},{"kind":"similar","provenance":"machine","score":0.42,"basis":"same product + description similarity"}]}},{"cve":"CVE-2026-57494","published":"2026-07-20","fixed":"0.9.64","kev":false}],"package":"npm:@agenticmail/api"}}