CVE-2026-18997

MEDIUMPre-NVD 6.36.3
EchelonGraph scoreHIGH confidence

Score 6.3 from GitHub Security Advisory (severity: LOW) published 2026-08-06. a secondary CVSS source baseline 6.3; sources differ by 0.0.

Triggered by: GitHub Security Advisory CVSS
Sources: epss, ghsa, secondary
Trending — 3 sources updated this weekElevated
6.3EG
EchelonGraph verdictMonitorLow exploitation likelihood right now — keep watching.
  • Lower severity and no public exploit yet
CISA-KEV: Not listedEPSS PROB: 0%CVSS: 6.3Exploit: Elevated riskExposed: 0

No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.

A vulnerability was found in cosmicstack-labs mercury-agent up to 1.1.12. This issue affects the function Agent.handleBgCommand of the file src/core/agent.ts of the component bg Command Handler. Performing a manipulation results in incorrect authorization. It is possible to initiate the attack remotely. The exploit has been made public and could be used. The project was informed of the problem early through an issue report but has not responded yet.

CVSS v3
6.3
EG Score
6.3(high)
EG Risk
44(Track)
EG Risk 44/100SSVC: Track

EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).

How it’s computed
Severity63% × 45%
Exploitation40% × 40%
Automatability0% × 15%
Action: Routine — remediate on your standard cadence.
EPSS PROB
0%
EPSS %ILE
11%
KEV
Not listed

Published

August 6, 2026

Last Modified

August 12, 2026

Advisory Details (2)

Auto-updated Aug 6, 2026
No patch confirmed yet.
generic

GitHub - cosmicstack-labs/mercury-agent: Soul-driven AI agent with permission-hardened tools, token budgets, and multi-channel access. Runs 24/7 from CLI or Telegram. · GitHub

https://github.com/cosmicstack-labs/mercury-agent/
generic

[Security] Mercury Agent authenticated `/bg` chat command bypasses Ask Me shell approval and executes arbitrary OS commands · Issue #73 · cosmicstack-labs/mercury-agent · GitHub

https://github.com/cosmicstack-labs/mercury-agent/issues/73

Vendor Advisories for CVE-2026-18997(1)

These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.

Weakness Classification(2)

MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.

Data Freshness Timeline

(refreshed 18× in last 7d / 48× in last 30d)

Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.

  1. 2026-08-20 22:55 UTCEPSS rescore
  2. 2026-08-20 07:52 UTCEG score recompute
  3. 2026-08-20 07:52 UTCGHSA enrichment
  4. 2026-08-19 17:03 UTCEPSS rescore
  5. 2026-08-19 06:24 UTCEG score recompute
  6. 2026-08-19 06:24 UTCGHSA enrichment
  7. 2026-08-18 13:48 UTCEPSS rescore
  8. 2026-08-18 04:27 UTCEG score recompute
  9. 2026-08-18 04:27 UTCGHSA enrichment
  10. 2026-08-17 13:47 UTCEPSS rescore
  11. 2026-08-17 02:59 UTCEG score recompute
  12. 2026-08-17 02:59 UTCGHSA enrichment
  13. 2026-08-16 14:56 UTCEPSS rescore
  14. 2026-08-16 02:14 UTCEPSS rescore
  15. 2026-08-16 01:31 UTCEG score recompute
  16. 2026-08-16 01:31 UTCGHSA enrichment
  17. 2026-08-15 01:30 UTCEPSS rescore
  18. 2026-08-15 00:02 UTCGHSA enrichment
  19. 2026-08-13 22:34 UTCEG score recompute
  20. 2026-08-13 22:34 UTCGHSA enrichment
  21. 2026-08-13 22:00 UTCEPSS rescore
  22. 2026-08-12 21:07 UTCEG score recompute
  23. 2026-08-12 21:07 UTCGHSA enrichment
  24. 2026-08-12 13:50 UTCEPSS rescore
  25. 2026-08-11 23:51 UTCEG score recompute
Show 23 more
  1. 2026-08-11 23:51 UTCGHSA enrichment
  2. 2026-08-11 13:42 UTCEPSS rescore
  3. 2026-08-11 00:00 UTCEPSS rescore
  4. 2026-08-10 22:24 UTCGHSA enrichment
  5. 2026-08-09 20:56 UTCEG score recompute
  6. 2026-08-09 20:56 UTCGHSA enrichment
  7. 2026-08-09 13:46 UTCEPSS rescore
  8. 2026-08-08 19:29 UTCEG score recompute
  9. 2026-08-08 19:29 UTCGHSA enrichment
  10. 2026-08-08 16:37 UTCEPSS rescore
  11. 2026-08-07 18:01 UTCEG score recompute
  12. 2026-08-07 18:01 UTCGHSA enrichment
  13. 2026-08-06 16:33 UTCEG score recompute
  14. 2026-08-06 16:33 UTCGHSA enrichment
  15. 2026-08-06 16:30 UTCNVD updateCVSS v4 → 2.1
  16. 2026-08-06 15:33 UTCEG score recompute
  17. 2026-08-06 15:33 UTCGHSA enrichment
  18. 2026-08-06 15:31 UTCMITRE cvelistV5CVSS v4 → 5.3
  19. 2026-08-06 13:46 UTCEPSS rescore
  20. 2026-08-06 06:17 UTCEG score recompute
  21. 2026-08-06 06:17 UTCNVD updateCVSS v4 → 2.1
  22. 2026-08-06 05:30 UTCEG score recompute
  23. 2026-08-06 05:30 UTCMITRE cvelistV5first tracked

Frequently asked(5)

What is CVE-2026-18997?
CVE-2026-18997 is a medium vulnerability published on August 6, 2026. A vulnerability was found in cosmicstack-labs mercury-agent up to 1.1.12. This issue affects the function Agent.handleBgCommand of the file src/core/agent.ts of the component bg Command Handler. Performing a manipulation results in incorrect authorization. It is possible to initiate the attack…
When was CVE-2026-18997 disclosed?
CVE-2026-18997 was first published in the National Vulnerability Database on August 6, 2026, with the most recent update on August 12, 2026. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2026-18997 actively exploited?
CVE-2026-18997 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 0% probability of exploitation in the next 30 days, which ranks it in the top 88.6% of all scored CVEs.
What is the CVSS score of CVE-2026-18997?
CVE-2026-18997 has a CVSS v3 base score of 6.3 (NVD).
How do I remediate CVE-2026-18997?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2026-18997, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.

Dependency Blast Radius

Explore the affected products and dependency analysis for CVE-2026-18997

Explore →

Is Your Infrastructure Affected by CVE-2026-18997?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.