cosmicstack-labs mercury-agent up to 1.1.12 run_command permissions.ts PermissionManager.checkShellCommand privileges assignment
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.7 | $0-$5k | 2.45 |
Summary
A vulnerability was found in cosmicstack-labs mercury-agent up to 1.1.12. It has been rated as critical. This issue affects the function PermissionManager.checkShellCommand of the file src/capabilities/permissions.ts of the component run_command Handler. Performing a manipulation results in privileges assignment.
This vulnerability is cataloged as CVE-2026-18996. It is possible to initiate the attack remotely. Furthermore, there is an exploit available.
The project was informed of the problem early through an issue report but has not responded yet.
Details
A vulnerability classified as critical has been found in cosmicstack-labs mercury-agent up to 1.1.12. This affects the function PermissionManager.checkShellCommand of the file src/capabilities/permissions.ts of the component run_command Handler. The manipulation with an unknown input leads to a privileges assignment vulnerability. CWE is classifying the issue as CWE-266. A product incorrectly assigns a privilege to a particular actor, creating an unintended sphere of control for that actor. This is going to have an impact on confidentiality, integrity, and availability.
It is possible to read the advisory at github.com. This vulnerability is uniquely identified as CVE-2026-18996. The exploitability is told to be easy. It is possible to initiate the attack remotely. Technical details and a public exploit are known. The attack technique deployed by this issue is T1068 according to MITRE ATT&CK.
The exploit is shared for download at github.com. It is declared as proof-of-concept. The project was informed of the problem early through an issue report but has not responded yet.
There is no information about possible countermeasures known. It may be suggested to replace the affected object with an alternative product.
Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
Product
Vendor
Name
Version
Website
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 6.3VulDB Meta Temp Score: 5.7
VulDB Base Score: 6.3
VulDB Temp Score: 5.7
VulDB Vector: 🔒
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Privileges assignmentCWE: CWE-266
CAPEC: 🔒
ATT&CK: 🔒
Physical: No
Local: No
Remote: Yes
Availability: 🔒
Access: Public
Status: Proof-of-Concept
Download: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: no mitigation knownStatus: 🔍
0-Day Time: 🔒
Timeline
08/05/2026 Advisory disclosed08/05/2026 VulDB entry created
08/05/2026 VulDB entry last update
Sources
Product: github.comAdvisory: 72
Status: Not defined
CVE: CVE-2026-18996 (🔒)
GCVE (CVE): GCVE-0-2026-18996
GCVE (VulDB): GCVE-100-386379
scip Labs: https://www.scip.ch/en/?labs.20161013
Entry
Created: 08/05/2026 21:46Changes: 08/05/2026 21:46 (58)
Complete: 🔍
Submitter: ChenMarry
Cache ID: 216::103
Submit
Accepted
- Submit #862625: cosmicstack-labs mercury-agent 1.1.12 Incorrect Privilege Assignment (CWE-266) (by ChenMarry)
Duplicate
- Submit #XXXXXX: Xxxxxxxxxxx-xxxx Xxxxxxx-xxxxx X.x.xx Xxxxxxxx Xx Xxxxxxxxx Xxxxxxxxxxx Xx Xx Xxxxxxxxxxxx Xxxxx (xxx-xxx) (by ChenMarry)
- Submit #XXXXXX: Xxxxxxxxxxx-xxxx Xxxxxxx-xxxxx X.x.xx Xxxxxxxxx Xxxxxxxxxxxxx (xxx-xxx) (by TrumpChen)
- Submit #XXXXXX: Xxxxxxxxxxx-xxxx Xxxxxxx-xxxxx X.x.xx Xxxxxxxx Xxxxxxxxxxxxx (xxx-xxx) (by TrumpChen)
Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.