---
id: CVE-2026-90812
title: >-
  A security vulnerability has been detected in cosmicstack-labs mercury-agent
  up to 1.2.0
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…
severity: medium
cvss: 4.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N'
cwe:
  - CWE-266
vendor: cosmicstack-labs
product: mercury-agent
affected:
  - mercury-agent 1.0
  - mercury-agent 1.1
  - mercury-agent 1.2.0
published: '2026-09-14'
updated: '2026-09-16'
sourceUpdated: '2026-09-16T17:18:17.640'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-90812'
references:
  - url: 'https://github.com/cosmicstack-labs/mercury-agent/'
    label: cna@vuldb.com
  - url: 'https://github.com/cosmicstack-labs/mercury-agent/issues/80'
    label: cna@vuldb.com
  - url: 'https://vuldb.com/cve/CVE-2026-90812'
    label: cna@vuldb.com
  - url: 'https://vuldb.com/submit/922878'
    label: cna@vuldb.com
  - url: 'https://vuldb.com/vuln/403314'
    label: cna@vuldb.com
  - url: 'https://vuldb.com/vuln/403314/cti'
    label: cna@vuldb.com
tags:
  - nvd
  - cve.org
  - exploit-available
epss: 0.00385
epssPercentile: 0.29774
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-09-16T16:08:47.338973Z'
ingestedAt: '2026-09-14T20:14:21.140Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
