What’s Vulnerable › Vulnerabilities
CVE-2026-18997: cosmicstack-labs mercury-agent bg agent.ts Agent.handleBgCommand authorization
- Severity: medium (CVSS 6.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-08-06 · updated 2026-10-23
- Weakness: CWE-285
Description
A vulnerability was found in cosmicstack-labs mercury-agent up to 1.1.12. This issue affects the function Agent.handleBgCommand of the file src/core/agent.ts of the component bg Command Handler. Performing a manipulation results in incorrect authorization. It is possible to initiate the attack remotely. The exploit has been made public and could be used. The project was informed of the problem early through an issue report but has not responded yet.
Affected products
- cosmicstack-labs mercury-agent: 1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.1.4, 1.1.5 (+7)
References
- https://github.com/cosmicstack-labs/mercury-agent/
- https://github.com/cosmicstack-labs/mercury-agent/issues/73
- https://vuldb.com/cve/CVE-2026-18997
- https://vuldb.com/submit/862627
- https://vuldb.com/vuln/386380
- https://vuldb.com/vuln/386380/cti
Get alerted when CVE-2026-18997 or the next vulnerability affects your stack