CVE-2026-18997

published 6 Aug 2026 · updated 6 Aug 2026

cosmicstack-labs mercury-agent bg agent.ts Agent.handleBgCommand authorization

7.3HighCVSS 6.3EPSS 0%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. No fixed version is recorded.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
cosmicstack-labs=1.1.0, =1.1.1, =1.1.10, =1.1.11, =1.1.12, =1.1.2, =1.1.3, =1.1.4, =1.1.5, =1.1.6, =1.1.7, =1.1.8, =1.1.9

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-18997 severity on Zeptric[![CVE-2026-18997](https://zeptric.io/badge/cve/CVE-2026-18997.svg)](https://zeptric.io/cve/CVE-2026-18997)