{"answers":{"affected":"2 open source packages ship an affected version, including @agenticmail/api.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-57494 exists.","fix":"Upgrade @agenticmail/api to 0.9.64 or later.","what":"CVE-2026-57494 is a high-severity missing authorization vulnerability in @agenticmail/api, published on 20 Jul 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-57494 and fix it if it is affected.\n\nWhat it is: CVE-2026-57494 is a high-severity missing authorization vulnerability in @agenticmail/api, published on 20 Jul 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-57494 exists.\n\nAffected packages and fixed versions:\n- @agenticmail/api (npm): affected all versions; fixed in 0.9.64\n- @agenticmail/api (npm): affected all versions; fixed in 0.9.64\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-57494/ (Markdown: https://insights.sbomify.com/CVE-2026-57494/index.md)","id":"CVE-2026-57494","markdown":"https://insights.sbomify.com/CVE-2026-57494/index.md","name":"CVE-2026-57494","record":{"aliases":["GHSA-hjwc-26pj-v3pm"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"AgenticMail API","requires_auth":"low_privilege","summary":"An authenticated agent can enumerate and manipulate tasks belonging to other agents, bypassing intended capability-based authorization controls.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":7.1,"severity":"high","source":"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","version":"4.0"},"cwes":[{"id":"CWE-862","name":"Missing Authorization"},{"id":"CWE-639","name":"Authorization Bypass Through User-Controlled Key"}],"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=\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.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"AgenticMail: Cross-agent task authorization bypass in AgenticMail API","id":"CVE-2026-57494","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"missing_authorization","year":"2026"},"n_packages":2,"n_references":1,"next":{"headline":"AgenticMail: Unauthenticated inbound mail triggers bypassPermissions resume of the operator's Claude Code session (bridge-wake)","id":"CVE-2026-57495"},"packages":[{"ecosystem":"npm","fixed":["0.9.64"],"introduced":["0"],"last_affected":[],"package":"@agenticmail/api","purl":null,"source":"GHSA-hjwc-26pj-v3pm"},{"ecosystem":"npm","fixed":["0.9.64"],"introduced":["0"],"last_affected":[],"package":"@agenticmail/api","purl":"pkg:npm/%40agenticmail/api","source":"GHSA-hjwc-26pj-v3pm"}],"prev":{"headline":"FileRise: Remember-me auto-login uses stale admin role from token instead of current role","id":"CVE-2026-57493"},"products":["@agenticmail/api"],"published":"2026-07-20","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-07-21","vendors":["agenticmail"]},"summary":"An authenticated agent can enumerate and manipulate tasks belonging to other agents, bypassing intended capability-based authorization controls.","url":"https://insights.sbomify.com/CVE-2026-57494/"}