Vulnerability · Published Sep 14, 2026 · Assigned by VulDB
CVE-2026-90813cosmicstack-labs mercury-agent Shell Command Execution permissions.ts checkShellCommand validate before canonicalize
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.6% (higher than 46% of all known vulnerabilities).
Official description
A vulnerability was detected in cosmicstack-labs mercury-agent up to 1.1.13. Affected is the function checkShellCommand of the file src/capabilities/permissions.ts of the component Shell Command Execution. The manipulation results in incorrect behavior order: validate before canonicalize. The attack may be launched remotely. The exploit is now public 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.1.01.1.11.1.21.1.31.1.41.1.51.1.61.1.7 |
Weakness: CWE-180, CWE-179 · 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-403315 | cosmicstack-labs mercury-agent Shell Command Execution permissions.ts checkShellCommand validate before canonicalize vdb-entry, technical-description
- VDB-403315 | CTI Indicators (IOB, IOC, IOA) signature, permissions-required
- CVE-2026-90813 | CVE Analysis and Report third-party-advisory
- Submit #922879 | CosmicStack Labs Mercury Agent (@cosmicstack/mercury-agent) <= 1.1.13 Incorrect Behavior Order - Validate Before Canonicalize (CWE-180) / Authorization Bypass / Path Traversal third-party-advisory
- https://github.com/cosmicstack-labs/mercury-agent/issues/95 exploit, issue-tracking
- https://github.com/cosmicstack-labs/mercury-agent/ product