CVE-2026-18996

Summary

A vulnerability has been found in cosmicstack-labs mercury-agent up to 1.1.12. This vulnerability affects the function PermissionManager.checkShellCommand of the file src/capabilities/permissions.ts of the component run_command Handler. Such manipulation leads to incorrect privilege assignment. The attack may be performed from remote. The exploit has been disclosed to the public and may 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-266: Incorrect Privilege Assignment

ADP Enrichment

CISA ADP Vulnrichment

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

References