CVE-2026-90812 cosmicstack-labs mercury-agent Shell Command Permission permissions.ts checkShellCommand privileges assignment
Incorrect privilege assignment in checkShellCommand allows remote attackers to escalate privileges in cosmicstack-labs mercury-agent.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-90812?
CVE-2026-90812 is a medium-severity vulnerability in cosmicstack-labs mercury-agent, published on 14 Sep 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
A security vulnerability has been detected in cosmicstack-labs mercury-agent up to 1.2.0. This impacts the function checkShellCommand of the file src/capabilities/permissions.ts of the component Shell Command Permission. The manipulation leads to incorrect privilege assignment. The attack may be initiated remotely. The exploit has been disclosed publicly and may be used. The project was informed of the problem early through an issue report but has not responded yet.
Weakness: CWE-266
Which versions are affected by CVE-2026-90812?
How do I fix CVE-2026-90812?
No fix has been published for CVE-2026-90812 yet. Limit exposure of the affected software until one is available.
Is CVE-2026-90812 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-90812 exists.
Sources
Also known as GHSA-27qc-j388-jw8p.