CVE-2026-90812

cosmicstack-labs mercury-agent Shell Command Permission permissions.ts checkShellCommand privileges assignment

State
Published
Severity
5.3 Medium
Published
Sep 14, 2026
Updated
Sep 16, 2026
Reserved
Sep 13, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.05.3 MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:PVulDB
3.14.3 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N/E:P/RL:X/RC:RVulDB
3.04.3 MediumCVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N/E:P/RL:X/RC:RVulDB
2.04.0 MediumAV:N/AC:L/Au:S/C:P/I:N/A:N/E:POC/RL:ND/RC:URVulDB

Weaknesses

  • CWE-266 Incorrect Privilege Assignment

Affected Products

ProductVersions
mercury-agentcosmicstack-labs
  • 1.0Affected
  • 1.1Affected
  • 1.2.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.