CVE-2026-18996: Incorrect Privilege Assignment in cosmicstack-labs mercury-agent
CVE-2026-18996 is a medium severity vulnerability in cosmicstack-labs mercury-agent up to version 1.1.12. It involves incorrect privilege assignment due to a flaw in the PermissionManager.checkShellCommand function within the run_command Handler component. The vulnerability can be exploited remotely without user interaction. Although the issue was reported early, the vendor has not yet responded or provided a fix. Public exploit details are available, but no known active exploitation in the wild has been confirmed.
AI Analysis
Technical Summary
This vulnerability affects cosmicstack-labs mercury-agent versions 1.1.0 through 1.1.12. The flaw resides in the PermissionManager.checkShellCommand function in src/capabilities/permissions.ts, which improperly assigns privileges when handling shell commands. This incorrect privilege assignment can be triggered remotely, potentially allowing an attacker to gain elevated privileges. The vulnerability has a CVSS 4.0 base score of 5.3, indicating medium severity. The vendor has not issued any patch or official remediation guidance, and the project has not responded to the initial report. Public exploit information is available, but no confirmed exploitation in the wild is reported.
Potential Impact
The vulnerability allows remote attackers to manipulate privilege assignments incorrectly, which could lead to unauthorized privilege escalation within the mercury-agent application. This may enable attackers to execute commands with higher privileges than intended, potentially compromising the affected system's security. However, the impact is rated medium based on the CVSS score and the absence of confirmed active exploitation.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since the vendor has not responded or released a fix, users should monitor official channels for updates. In the meantime, consider restricting remote access to the mercury-agent service and applying compensating controls to limit potential exploitation.
CVE-2026-18996: Incorrect Privilege Assignment in cosmicstack-labs mercury-agent
Description
CVE-2026-18996 is a medium severity vulnerability in cosmicstack-labs mercury-agent up to version 1.1.12. It involves incorrect privilege assignment due to a flaw in the PermissionManager.checkShellCommand function within the run_command Handler component. The vulnerability can be exploited remotely without user interaction. Although the issue was reported early, the vendor has not yet responded or provided a fix. Public exploit details are available, but no known active exploitation in the wild has been confirmed.
CVSS v4.0
Score 5.3medium
Affected software
pkg:github/cosmicstack-labs/mercury-agentcpe:2.3:a:cosmicstack-labs:mercury-agent:*:*:*:*:*:*:*:*Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability affects cosmicstack-labs mercury-agent versions 1.1.0 through 1.1.12. The flaw resides in the PermissionManager.checkShellCommand function in src/capabilities/permissions.ts, which improperly assigns privileges when handling shell commands. This incorrect privilege assignment can be triggered remotely, potentially allowing an attacker to gain elevated privileges. The vulnerability has a CVSS 4.0 base score of 5.3, indicating medium severity. The vendor has not issued any patch or official remediation guidance, and the project has not responded to the initial report. Public exploit information is available, but no confirmed exploitation in the wild is reported.
Potential Impact
The vulnerability allows remote attackers to manipulate privilege assignments incorrectly, which could lead to unauthorized privilege escalation within the mercury-agent application. This may enable attackers to execute commands with higher privileges than intended, potentially compromising the affected system's security. However, the impact is rated medium based on the CVSS score and the absence of confirmed active exploitation.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since the vendor has not responded or released a fix, users should monitor official channels for updates. In the meantime, consider restricting remote access to the mercury-agent service and applying compensating controls to limit potential exploitation.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulDB
- Date Reserved
- 2026-08-05T19:41:31.033Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a740d08bf8831d5391e5ee0
Added to database: 08/06/2026, 04:26:48 UTC
Last enriched: 08/06/2026, 05:15:57 UTC
Last updated: 08/06/2026, 05:15:57 UTC
Views: 14
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.