Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with low-privilege account
-
DeliverySend crafted delegate_task request to agent API
-
ExploitTrigger SubAgent.run without authorization validation
-
ExecutionInvoke unauthorized sub-agent operations
-
ImpactAccess or modify resources within sub-agent 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 | The CVSS 4.0 vector (PR:L) confirms that a low-privilege authenticated account within the mercury-agent system is required - unauthenticated attackers cannot exploit this directly. No special non-default configuration is needed; the delegate_task tool is a core component of the framework, present in any standard deployment. Exploitation is limited by the requirement for at least one valid low-privilege credential, making completely anonymous remote exploitation impossible. The impact ceiling is also constrained by what resources the targeted sub-agents are individually permitted to access in a given deployment - environments where sub-agents operate with minimal permissions will see reduced blast radius, while deployments granting sub-agents broad access to external systems amplify the real-world impact of a successful authorization bypass. |
| Impact | The CVSS 4.0 score of 5.3 (Medium) with AV:N/AC:L/AT:N/PR:L/UI:N correctly captures a remotely exploitable, low-complexity authorization bypass accessible to any authenticated low-privilege user - no special configuration or user interaction is needed. The E:P modifier confirms a public proof-of-concept lowers exploitation effort further. Impact is bounded at Low across all three triad metrics (VC:L/VI:L/VA:L), indicating partial rather than full compromise of confidentiality, integrity, and availability; no subsequent-system impact is indicated (SC:N/SI:N/SA:N). The absence of a CISA KEV listing and no EPSS data suggest exploitation is not yet widespread, but the public PoC meaningfully compresses the window before opportunistic abuse. Real-world risk is amplified in deployments where sub-agents interact with sensitive downstream systems - an authorization bypass in the delegation layer can cascade into unauthorized access far beyond the mercury-agent process itself. No conflicting signals exist between the CVSS vector and the description. |
| Exploit ScenarioDerived | An authenticated user with a low-privilege account in a mercury-agent deployment crafts a delegate_task request referencing a sub-agent operation outside their authorized scope and submits it remotely to the agent API. Because SubAgent.run does not adequately validate the caller's authorization before dispatching the task, the sub-agent executes the unauthorized operation. With a public proof-of-concept available via GitHub issue #74, an attacker can adapt known techniques to enumerate and invoke restricted sub-agent capabilities, potentially accessing or manipulating data that those sub-agents are permitted to reach. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 06, 2026
Improper authorization in cosmicstack-labs mercury-agent's delegate_task tool allows a remotely authenticated low-privilege attacker to invoke SubAgent.run operations beyond their permitted scope in all versions through 1.1.12. No vendor patch has been released - the project was notified via issue report but has not responded. A public proof-of-concept exploit exists (GitHub issue #74), lowering the bar for exploitation in any exposed deployment.
RemediationAI
No vendor-released patch has been identified at time of analysis - the vendor had not responded to responsible disclosure as of the report date, so no fixed version exists to upgrade to. As the most direct compensating control, disable or gate the delegate_task tool at the application or configuration layer if multi-agent delegation is not required in your deployment; this eliminates the vulnerable code path at the cost of sub-agent orchestration functionality. If delegate_task is required, enforce a strict allowlist of permitted sub-agent operations at the API gateway or middleware layer, rejecting requests that do not match explicitly authorized task types for the authenticated principal. Restrict network exposure of the mercury-agent API to the minimum necessary set of trusted clients, reducing the pool of accounts that can attempt exploitation. Monitor the upstream repository (https://github.com/cosmicstack-labs/mercury-agent/) and issue #74 (https://github.com/cosmicstack-labs/mercury-agent/issues/74) for patch availability and apply promptly once released.
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 an AI agent orchestration framework by cosmicstack-labs (CPE: cpe:2.3:a:cosmicstack-labs:mercury-agent:*:*:*:*:*:*:*:*). The vulnerability resides in the SubAgent.run function within src/core/sub-agent.ts, specifically in the delegate_task tool - the mechanism by which one agent delegates work to a sub-agent. CWE-285 (Improper Authorization) indicates the system does not correctly verify whether the requesting principal is authorized to perform the requested sub-agent operation before executing it. This is distinct from an authentication failure: the caller is recognized by the system (PR:L confirms credentials are required), but the authorization gate that should restrict which sub-agent tasks a given caller can issue is insufficiently enforced. In multi-agent architectures, delegate_task authorization is critical because sub-agents may carry elevated access to downstream resources.
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
PR:L because low-privilege authentication is required; S:U and Low CIA because sub-agent scope is bounded with no evidence of scope change to other systems.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.org
A vulnerability was determined in cosmicstack-labs mercury-agent up to 1.1.12. Impacted is the function SubAgent.run of the file src/core/sub-agent.ts of the component delegate_task Tool. Executing a manipulation can lead to improper authorization. It is possible to launch the attack remotely. The exploit has been publicly disclosed and may be utilized. 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
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
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 PermissionManager.checkShellCommand function (versions 1.1.0
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-53712
GHSA-7hmv-r6w5-pr73
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB