CVE-2026-90813

cosmicstack-labs mercury-agent Shell Command Execution permissions.ts checkShellCommand validate before canonicalize

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

Read the record on cve.org

Description

A vulnerability was detected in cosmicstack-labs mercury-agent up to 1.1.13. Affected is the function checkShellCommand of the file src/capabilities/permissions.ts of the component Shell Command Execution. The manipulation results in incorrect behavior order: validate before canonicalize. The attack may be launched remotely. The exploit is now public 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-180 Incorrect Behavior Order: Validate Before Canonicalize
  • CWE-179 Incorrect Behavior Order: Early Validation

Affected Products

ProductVersions
mercury-agentcosmicstack-labs
  • 1.1.0Affected
  • 1.1.1Affected
  • 1.1.2Affected
  • 1.1.3Affected
  • 1.1.4Affected
  • 1.1.5Affected
  • 1.1.6Affected
  • 1.1.7Affected
  • 1.1.8Affected
  • 1.1.9Affected
  • 1.1.10Affected
  • 1.1.11Affected
  • 1.1.12Affected
  • 1.1.13Affected

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.