CVE-2026-18996: Incorrect Privilege Assignment in cosmicstack-labs mercury-agent
A vulnerability in cosmicstack-labs mercury-agent up to version 1.1.12 affects the PermissionManager.checkShellCommand function in the run_command Handler component. This flaw leads to incorrect privilege assignment and can be exploited remotely. The vulnerability has a CVSS score of 6.3, indicating a medium severity impact on confidentiality, integrity, and availability. The issue was reported early to the project, but no response or patch has been provided yet. Public exploit details are available, but no known exploitation in the wild has been confirmed.
AI Analysis
Technical Summary
CVE-2026-18996 is a vulnerability in cosmicstack-labs mercury-agent versions up to 1.1.12. It affects the PermissionManager.checkShellCommand function within src/capabilities/permissions.ts of the run_command Handler component. The vulnerability allows an attacker to manipulate privilege assignments incorrectly, potentially escalating privileges remotely. The vulnerability is classified under CWE-266 (Incorrect Privilege Assignment). Although the project was notified early, no official fix or patch has been released. Public disclosure of the exploit exists, but no active exploitation has been reported.
Potential Impact
The vulnerability can lead to incorrect privilege assignment, which may allow an attacker with some level of access to escalate privileges remotely. This impacts confidentiality, integrity, and availability to a limited extent, as reflected by the CVSS 3.1 score of 6.3 (AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L). No known active exploitation in the wild has been reported.
Mitigation Recommendations
No official patch or fix is currently available for this vulnerability. Since the project has not responded or released a remediation, users should monitor the vendor's advisory channels for updates. Until a fix is provided, consider restricting remote access to the affected component and applying principle of least privilege to limit potential exploitation.
CVE-2026-18996: Incorrect Privilege Assignment in cosmicstack-labs mercury-agent
Description
A vulnerability in cosmicstack-labs mercury-agent up to version 1.1.12 affects the PermissionManager.checkShellCommand function in the run_command Handler component. This flaw leads to incorrect privilege assignment and can be exploited remotely. The vulnerability has a CVSS score of 6.3, indicating a medium severity impact on confidentiality, integrity, and availability. The issue was reported early to the project, but no response or patch has been provided yet. Public exploit details are available, but no known exploitation in the wild has been confirmed.
CVSS v4.0
Score 5.3medium
Affected software
pkg:github/cosmicstack-labs/mercury-agentRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-18996 is a vulnerability in cosmicstack-labs mercury-agent versions up to 1.1.12. It affects the PermissionManager.checkShellCommand function within src/capabilities/permissions.ts of the run_command Handler component. The vulnerability allows an attacker to manipulate privilege assignments incorrectly, potentially escalating privileges remotely. The vulnerability is classified under CWE-266 (Incorrect Privilege Assignment). Although the project was notified early, no official fix or patch has been released. Public disclosure of the exploit exists, but no active exploitation has been reported.
Potential Impact
The vulnerability can lead to incorrect privilege assignment, which may allow an attacker with some level of access to escalate privileges remotely. This impacts confidentiality, integrity, and availability to a limited extent, as reflected by the CVSS 3.1 score of 6.3 (AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L). No known active exploitation in the wild has been reported.
Mitigation Recommendations
No official patch or fix is currently available for this vulnerability. Since the project has not responded or released a remediation, users should monitor the vendor's advisory channels for updates. Until a fix is provided, consider restricting remote access to the affected component and applying principle of least privilege to limit potential exploitation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-ccg4-hv3q-9622
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-18996"]
- Ecosystems
- []
- Database Specific Severity
- LOW
- Cvss Version
- 3.1
Threat ID: 6a74cfa9bf8831d5391b1426
Added to database: 08/06/2026, 18:17:13 UTC
Last enriched: 08/06/2026, 19:17:11 UTC
Last updated: 08/07/2026, 03:40:59 UTC
Views: 2
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.