Read the docs
TI-2026-61716 Aliases CVE-2026-90813GHSA-9hv7-6jr2-3g59

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

Priority MEDIUM 57CWE-179Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
—
Confidentiality · integrity · availability
Low · None · None
Fix status
No fix listed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA.

Summary

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00554 46th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by the CNA
Fix No fix listed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
cosmicstack-labsmercury-agent1.1.0; 1.1.1; 1.1.2; 1.1.3; 1.1.4; 1.1.5; 1.1.6; 1.1.7; 1.1.8; 1.1.9; 1.1.10; 1.1.11; 1.1.12; 1.1.13—No fix listedCNA
  • mercury-agent Vendorcosmicstack-labs Affected 1.1.0; 1.1.1; 1.1.2; 1.1.3; 1.1.4; 1.1.5; 1.1.6; 1.1.7; 1.1.8; 1.1.9; 1.1.10; 1.1.11; 1.1.12; 1.1.13 Fixed in — No fix listed CNA

CPE names CNA · 1

CPEVersionsRoleVendor
cpe:2.3:a:cosmicstack-labs:mercury-agent:*:*:*:*:*:*:*:*———
  • cpe:2.3:a:cosmicstack-labs:mercury-agent:*:*:*:*:*:*:*:* Versions — — ·—

Remediation

No fixed version listed by the sources yet.

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-90813
  2. 2026-10-03 Alias added: GHSA-9hv7-6jr2-3g59

References

  • TI-2026-61717 cosmicstack-labs mercury-agent GitHub API github.ts githubRequest server-side request forgery CVSS 4.0MEDIUM 5.3
  • TI-2026-61715 cosmicstack-labs mercury-agent Shell Command Permission permissions.ts checkShellCommand privileges assignment CVSS 4.0MEDIUM 5.3
  • TI-2026-61713 Improper authorization in cosmicstack-labs mercury-agent CVSS 4.0MEDIUM 5.3
  • TI-2026-15525 cosmicstack-labs mercury-agent delegate_task Tool sub-agent.ts SubAgent.run improper authorization CVSS 4.0MEDIUM 5.3
  • TI-2026-15524 cosmicstack-labs mercury-agent bg agent.ts Agent.handleBgCommand authorization CVSS 4.0MEDIUM 5.3
  • TI-2026-15523 cosmicstack-labs mercury-agent run_command permissions.ts PermissionManager.checkShellCommand privileges assignment CVSS 4.0MEDIUM 5.3
See all 7 →

Sources