# CVE-2026-90812: cosmicstack-labs mercury-agent Shell Command Permission permissions.ts checkShellCommand privileges assignment

- Severity: Medium 5.3 (CVSS:4.0, scored by VulDB) `CVSS: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:P`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-14T19:00:09.686Z
- Modified: 2026-09-16T17:18:17.640Z
- Weaknesses: CWE-266
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## 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.

(As written by CVE List.)

## Affected

- cosmicstack-labs mercury-agent: 1.0; 1.1; 1.2.0

## Every score

- VulDB: CVSS:4.0 5.3 Medium `CVSS: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:P`
- VulDB: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N/E:P/RL:X/RC:R`
- VulDB: CVSS:3.0 4.3 Medium `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N/E:P/RL:X/RC:R`
- VulDB: CVSS:2.0 4.0 Medium `AV:N/AC:L/Au:S/C:P/I:N/A:N/E:POC/RL:ND/RC:UR`

## References

- <https://github.com/cosmicstack-labs/mercury-agent/issues/80> (exploit, issue-tracking)
- <https://vuldb.com/vuln/403314> (technical-description, vdb-entry)
- <https://vuldb.com/vuln/403314/cti> (permissions-required, signature)
- <https://vuldb.com/cve/CVE-2026-90812> (third-party-advisory)
- <https://vuldb.com/submit/922878> (third-party-advisory)
- <https://github.com/cosmicstack-labs/mercury-agent/> (product)

## Sources

- CVE List: [CVE-2026-90812](https://www.cve.org/CVERecord?id=CVE-2026-90812), CVE Terms of Use, modified 2026-09-16
- NVD: [CVE-2026-90812](https://nvd.nist.gov/vuln/detail/CVE-2026-90812), Public domain, modified 2026-09-16

---

Page: https://cve.day/CVE-2026-90812 · Whole record: https://cve.day/CVE-2026-90812.json · Rebuilt by cve.day 2026-11-25T22:59:38.348Z
