CVE-2026-18996 Details
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.
A vulnerability allowing incorrect privilege assignment has been identified in Cosmicstack Labs Mercury-Agent versions through 1.1.12. The issue arises in the run_command handler, specifically within the PermissionManager.checkShellCommand function. This vulnerability can be exploited remotely, bypassing intended approval processes for certain shell commands. As a result, unauthorized file writes can occur via shell redirection, potentially leading to significant integrity impacts.
Users can update to Mercury-Agent version 1.1.13 or later, where this vulnerability has been patched.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Aug 6, 2026CISA-ADP
Assessed Aug 6, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/cosmicstack-labs/mercury-agent/ | [email protected] | ProductVendor |
| https://github.com/cosmicstack-labs/mercury-agent/issues/72 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://vuldb.com/cve/CVE-2026-18996 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/submit/862625 | [email protected] | Issue TrackingPermission Required |
| https://vuldb.com/submit/862630 | [email protected] | Issue TrackingPermission Required |
| https://vuldb.com/submit/862636 | [email protected] | Permission Required |
| https://vuldb.com/submit/862637 | [email protected] | Permission Required |
| https://vuldb.com/vuln/386379 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/vuln/386379/cti | [email protected] | Content Wall |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-266 | Incorrect Privilege Assignment | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| cosmicstack-labs mercury-agent | <= 1.1.12 (semver) |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 23, 2026 | CVE Translated | [email protected] |
| Aug 6, 2026 | CVE Modified | CISA-ADP |
| Aug 6, 2026 | New CVE Received | [email protected] |
Volerion