CVE-2026-18997

Summary

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 Software

VendorProductVersion RangeStatus
cosmicstack-labsmercury-agent1.1.0affected
cosmicstack-labsmercury-agent1.1.1affected
cosmicstack-labsmercury-agent1.1.2affected
cosmicstack-labsmercury-agent1.1.3affected
cosmicstack-labsmercury-agent1.1.4affected
cosmicstack-labsmercury-agent1.1.5affected
cosmicstack-labsmercury-agent1.1.6affected
cosmicstack-labsmercury-agent1.1.7affected
cosmicstack-labsmercury-agent1.1.8affected
cosmicstack-labsmercury-agent1.1.9affected
cosmicstack-labsmercury-agent1.1.10affected
cosmicstack-labsmercury-agent1.1.11affected
cosmicstack-labsmercury-agent1.1.12affected

Weaknesses

  • CWE-863: Incorrect Authorization
  • CWE-285: Improper Authorization

ADP Enrichment

CISA ADP Vulnrichment

  • SSVC:
  • Exploitation: poc
    • Automatable: no
    • Technical Impact: partial

References