Vulnerability · Published Sep 14, 2026 · Assigned by VulDB
CVE-2026-90812cosmicstack-labs mercury-agent Shell Command Permission permissions.ts checkShellCommand privileges assignment
Medium 4.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 33% of all known vulnerabilities).
Official description
A security vulnerability has been detected in cosmicstack-labs mercury-agent up to 1.2.0. This impacts the function checkShellCommand of the file src/capabilities/permissions.ts of the component Shell Command Permission. The manipulation leads to incorrect privilege assignment. The attack may be initiated remotely. The exploit has been disclosed publicly and may be used. 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.01.11.2.0 |
Weakness: CWE-266 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N/E:P/RL:X/RC:R
References
- VDB-403314 | cosmicstack-labs mercury-agent Shell Command Permission permissions.ts checkShellCommand privileges assignment vdb-entry, technical-description
- VDB-403314 | CTI Indicators (IOB, IOC, TTP, IOA) signature, permissions-required
- CVE-2026-90812 | CVE Analysis and Report third-party-advisory
- Submit #922878 | CosmicStack Labs Mercury Agent (@cosmicstack/mercury-agent) <= 1.2.0 Incorrect Privilege Assignment (CWE-266) / Exposure of Sensitive Information (CWE-200) third-party-advisory
- https://github.com/cosmicstack-labs/mercury-agent/issues/80 exploit, issue-tracking
- https://github.com/cosmicstack-labs/mercury-agent/ product