Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-18996— cosmicstack-labs mercury-agent run_command permissions.ts PermissionManager.checkShellCommand privileges assignment

Quick assessment

Affected
cosmicstack-labs mercury-agent
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Cosmic Stack Mercury是Cosmic Stack组织的一个具备权限控制、长期记忆、Token预算管理和多渠道交互能力的AI智能体框架。 Cosmic Stack Mercury 1.1.12及之前版本存在权限许可和访问控制问题漏洞,该漏洞源于src/capabilities/permissions.ts文件中PermissionManager.checkShellCommand函数处理不当,可能导致不正确的权限分配。

CVSS 6.3 · Medium EPSS 0.24% · P16

Possible ATT&CK Techniques 1 AI

T1068 · Exploitation for Privilege Escalation

Affected Version Matrix 13

VendorProduct Version RangeStatus
cosmicstack-labs mercury-agent 1.1.0 affected
1.1.1 affected
1.1.2 affected
1.1.3 affected
1.1.4 affected
1.1.5 affected
1.1.6 affected
1.1.7 affected
… +5 more rows
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-18996

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
cosmicstack-labs mercury-agent run_command permissions.ts PermissionManager.checkShellCommand privileges assignment
Source: CVE Program / CVE List V5
Vulnerability Description
A vulnerability has been found in cosmicstack-labs mercury-agent up to 1.1.12. This vulnerability affects the function PermissionManager.checkShellCommand of the file src/capabilities/permissions.ts of the component run_command Handler. Such manipulation leads to incorrect privilege assignment. The attack may be performed from remote. The exploit has been disclosed to the public and may be used. The project was informed of the problem early through an issue report but has not responded yet.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Source: CVE Program / CVE List V5
Vulnerability Type
特权授予不正确
Source: CVE Program / CVE List V5
Vulnerability Title
Cosmic Stack Mercury 权限许可和访问控制问题漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Cosmic Stack Mercury是Cosmic Stack组织的一个具备权限控制、长期记忆、Token预算管理和多渠道交互能力的AI智能体框架。 Cosmic Stack Mercury 1.1.12及之前版本存在权限许可和访问控制问题漏洞,该漏洞源于src/capabilities/permissions.ts文件中PermissionManager.checkShellCommand函数处理不当,可能导致不正确的权限分配。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
cosmicstack-labs mercury-agent 1.1.0 cpe:2.3:a:cosmicstack-labs:mercury-agent:*:*:*:*:*:*:*:*

II. Public POCs for CVE-2026-18996

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-18996

登录查看更多情报信息。

Patches & Fixes for CVE-2026-18996 (1)

Other References for CVE-2026-18996 (1)

Same Patch Batch · cosmicstack-labs · 2026-08-06 · 3 CVEs total

CVE-2026-18998 6.3 MEDIUM cosmicstack-labs mercury-agent delegate_task Tool sub-agent.ts SubAgent.run improper autho
CVE-2026-18997 6.3 MEDIUM cosmicstack-labs mercury-agent bg agent.ts Agent.handleBgCommand authorization

IV. Related Vulnerabilities

V. Comments for CVE-2026-18996

No comments yet


Leave a comment