CVE-2026-18996: cosmicstack-labs mercury-agent run_command permissions.ts PermissionManager.checkShellCommand privileges assignment
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 runcommand 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
Event History
Frequently Asked Questions
What is the severity of CVE-2026-18996?
The severity of CVE-2026-18996 is classified as medium with a score of 6.3.
How do I fix CVE-2026-18996?
To fix CVE-2026-18996, update the cosmicstack-labs mercury-agent to a version later than 1.1.12.
What is the impact of CVE-2026-18996?
CVE-2026-18996 can lead to incorrect privilege assignments in the PermissionManager.checkShellCommand function.
Which software is affected by CVE-2026-18996?
CVE-2026-18996 affects the cosmicstack-labs mercury-agent up to version 1.1.12.
What component is involved in CVE-2026-18996?
CVE-2026-18996 involves the run_command Handler within the PermissionManager.checkShellCommand function.