CVE-2026-18996
published medium CVSS 4.0 · 5.3cosmicstack-labs mercury-agent run_command permissions.ts PermissionManager.checkShellCommand privileges assignment
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 | Affected | Not stated | VulDB |
Description
A vulnerability has been found in cosmicstack-labs mercury-agent up to 1.1.12. This vulnerability affects the function PermissionManager.checkShellCommand of the file src/capabilities/permissions.ts of the component run_command Handler. Such manipulation leads to incorrect privilege assignment. The attack may be performed from remote. The exploit has been disclosed to the 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:L/VA:L/SC:N/SI:N/SA:N/E:P
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 6.3 | medium | VulDB · cna | 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 | — |
| 3.0 | 6.3 | medium | VulDB · cna | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R | — |
| 2.0 | 6.5 | medium | VulDB · cna | AV:N/AC:L/Au:S/C:P/I:P/A:P/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) | VulDB · cna |
Weaknesses
1- CWE-266 Incorrect Privilege Assignment
References
9- https://github.com/cosmicstack-labs/mercury-agent/
- https://github.com/cosmicstack-labs/mercury-agent/issues/72
- CVE-2026-18996 | CVE Analysis and Report https://vuldb.com/cve/CVE-2026-18996
- Submit #862625 | cosmicstack-labs mercury-agent 1.1.12 Incorrect Privilege Assignment (CWE-266) https://vuldb.com/submit/862625
- Submit #862630 | cosmicstack-labs mercury-agent 1.1.12 Exposure of Sensitive Information to an Unauthorized Actor (CWE-200) (Duplicate) https://vuldb.com/submit/862630
- Submit #862636 | cosmicstack-labs mercury-agent 1.1.12 Incorrect Authorization (CWE-863) (Duplicate) https://vuldb.com/submit/862636
- Submit #862637 | cosmicstack-labs mercury-agent 1.1.12 Improper Authorization (CWE-285) (Duplicate) https://vuldb.com/submit/862637
- VDB-386379 | cosmicstack-labs mercury-agent run_command permissions.ts PermissionManager.checkShellCommand privileges assignment https://vuldb.com/vuln/386379
- VDB-386379 | CTI Indicators (IOB, IOC, TTP, IOA) https://vuldb.com/vuln/386379/cti
Provider assertions
2VulDB · cna
cosmicstack-labs mercury-agent run_command permissions.ts PermissionManager.checkShellCommand privileges assignment
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- f92cffddbb440c87369469fa50e592dff431aab850f00fba1e2611a8d2e4509a
- Ingested
- 23 Sep 2026, 09:03:35 UTC
- Source record
- Official CVE record