CVE-2026-18996
cosmicstack-labs mercury-agent run_command permissions.ts PermissionManager.checkShellCommand privileges assignment
- Published
- Updated
- Reserved
- Assigned by
- 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.
Public exploit
A reference of the record is tagged as an exploit or proof of concept: anyone can try it against an unpatched system. CISA's SSVC rates its exploitation: a proof of concept is public.
- https://github.com/cosmicstack-labs/mercury-agent/issues/72 (opens in a new tab)exploitissue-tracking
Timeline
ID reserved
By VulDB
- 1 day later
· 1 day later
Published
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| VulDBCNA (assigner) | 4.0 | Medium5.3 | 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 |
| VulDBCNA (assigner) | 3.1 | Medium6.3 | 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 |
| VulDBCNA (assigner) | 3.0 | Medium6.3 | 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 |
| VulDBCNA (assigner) | 2.0 | Medium6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:UR |
| NVDNVD · Deferred | 4.0 | Low2.1 | 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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
- EPSS (exploitation in 30 days)
- 0.43% · top 63% of all CVEs (7 Nov 2026)
- CISA SSVC
- Exploitation: poc · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.3.
Weakness
Affected products
cosmicstack-labs · mercury-agent
- affected 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
References (9)
- VDB-386379 | cosmicstack-labs mercury-agent run_command permissions.ts PermissionManager.checkShellCommand privileges assignment (opens in a new tab)vdb-entrytechnical-description
- VDB-386379 | CTI Indicators (IOB, IOC, TTP, IOA) (opens in a new tab)signaturepermissions-required
- CVE-2026-18996 | CVE Analysis and Report (opens in a new tab)third-party-advisory
- Submit #862625 | cosmicstack-labs mercury-agent 1.1.12 Incorrect Privilege Assignment (CWE-266) (opens in a new tab)third-party-advisory
- Submit #862630 | cosmicstack-labs mercury-agent 1.1.12 Exposure of Sensitive Information to an Unauthorized Actor (CWE-200) (Duplicate) (opens in a new tab)third-party-advisory
- Submit #862636 | cosmicstack-labs mercury-agent 1.1.12 Incorrect Authorization (CWE-863) (Duplicate) (opens in a new tab)third-party-advisory
- Submit #862637 | cosmicstack-labs mercury-agent 1.1.12 Improper Authorization (CWE-285) (Duplicate) (opens in a new tab)third-party-advisory
- https://github.com/cosmicstack-labs/mercury-agent/issues/72 (opens in a new tab)exploitissue-tracking
- https://github.com/cosmicstack-labs/mercury-agent/ (opens in a new tab)product
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2026-18996)Record last updated .