Vulnerability · Published Aug 6, 2026 · Assigned by VulDB
CVE-2026-18998cosmicstack-labs mercury-agent delegate_task Tool sub-agent.ts SubAgent.run improper authorization
Medium 6.3
In plain English
A medium-severity security flaw in mercury-agent from cosmicstack-labs. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 31% of all known vulnerabilities).
Official description
A vulnerability was determined in cosmicstack-labs mercury-agent up to 1.1.12. Impacted is the function SubAgent.run of the file src/core/sub-agent.ts of the component delegate_task Tool. Executing a manipulation can lead to improper authorization. It is possible to launch the attack remotely. The exploit has been publicly disclosed and may be utilized. The project was informed of the problem early through an issue report but has not responded yet.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| cosmicstack-labs | mercury-agent | 1.1.01.1.11.1.21.1.31.1.41.1.51.1.61.1.7 |
Weakness: CWE-285, CWE-266 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R
References
- VDB-386381 | cosmicstack-labs mercury-agent delegate_task Tool sub-agent.ts SubAgent.run improper authorization vdb-entry, technical-description
- VDB-386381 | CTI Indicators (IOB, IOC, TTP, IOA) signature, permissions-required
- CVE-2026-18998 | CVE Analysis and Report third-party-advisory
- Submit #862628 | cosmicstack-labs mercury-agent 1.1.12 Improper Authorization (CWE-285) third-party-advisory
- Submit #862629 | cosmicstack-labs mercury-agent 1.1.12 Improper Authorization (CWE-285) (Duplicate) third-party-advisory
- https://github.com/cosmicstack-labs/mercury-agent/issues/74 exploit, issue-tracking
- https://github.com/cosmicstack-labs/mercury-agent/ product