CVE-2026-18997: cosmicstack-labs mercury-agent · Incorrect Authorization
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.3% chance of exploitation in 30 days – higher than 30% 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
Users should monitor the vendor's communications for updates. Until a patch is available, consider restricting network access to the mercury-agent service to trusted sources only to reduce exposure. Review and implement additional access controls where possible to mitigate unauthorized command execution.
Description
CVE-2026-18997 is a medium severity vulnerability in cosmicstack-labs mercury-agent up to version 1.1.12. It involves incorrect authorization in the Agent.handleBgCommand function, allowing remote attackers to manipulate background commands without proper authorization. The vulnerability has a CVSS 4.0 base score of 5.3. The project has been informed but has not yet responded or issued a fix. Exploit code has been publicly disclosed, but no known active exploitation in the wild is reported.
References
- vuldb.com/vuln/386380 (opens in a new tab)
- vuldb.com/vuln/386380/cti (opens in a new tab)
- vuldb.com/cve/CVE-2026-18997 (opens in a new tab)
- vuldb.com/submit/862627 (opens in a new tab)
- github.com/cosmicstack-labs/mercury-agent/issues/73 (opens in a new tab)
- github.com/cosmicstack-labs/mercury-agent/ (opens in a new tab)