CVE-2026-90813
published medium CVSS 4.0 · 5.3cosmicstack-labs mercury-agent Shell Command Execution permissions.ts checkShellCommand validate before canonicalize
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| cosmicstack-labs | — | mercury-agent1.1.0 · 1.1.1 · 1.1.2 · 1.1.3 · 1.1.4 · 1.1.5 · 1.1.6 · 1.1.7 · 1.1.8 · 1.1.9 · 1.1.10 · 1.1.11 · 1.1.12 · 1.1.13 | Affected | Not stated | VulDB |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- VulDB · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 4.3 | medium | VulDB · cna | 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 | — |
| 3.0 | 4.3 | medium | VulDB · cna | 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 | — |
| 2.0 | 4.0 | medium | VulDB · cna | AV:N/AC:L/Au:S/C:P/I:N/A:N/E:POC/RL:ND/RC:UR | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| cosmicstack-labs | mercury-agent | 1.1.0 (affected)1.1.1 (affected)1.1.2 (affected)1.1.3 (affected)1.1.4 (affected)1.1.5 (affected)1.1.6 (affected)1.1.7 (affected)1.1.8 (affected)1.1.9 (affected)1.1.10 (affected)1.1.11 (affected)1.1.12 (affected)1.1.13 (affected) | VulDB · cna |
Weaknesses
2- CWE-180 Incorrect Behavior Order: Validate Before Canonicalize
- CWE-179 Incorrect Behavior Order: Early Validation
References
6- https://github.com/cosmicstack-labs/mercury-agent/
- https://github.com/cosmicstack-labs/mercury-agent/issues/95
- CVE-2026-90813 | CVE Analysis and Report https://vuldb.com/cve/CVE-2026-90813
- Submit #922879 | CosmicStack Labs Mercury Agent (@cosmicstack/mercury-agent) <= 1.1.13 Incorrect Behavior Order - Validate Before Canonicalize (CWE-180) / Authorization Bypass / Path Traversal https://vuldb.com/submit/922879
- VDB-403315 | cosmicstack-labs mercury-agent Shell Command Execution permissions.ts checkShellCommand validate before canonicalize https://vuldb.com/vuln/403315
- VDB-403315 | CTI Indicators (IOB, IOC, IOA) https://vuldb.com/vuln/403315/cti
Provider assertions
2VulDB · cna
cosmicstack-labs mercury-agent Shell Command Execution permissions.ts checkShellCommand validate before canonicalize
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 23007f01027d3513f3ac05769a3cb88eac281ced0a631e76b1a8bd073b5749a1
- Ingested
- 23 Sep 2026, 09:39:57 UTC
- Source record
- Official CVE record