Description
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.
Published: 2026-08-06
Score: 5.3 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability resides in the SubAgent.run function of the delegate_task tool within cosmicstack-labs Mercury‑Agent. The function does not enforce proper authorization checks, which allows an attacker who can send a specially crafted command to the agent to execute the run routine without the required privileges. This bypass can let the attacker invoke privileged sub‑tasks that were intended to be restricted, potentially exposing or manipulating sensitive data or services that the agent controls.

Affected Systems

The affected vendor is cosmicstack-labs and the product Mercury‑Agent. All releases up to and including version 1.1.12 are vulnerable. Versions newer than 1.1.12 are not known to be affected based on the current information.

Risk and Exploitability

The CVSS score of 5.3 places this vulnerability in the moderate risk category. The EPSS score is not available and the flaw is not listed in CISA KEV, indicating no known widespread exploitation. Nonetheless, the vulnerability can be triggered remotely, meaning an attacker with network access to the Mercury‑Agent delegate_task service could potentially take advantage of the missing authorization checks. No publicly available exploit code was disclosed, but the issue has been made public, so a custom exploit could be created. Given the moderate severity and remote attack vector, organizations should treat this as a medium‑impact risk until an official fix is applied.

Generated by OpenCVE AI on August 6, 2026 at 06:20 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply any official patch or upgrade Mercury‑Agent to a release that resolves the authorization issue.
  • Restrict network access to the Mercury‑Agent delegate_task service to trusted hosts or subnets to reduce the attack surface.
  • Review and reinforce the authorization logic for SubAgent.run, ensuring role‑based controls are enforced in line with CWE‑266 and CWE‑285 guidelines.
  • Enable and monitor agent logs for anomalous or unauthorized run command attempts.

Generated by OpenCVE AI on August 6, 2026 at 06:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 06 Aug 2026 05:30:00 +0000

Type Values Removed Values Added
Description 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.
Title cosmicstack-labs mercury-agent delegate_task Tool sub-agent.ts SubAgent.run improper authorization
First Time appeared Cosmicstack-labs
Cosmicstack-labs mercury-agent
Weaknesses CWE-266
CWE-285
CPEs cpe:2.3:a:cosmicstack-labs:mercury-agent:*:*:*:*:*:*:*:*
Vendors & Products Cosmicstack-labs
Cosmicstack-labs mercury-agent
References
Metrics cvssV2_0

{'score': 6.5, 'vector': 'AV:N/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:UR'}

cvssV3_0

{'score': 6.3, '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'}

cvssV3_1

{'score': 6.3, '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'}

cvssV4_0

{'score': 5.3, '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'}


Subscriptions

Cosmicstack-labs Mercury-agent
cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-08-06T04:45:09.185Z

Reserved: 2026-08-05T19:41:53.908Z

Link: CVE-2026-18998

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-06T06:30:03Z

Weaknesses
  • CWE-266

    Incorrect Privilege Assignment

  • CWE-285

    Improper Authorization