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.
CVE-2026-18997
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.
- Lower severity and no public exploit yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- 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 computedSeverity63% × 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, 2026GitHub - 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/[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/73Vendor 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.
- 2026-08-20 22:55 UTCEPSS rescore
- 2026-08-20 07:52 UTCEG score recompute
- 2026-08-20 07:52 UTCGHSA enrichment
- 2026-08-19 17:03 UTCEPSS rescore
- 2026-08-19 06:24 UTCEG score recompute
- 2026-08-19 06:24 UTCGHSA enrichment
- 2026-08-18 13:48 UTCEPSS rescore
- 2026-08-18 04:27 UTCEG score recompute
- 2026-08-18 04:27 UTCGHSA enrichment
- 2026-08-17 13:47 UTCEPSS rescore
- 2026-08-17 02:59 UTCEG score recompute
- 2026-08-17 02:59 UTCGHSA enrichment
- 2026-08-16 14:56 UTCEPSS rescore
- 2026-08-16 02:14 UTCEPSS rescore
- 2026-08-16 01:31 UTCEG score recompute
- 2026-08-16 01:31 UTCGHSA enrichment
- 2026-08-15 01:30 UTCEPSS rescore
- 2026-08-15 00:02 UTCGHSA enrichment
- 2026-08-13 22:34 UTCEG score recompute
- 2026-08-13 22:34 UTCGHSA enrichment
- 2026-08-13 22:00 UTCEPSS rescore
- 2026-08-12 21:07 UTCEG score recompute
- 2026-08-12 21:07 UTCGHSA enrichment
- 2026-08-12 13:50 UTCEPSS rescore
- 2026-08-11 23:51 UTCEG score recompute
Show 23 moreShow fewer
- 2026-08-11 23:51 UTCGHSA enrichment
- 2026-08-11 13:42 UTCEPSS rescore
- 2026-08-11 00:00 UTCEPSS rescore
- 2026-08-10 22:24 UTCGHSA enrichment
- 2026-08-09 20:56 UTCEG score recompute
- 2026-08-09 20:56 UTCGHSA enrichment
- 2026-08-09 13:46 UTCEPSS rescore
- 2026-08-08 19:29 UTCEG score recompute
- 2026-08-08 19:29 UTCGHSA enrichment
- 2026-08-08 16:37 UTCEPSS rescore
- 2026-08-07 18:01 UTCEG score recompute
- 2026-08-07 18:01 UTCGHSA enrichment
- 2026-08-06 16:33 UTCEG score recompute
- 2026-08-06 16:33 UTCGHSA enrichment
- 2026-08-06 16:30 UTCNVD updateCVSS v4 → 2.1
- 2026-08-06 15:33 UTCEG score recompute
- 2026-08-06 15:33 UTCGHSA enrichment
- 2026-08-06 15:31 UTCMITRE cvelistV5CVSS v4 → 5.3
- 2026-08-06 13:46 UTCEPSS rescore
- 2026-08-06 06:17 UTCEG score recompute
- 2026-08-06 06:17 UTCNVD updateCVSS v4 → 2.1
- 2026-08-06 05:30 UTCEG score recompute
- 2026-08-06 05:30 UTCMITRE cvelistV5first tracked
Related CVEs(same CWE)
Same CWE
10 shownCWE-285 · CWE-863
Frequently asked(5)
What is CVE-2026-18997?
When was CVE-2026-18997 disclosed?
Is CVE-2026-18997 actively exploited?
What is the CVSS score of CVE-2026-18997?
How do I remediate CVE-2026-18997?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-18997
Is Your Infrastructure Affected by CVE-2026-18997?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.