cosmicstack-labs mercury-agent Shell Command Permission permissions.ts checkShellCommand privileges assignment
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Privilege escalation
- Confidentiality · integrity · availability
- Low · None · None
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-266.
Summary
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.
Why it matters now
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
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| cosmicstack-labs | mercury-agent | 1.0; 1.1; 1.2.0 | — | No fix listed | CNA |
- mercury-agent Vendorcosmicstack-labs Affected 1.0; 1.1; 1.2.0 Fixed in — No fix listed CNA
CPE names CNA · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| 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
- 2026-10-02 Threatist record created from CVE-2026-90812
- 2026-10-03 Alias added: GHSA-27qc-j388-jw8p
References
More cosmicstack-labs vulnerabilities
- TI-2026-61717 cosmicstack-labs mercury-agent GitHub API github.ts githubRequest server-side request forgery CVSS 4.0MEDIUM 5.3
- TI-2026-61716 cosmicstack-labs mercury-agent Shell Command Execution permissions.ts checkShellCommand validate before canonicalize 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
Sources
- CVE-2026-90812 · CVE Program
- CVE-2026-90812 · NVD
- FIRST EPSS
- GHSA-27qc-j388-jw8p · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences