{"id":"CVE-2026-18996","aliases":["CVE-2026-18996"],"related":[],"kind":"vulnerability","state":"published","title":"cosmicstack-labs mercury-agent run_command permissions.ts PermissionManager.checkShellCommand privileges assignment","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2026-08-06T04:15:09.618Z","modified":"2026-10-23T21:10:00.157Z","severity":{"scorer":"VulDB","scheme":"CVSS:4.0","vector":"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","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"VulDB","scheme":"CVSS:4.0","vector":"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","score":5.3,"rating":"MEDIUM"},{"scorer":"VulDB","scheme":"CVSS:3.1","vector":"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","score":6.3,"rating":"MEDIUM"},{"scorer":"VulDB","scheme":"CVSS:3.0","vector":"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","score":6.3,"rating":"MEDIUM"},{"scorer":"VulDB","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:UR","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-266"],"affected":[{"ranges":[{"version":"1.1.0","status":"affected"},{"version":"1.1.1","status":"affected"},{"version":"1.1.2","status":"affected"},{"version":"1.1.3","status":"affected"},{"version":"1.1.4","status":"affected"},{"version":"1.1.5","status":"affected"},{"version":"1.1.6","status":"affected"},{"version":"1.1.7","status":"affected"},{"version":"1.1.8","status":"affected"},{"version":"1.1.9","status":"affected"},{"version":"1.1.10","status":"affected"},{"version":"1.1.11","status":"affected"},{"version":"1.1.12","status":"affected"}],"vendor":"cosmicstack-labs","product":"mercury-agent","cpe":"cpe:2.3:a:cosmicstack-labs:mercury-agent:*:*:*:*:*:*:*:*","source":"cvelist"}],"references":[{"url":"https://vuldb.com/vuln/386379","tags":["technical-description","vdb-entry"],"sources":["cvelist","nvd"]},{"url":"https://vuldb.com/vuln/386379/cti","tags":["permissions-required","signature"],"sources":["cvelist","nvd"]},{"url":"https://vuldb.com/cve/CVE-2026-18996","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://vuldb.com/submit/862625","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://vuldb.com/submit/862630","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://vuldb.com/submit/862636","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://vuldb.com/submit/862637","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/cosmicstack-labs/mercury-agent/issues/72","tags":["exploit","issue-tracking"],"sources":["cvelist","nvd"]},{"url":"https://github.com/cosmicstack-labs/mercury-agent/","tags":["product"],"sources":["cvelist","nvd"]}],"credits":["ChenMarry (VulDB User)","VulDB CNA Team"],"assigner":"VulDB","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-08-06T12:12:48.835Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-18996","url":"https://www.cve.org/CVERecord?id=CVE-2026-18996","licence":"CVE Terms of Use","modified":"2026-08-06T12:13:14.698Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-18996","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-18996","licence":"Public domain","modified":"2026-10-23T21:10:00.157Z"}],"updatedAt":"2026-11-25T22:59:31.205Z","epss":{"score":0.00245,"percentile":0.16796,"date":"2026-12-01T12:00:22.000Z"}}