Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.2%top 84%

CVE-2026-18996: Incorrect Privilege Assignment in cosmicstack-labs mercury-agent

0
Medium
Published: 08/06/2026 (08/06/2026, 04:15:09 UTC)
Source: GCVE Database
Vendor/Project: cosmicstack-labs
Product: 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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
Low
Vuln. Integrity
Low
Vuln. Availability
Low
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

GitHub Actionsmore threats →ai
cosmicstack-labs/mercury-agent
pkg:github/cosmicstack-labs/mercury-agent
Affected versions
<=1.1.12

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

AILast updated: 08/06/2026, 19:17:11 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses