Skip to main content

mercury-agent CVE-2026-18998

| EUVDEUVD-2026-53712 LOW
Improper Authorization (CWE-285)
2026-08-06 VulDB GHSA-7hmv-r6w5-pr73
2.1
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate with low-privilege account
  2. Delivery
    Send crafted delegate_task request to agent API
  3. Exploit
    Trigger SubAgent.run without authorization validation
  4. Execution
    Invoke unauthorized sub-agent operations
  5. Impact
    Access 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.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

mercury-agent 1.1.5
mercury-agent 1.1.12
mercury-agent 1.1.4
mercury-agent 1.1.0
mercury-agent 1.1.6
mercury-agent 1.1.9
mercury-agent 1.1.10
mercury-agent 1.1.8
mercury-agent 1.1.11
mercury-agent 1.1.2
mercury-agent 1.1.1
mercury-agent 1.1.7
mercury-agent 1.1.3

Affected Packages

euvd mercury_agent no fix

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

Vendor (VulDB) PRIMARY 2.1 MEDIUM
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
vuln.today AI 6.3 MEDIUM

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.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

3
Severity Changed
Aug 06, 2026 - 06:22 NVD
MEDIUM LOW
CVSS changed
Aug 06, 2026 - 06:22 NVD
5.3 (MEDIUM) 2.1 (LOW)
CVE Published
Aug 06, 2026 - 04:45 cve.org
MEDIUM 5.3

DescriptionCVE.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

EPSS Score
0.2%
Top 89% exploitable
Prevalence
Rare
niche AI agent framework, limited known enterprise adoption
Exploit
POC
Public exploit code exists
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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.

SignalValue
Severity LOW
CISA KEV No
Public POC Yes
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy