Auth bypass in Cosmicstack-Labs Mercury-Agent

CVE-2026-18997

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.

EPSS: 0.002 (11.4th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 6.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-18997?
CVE-2026-18997 is a medium-severity vulnerability in Cosmicstack-Labs Mercury-Agent, classified under Improper Authorization. CVSS score: 6.3/10. Published 2026-08-06.
How severe is CVE-2026-18997?
Medium severity. CVSS v3 base score is 6.3 out of 10.