Medium severity · published Aug 6, 2026
CVE-2026-18998
cosmicstack-labs mercury-agent delegate_task Tool sub-agent.ts SubAgent.run improper authorization
6.3
CVSS
0.4%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
Low
Integrity
Low
Availability
Low
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 30% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
ME
mercury-agent · cosmicstack-labs
1.1.0; 1.1.1; 1.1.2; 1.1.3; 1.1.4; 1.1.5; +7 more · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-18998
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-18998
github.com
https://github.com/cosmicstack-labs/mercury-agent/
github.com
https://github.com/cosmicstack-labs/mercury-agent/issues/74
vuldb.com
https://vuldb.com/cve/CVE-2026-18998
vuldb.com
https://vuldb.com/submit/862628
vuldb.com
https://vuldb.com/submit/862629
vuldb.com
https://vuldb.com/vuln/386381
More from mercury-agent
6.3
CVE-2026-90814
cosmicstack-labs mercury-agent GitHub API github.ts githubRequest server-side request forgery
6.3
CVE-2026-90810
cosmicstack-labs mercury-agent Shell Command Permission Check permissions.ts PermissionManager.checkShellCommand improper authorization
6.3
CVE-2026-18997
cosmicstack-labs mercury-agent bg agent.ts Agent.handleBgCommand authorization
6.3
CVE-2026-18996
cosmicstack-labs mercury-agent run_command permissions.ts PermissionManager.checkShellCommand privileges assignment
4.3
CVE-2026-90813
cosmicstack-labs mercury-agent Shell Command Execution permissions.ts checkShellCommand validate before canonicalize
