Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @agenticmail/api
  4. ›
  5. GHSA-hjwc-26pj-v3pm

GHSA-hjwc-26pj-v3pm: AgenticMail: Cross-agent task authorization bypass in AgenticMail API

June 18, 2026

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.

References

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

Code Behaviors & Features

Detect and mitigate GHSA-hjwc-26pj-v3pm with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.9.64

Fixed versions

  • 0.9.64

Solution

Upgrade to version 0.9.64 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-639: Authorization Bypass Through User-Controlled Key
  • CWE-862: Missing Authorization

Source file

npm/@agenticmail/api/GHSA-hjwc-26pj-v3pm.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 23 Jun 2026 12:23:40 +0000.