5.3medium
cosmicstack-labs mercury-agent run_command permissions.ts PermissionManager.checkShellCommand privileges assignment
- Severity
- 5.3medium CVSS:4.0 by VulDB
- Exploit likelihood
- 0.24% (higher than 16% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulDB
Description
A vulnerability has been found in cosmicstack-labs mercury-agent up to 1.1.12. This vulnerability affects the function PermissionManager.checkShellCommand of the file src/capabilities/permissions.ts of the component run_command Handler. Such manipulation leads to incorrect privilege assignment. The attack may be performed from remote. The exploit has been disclosed to the public and may be used. The project was informed of the problem early through an issue report but has not responded yet.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| cosmicstack-labs mercury-agent | 1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.1.4, 1.1.5, 1.1.6, 1.1.7 and 5 more | CVE List |
All scores
| VulDB | 5.3medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P |
| VulDB | 6.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R |
| VulDB | 6.3medium CVSS:3.0 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R |
| VulDB | 6.5medium CVSS:2.0 | AV:N/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:UR |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
What each source says
CVE List
A vulnerability has been found in cosmicstack-labs mercury-agent up to 1.1.12. This vulnerability affects the function PermissionManager.checkShellCommand of the file src/capabilities/permissions.ts of the component run_command Handler. Such manipulation leads to incorrect privilege assignment. The attack may be performed from remote. The exploit has been disclosed to the public and may be used. The project was informed of the problem early through an issue report but has not responded yet.
NVD (es)
Una vulnerabilidad ha sido encontrada en cosmicstack-labs mercury-agent hasta la versión 1.1.12. Esta vulnerabilidad afecta a la función PermissionManager.checkShellCommand del archivo src/capabilities/permissions.ts del componente run_command Gestor. Dicha manipulación conduce a una asignación de privilegios incorrecta. El ataque puede ser realizado desde remoto. El exploit ha sido divulgado al público y puede ser utilizado. El proyecto fue informado del problema tempranamente a través de un informe de incidencias pero aún no ha respondido.
References
| https://vuldb.com/vuln/386379 | technical-description, vdb-entry | |
| https://vuldb.com/vuln/386379/cti | permissions-required, signature | |
| https://vuldb.com/cve/CVE-2026-18996 | third-party-advisory | |
| https://vuldb.com/submit/862625 | third-party-advisory | |
| https://vuldb.com/submit/862630 | third-party-advisory | |
| https://vuldb.com/submit/862636 | third-party-advisory | |
| https://vuldb.com/submit/862637 | third-party-advisory | |
| https://github.com/cosmicstack-labs/mercury-agent/issues/72 | exploit, issue-tracking | |
| https://github.com/cosmicstack-labs/mercury-agent/ | product | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-18996 changed 2026-08-06 | CVE Terms of Use |
| NVD | CVE-2026-18996 changed 2026-10-23 | Public domain |