CVE-2026-57494 @agenticmail/api vulnerability
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.
Browse API Security security risksQuick answer
@agenticmail/api should be reviewed and updated if it matches the affected versions. The recommended fix is to apply the vendor-supported patched version or the mitigation steps below, then retest the public website with Fixnx.
Who is affected
Affected versions
- < 0.9.64
Fixed versions
- Apply the latest vendor-supported patched version.
How to fix it
CVE-2026-57494 affects @agenticmail/api and involves authorization failure. Successful exploitation may let a lower-privileged user view or change data outside their allowed scope. Prioritize internet-facing, privileged, automation, and production deployments. Upgrade @agenticmail/api to 0.9.64 or later.
- Inventory every deployment, device, package, plugin, container, build, and environment that uses @agenticmail/api.
- Compare the installed version with the recorded affected range: < 0.9.64.
- Upgrade @agenticmail/api to 0.9.64 or later.
- Until patched, restrict the affected API or workflow to trusted administrators and enforce an additional access-control layer at the proxy or network boundary.
- Review configuration, roles, tokens, network paths, and exposed endpoints connected to @agenticmail/api; remove access that is not required.
- Review authentication, API, audit, and object-change logs for cross-user access, bypassed checks, or unexpected privileged actions.
- If exploitation is suspected, isolate affected assets, preserve evidence, rotate exposed credentials or keys, restore trusted data, and rebuild compromised systems before returning them to service.
Scan now. Google sign-in is only needed to unlock fix guidance.
Verify the fix
- Confirm every affected asset now runs the fixed vendor-supported release or has the documented mitigation for CVE-2026-57494 in place.
- Use a safe regression test to confirm the affected authorization failure path no longer produces the vulnerable behavior.
- Confirm temporary access controls, endpoint restrictions, network blocks, and least-privilege settings remain effective after the update.
- Review post-remediation logs and rerun Fixnx plus the relevant package, dependency, firmware, browser, or product-specific security check.
- Document affected assets, versions, changes, validation evidence, reviewed logs, and any credential rotation, cleanup, or replacement completed.
Related categories
Related security risks
More published guidance from the same primary category.
Trusted references
FAQ
What is affected by CVE-2026-57494?
@agenticmail/api versions listed as affected should be reviewed: < 0.9.64.
What should I fix first?
Start with internet-facing sites, admin panels, login flows, plugins, themes, modules, packages, and systems that process user-controlled input or sensitive data.
How do I confirm the fix worked?
Apply the patched version or mitigation, clear caches where relevant, retest the affected workflow, and run a new Fixnx scan to verify public website exposure signals.
How are Fixnx security risk categories chosen?
Fixnx keeps one canonical risk page and assigns only broad, relevant categories such as ecosystem, technology area, or vulnerability class.
