{"id":"CVE-2026-57494","summary":"AgenticMail: Cross-agent task authorization bypass in AgenticMail API","details":"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=\u003cname\u003e`. 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.","aliases":["GHSA-hjwc-26pj-v3pm"],"modified":"2026-07-25T03:56:33.806564806Z","published":"2026-07-20T22:01:43.891Z","database_specific":{"cwe_ids":["CWE-639","CWE-862"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/57xxx/CVE-2026-57494.json","cna_assigner":"GitHub_M"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/57xxx/CVE-2026-57494.json"},{"type":"ADVISORY","url":"https://github.com/agenticmail/agenticmail/security/advisories/GHSA-hjwc-26pj-v3pm"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-57494"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/agenticmail/agenticmail","events":[{"introduced":"0"},{"fixed":"994568efbb79ccbd72ca3ca2f56460406a0e7403"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"0.9.64"}],"source":"AFFECTED_FIELD"}}],"versions":["v0.9.63","v0.9.62","v0.9.61","v0.9.60","v0.9.59","v0.9.58","v0.9.57","v0.9.51","v0.9.50","v0.9.49","v0.9.48","v0.9.47","v0.9.46","v0.9.45","v0.9.39","v0.9.38","v0.9.37","v0.9.36","v0.9.35","v0.9.34","v0.9.33","v0.9.32","v0.9.31","v0.9.30","v0.9.29","v0.9.28","v0.9.27","v0.9.26","v0.9.25","v0.9.24","v0.9.23","v0.9.22","v0.9.21","v0.9.20","v0.9.19","v0.9.18","v0.9.17","v0.9.16","v0.9.15","v0.9.14","v0.9.13","v0.9.12","v0.9.11","v0.9.10","v0.9.9","v0.9.8","v0.9.7","v0.9.6","v0.9.5","v0.9.4","v0.9.3","v0.9.2","v0.9.1","v0.9.0","v0.8.36","v0.8.35","v0.8.34","v0.8.33","v0.8.32","v0.8.31","v0.8.30","v0.8.29","v0.8.28","v0.8.27","v0.8.26","v0.8.25","v0.8.24","v0.8.23","v0.8.22","v0.8.21","v0.8.19","v0.8.18","v0.8.16","v0.8.15","v0.8.14","v0.8.13","v0.8.12","v0.8.11","plugin-v0.8.10","v0.8.10","v0.8.9","v0.8.8","v0.8.7","v0.8.6","v0.8.5","v0.8.4","v0.8.3","v0.8.2","v0.5.62","v0.5.61","v0.5.60","v0.5.59","v0.5.58","v0.5.57","v0.5.56","v0.5.55","v0.5.54","v0.5.53","v0.5.52","v0.5.51","v0.5.50","v0.5.44","v0.5.43","v0.5.42","v0.5.41","v0.5.40","v0.5.39","v0.5.38","v0.5.37","v0.5.34","v0.4.0","v0.3.25"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-57494.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"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"}]}