CVE-2026-18996: cosmicstack-labs mercury-agent · Incorrect Privilege Assignment
Affects cosmicstack-labs mercury-agentSource CVE Database V5
Public exploit available · CVSS 5.3 Medium.
Data as of 5 Nov 2026, 00:01 UTC
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 37% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
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:PExploitation evidence
Disclosed: evidence found.
CVE published 6 Aug 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: evidence found.
CVSS exploit maturity: proof of concept public
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), CVSS vector, the Metasploit, Exploit-DB and nuclei-templates index as of 5 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| cosmicstack-labsmercury-agent | Affected
| Fixed in– |
GitHubcosmicstack-labs/mercury-agentpkg:github/cosmicstack-labs/mercury-agentOther threats | Affected
| Fixed in– |
CPE configurations (1)
cpe:2.3:a:cosmicstack-labs:mercury-agent:*:*:*:*:*:*:*:*
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Since the vendor has not responded or released a fix, users should monitor official channels for updates. In the meantime, consider restricting remote access to the mercury-agent service and applying compensating controls to limit potential exploitation.
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.
References
- vuldb.com/vuln/386379 (opens in a new tab)
- vuldb.com/vuln/386379/cti (opens in a new tab)
- vuldb.com/cve/CVE-2026-18996 (opens in a new tab)
- vuldb.com/submit/862625 (opens in a new tab)
- vuldb.com/submit/862630 (opens in a new tab)
- vuldb.com/submit/862636 (opens in a new tab)
- vuldb.com/submit/862637 (opens in a new tab)
- github.com/cosmicstack-labs/mercury-agent/issues/72 (opens in a new tab)
- github.com/cosmicstack-labs/mercury-agent/ (opens in a new tab)