Privilege escalation in Cosmicstack-Labs Mercury-Agent
CVE-2026-18996
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.
Published · last modified .
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.
EPSS exploit prediction
EPSS 0.004, 37.5th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Cosmicstack-Labs Mercury-Agent — versions 1.1.0, 1.1.1, 1.1.2
Weakness classification (CWE)
References
- VDB-386379 | cosmicstack-labs mercury-agent run_command permissions.ts PermissionManager.checkShellCommand privileges assignment (technical-description, vdb-entry)
- VDB-386379 | CTI Indicators (IOB, IOC, TTP, IOA) (signature, permissions-required)
- CVE-2026-18996 | CVE Analysis and Report (third-party-advisory)
- Submit #862625 | cosmicstack-labs mercury-agent 1.1.12 Incorrect Privilege Assignment (CWE-266) (third-party-advisory)
- Submit #862630 | cosmicstack-labs mercury-agent 1.1.12 Exposure of Sensitive Information to an Unauthorized Actor (CWE-200) (Duplicate) (third-party-advisory)
- Submit #862636 | cosmicstack-labs mercury-agent 1.1.12 Incorrect Authorization (CWE-863) (Duplicate) (third-party-advisory)
- Submit #862637 | cosmicstack-labs mercury-agent 1.1.12 Improper Authorization (CWE-285) (Duplicate) (third-party-advisory)
- github.com/cosmicstack-labs/mercury-agent/issues/72 (issue-tracking, exploit)
- github.com/cosmicstack-labs/mercury-agent/ (product)