Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to mercury-agent with low-privilege credentials
-
DeliverySend crafted request to shell command capability endpoint
-
ExploitTrigger checkShellCommand with malformed or boundary-case authorization context
-
ExecutionBypass PermissionManager authorization check
-
ImpactExecute shell commands beyond permitted scope
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization verification
MITRE ATT&CK
1 technique across 1 tactic: Defense Evasion The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires valid low-privilege authentication to the mercury-agent instance (PR:L per CVSS 4.0 vector) - unauthenticated exploitation is not indicated. The vulnerable code path is specifically the checkShellCommand method in PermissionManager (mercury-agent/src/capabilities/permissions.ts), reachable when shell command capabilities are enabled in the agent configuration. Exploitation is limited by: the need for prior authentication, the absence of scope change to subsequent systems (SC:N/SI:N/SA:N), and the constrained low-level C/I/A impact. Non-default configurations that disable shell command capabilities entirely would prevent exploitation of this specific pathway. |
| Impact | The CVSS 4.0 score of 2.1 places this firmly in the low tier, and the vector substantiates this: exploitation requires prior authentication (PR:L), and confidentiality/integrity/availability impacts are each limited to Low with no subsequent-system effects. A public POC exists (E:P modifier present in the CVSS 4.0 supplemental vector), which elevates practical exploitability beyond theoretical, but the authentication barrier meaningfully reduces the exposed attack surface compared to unauthenticated flaws. No CISA KEV listing is present, and EPSS data was not provided, so exploitation probability cannot be quantified numerically - even a mid-sized municipal IT team in boleslawiec deploying mercury-agent should treat the authentication gating as the primary control worth verifying rather than urgently patching. The product is niche and not widely deployed in enterprise environments, further limiting aggregate risk. The vendor's non-response to disclosure is a concern for patch timeline but does not change the inherent severity. |
| Exploit ScenarioDerived | An attacker with valid low-privilege credentials on a mercury-agent deployment crafts an API or IPC request targeting the PermissionManager.checkShellCommand pathway, exploiting the authorization logic flaw to invoke shell commands outside their permitted scope. The publicly available POC via GitHub issue #101 provides a concrete technique reference. Because no attack complexity barriers exist (AC:L/AT:N), a credentialed attacker can reliably reproduce the bypass without race conditions or special environment prerequisites. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 15, 2026
Improper authorization in cosmicstack-labs mercury-agent's PermissionManager.checkShellCommand function (versions 1.1.0 through 1.1.13) allows authenticated remote attackers to bypass the shell command permission gate enforced in mercury-agent/src/capabilities/permissions.ts. A public exploit was released via GitHub issue #101, and the vendor has not responded to the coordinated disclosure. The CVSS 4.0 base score is 2.1 (low), reflecting constrained impact due to authentication prerequisites and limited C/I/A blast radius, with no CISA KEV listing confirmed at time of analysis.
RemediationAI
No vendor-released patch identified at time of analysis - the project was notified via issue report (GitHub issue #101) but has not yet responded or released a fix. As compensating controls: restrict network access to mercury-agent endpoints to trusted hosts or VPN segments only, which limits PR:L exploitation to already-credentialed internal actors; disable or remove shell command capabilities entirely in mercury-agent's configuration if not operationally required, eliminating the vulnerable code path; enforce additional authorization layers (e.g., OS-level permission restrictions on the process account) so that even if checkShellCommand is bypassed, the underlying OS refuses unauthorized shell invocations. Monitor the upstream repository at https://github.com/cosmicstack-labs/mercury-agent/ for patch releases and update immediately when available.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Mercury-agent is a TypeScript-based software agent maintained by cosmicstack-labs (CPE: cpe:2.3:a:cosmicstack-labs:mercury-agent:*:*:*:*:*:*:*:*). The vulnerable component is the PermissionManager class within mercury-agent/src/capabilities/permissions.ts, specifically the checkShellCommand method responsible for gatekeeping shell command execution requests. CWE-285 (Improper Authorization) indicates the logic fails to correctly validate whether the requesting caller holds the necessary role, permission scope, or context to invoke shell commands - distinct from authentication failure (CWE-287), the check exists but produces incorrect decisions. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) confirms the flaw is network-reachable, requires no special attack conditions, and demands only low-privilege credentials, with subsequent-system metrics all set to None (SC:N/SI:N/SA:N), indicating no lateral scope change.
Know when Mercury Agent gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Network-reachable with authentication required (PR:L); no scope change; C/I/A each Low reflecting constrained shell command bypass impact.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.org
A security flaw has been discovered in cosmicstack-labs mercury-agent up to 1.1.13. The impacted element is the function PermissionManager.checkShellCommand of the file mercury-agent/src/capabilities/permissions.ts of the component Shell Command Permission Check. Performing a manipulation results in improper authorization. The attack can be initiated remotely. The exploit has been released to the public and may be used for attacks. The project was informed of the problem early through an issue report but has not responded yet.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
More in Mercury Agent
View allIncorrect privilege assignment in cosmicstack-labs mercury-agent (all versions through 1.1.12) allows authenticated remo
Improper authorization in cosmicstack-labs mercury-agent's delegate_task tool allows a remotely authenticated low-privil
Incorrect authorization in cosmicstack-labs mercury-agent through version 1.1.12 allows remote authenticated attackers t
Server-side request forgery in cosmicstack-labs Mercury Agent (versions 1.1.0 through 1.1.13) lets an attacker who can i
Mercury Agent versions through 1.1.13 gate shell execution by validating commands before canonicalizing them, so a calle
A local information-disclosure weakness in cosmicstack-labs mercury-agent through version 1.2.0 lets a low-privileged lo
EUVD-2026-77763
GHSA-xm72-m8gr-4jp8
NVD
CVE.org
EPSS
VulDB
Exploit-DB