CVE-2026-90813
cosmicstack-labs mercury-agent Shell Command Execution permissions.ts checkShellCommand validate before canonicalize
- State
- Published
- Severity
- 5.3 Medium
- Published
- Sep 14, 2026
- Updated
- Sep 14, 2026
- Reserved
- Sep 13, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 5.3 Medium | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P | VulDB |
| 3.1 | 4.3 Medium | 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 | VulDB |
| 3.0 | 4.3 Medium | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N/E:P/RL:X/RC:R | VulDB |
| 2.0 | 4.0 Medium | AV:N/AC:L/Au:S/C:P/I:N/A:N/E:POC/RL:ND/RC:UR | VulDB |
Weaknesses
Affected Products
| Product | Versions |
|---|---|
mercury-agentcosmicstack-labs |
|
References
- VDB-403315 | cosmicstack-labs mercury-agent Shell Command Execution permissions.ts checkShellCommand validate before canonicalizevdb-entrytechnical-description
- VDB-403315 | CTI Indicators (IOB, IOC, IOA)signaturepermissions-required
- CVE-2026-90813 | CVE Analysis and Reportthird-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 Traversalthird-party-advisory
- https://github.com/cosmicstack-labs/mercury-agent/issues/95exploitissue-tracking
- https://github.com/cosmicstack-labs/mercury-agent/product
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.