Home / cosmicstack-labs / mercury-agent / CVE-2026-18996
CVE-2026-18996: is it exploited, and which versions of cosmicstack-labs mercury-agent are affected and fixed?
CVE-2026-18996 is an incorrect Privilege Assignment vulnerability in cosmicstack-labs mercury-agent. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:39 UTC). Affected: mercury-agent 1.1.0, mercury-agent 1.1.1, mercury-agent 1.1.2 and 10 more (CVE record by VulDB). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Medium (5.3, CVSS 4.0, from VulDB).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:39 UTC, CVE record November 19, 2026, 07:08 UTC and NVD November 19, 2026, 07:09 UTC.
What is CVE-2026-18996?
cosmicstack-labs mercury-agent run_command permissions.ts PermissionManager.checkShellCommand privileges assignment
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.
From the CVE record by VulDB, last updated August 6, 2026, 12:13 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| cosmicstack-labs | mercury-agent | 1.1.0 1.1.1 1.1.2 1.1.3 1.1.4 1.1.5 1.1.6 1.1.7 1.1.8 1.1.9 1.1.10 1.1.11 and 1 more ranges |
As the CVE record by VulDB states it, last updated August 6, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-18996?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.3 | CVSS 4.0 | 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 | VulDB |
| Medium 6.3 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R | VulDB |
| Medium 6.3 | CVSS 3.0 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R | VulDB |
| Medium 6.5 | CVSS 2.0 | AV:N/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:UR | VulDB |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-18996 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, August 6, 2026)
- EPSS
- 0.24% probability of exploitation activity in the next 30 days, percentile 16.8 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-266 Incorrect Privilege Assignment
Where are the vendor advisories and references?
- VDB-386379 | cosmicstack-labs mercury-agent run_command permissions.ts PermissionManager.checkShellCommand privileges assignment vdb-entry, technical-description
- VDB-386379 | CTI Indicators (IOB, IOC, TTP, IOA) signature, permissions-required
- CVE-2026-18996 | CVE Analysis and Report third-party-advisory
- Submit #862625 | cosmicstack-labs mercury-agent 1.1.12 Incorrect Privilege Assignment (CWE-266) third-party-advisory
- Submit #862630 | cosmicstack-labs mercury-agent 1.1.12 Exposure of Sensitive Information to an Unauthorized Actor (CWE-200) (Duplicate) third-party-advisory
- Submit #862636 | cosmicstack-labs mercury-agent 1.1.12 Incorrect Authorization (CWE-863) (Duplicate) third-party-advisory
- Submit #862637 | cosmicstack-labs mercury-agent 1.1.12 Improper Authorization (CWE-285) (Duplicate) third-party-advisory
- https://github.com/cosmicstack-labs/mercury-agent/issues/72 exploit, issue-tracking
- https://github.com/cosmicstack-labs/mercury-agent/ product
Who found and reported it?
- ChenMarry (VulDB User) (reporter)
- VulDB CNA Team (coordinator)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- August 5, 2026
- Published
- August 6, 2026, 04:15 UTC
- CVE record updated
- August 6, 2026, 12:13 UTC by VulDB
- NVD
- Deferred, last modified October 23, 2026, 21:10 UTC
- Last checked
- CVE list November 19, 2026, 07:08 UTC; NVD November 19, 2026, 07:09 UTC; KEV December 3, 2026, 16:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect mercury-agent?
- Sep 14, 2026CVE-2026-90814 cosmicstack-labs mercury-agent: server-side request forgery (SSRF)
- Sep 14, 2026CVE-2026-90813 cosmicstack-labs mercury-agent: incorrect Behavior Order: Validate Before Canonicalize
- Sep 14, 2026CVE-2026-90812 cosmicstack-labs mercury-agent: incorrect Privilege Assignment
- Sep 14, 2026CVE-2026-90811 cosmicstack-labs mercury-agent: information disclosure
- Sep 14, 2026CVE-2026-90810 cosmicstack-labs mercury-agent: improper authorization
- Aug 6, 2026CVE-2026-18998 cosmicstack-labs mercury-agent: improper authorization
- Aug 6, 2026CVE-2026-18997 cosmicstack-labs mercury-agent: incorrect authorization
Questions about CVE-2026-18996
Is CVE-2026-18996 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:39 UTC. FIRST's EPSS gives it a 0.24% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of cosmicstack-labs mercury-agent are affected by CVE-2026-18996?
mercury-agent 1.1.0, mercury-agent 1.1.1, mercury-agent 1.1.2, mercury-agent 1.1.3, mercury-agent 1.1.4, mercury-agent 1.1.5 and 7 more, per the CVE record by VulDB. The tables above give every range the sources list.
Which version fixes CVE-2026-18996?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2026-18996?
Medium (5.3, CVSS 4.0, from VulDB). The severity table above shows each score with its source.
Where is the official record of CVE-2026-18996?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.