CVE-2026-57998

HIGHPre-NVD 7.87.8
EchelonGraph scoreMEDIUM confidence

“—” beside the score: it is equal to the CVSS score beside it.

Score 7.8 from GitHub Security Advisory (severity: HIGH) published 2026-08-22. A secondary CVSS source baseline 7.8; sources differ by 0.0.

Triggered by: GitHub Security Advisory CVSS
Sources: EPSS, GitHub Security Advisory, a secondary CVSS source
Trending — 3 sources updated this weekElevated
7.8EG
EchelonGraph verdictPlan mitigationRemediate within your standard update timelines at low or medium mission impact and sooner than that at high (the SSVC decision on this page).
  • CISA's Vulnrichment rates exploitation as PoC; EchelonGraph holds no exploit-code reference for it
CISA-KEV: Not listedEPSS PROB: 0.2%CVSS: 7.8Exploit: No code on recordExposed services: Not assessed

A fix is referenced (a reference tagged "Patch", often a source commit), but no release containing it is confirmed — find the release that contains it; until it is applied, mitigate (WAF / firewall / segmentation).

better-npm-audit through 3.11.0, and the 4.0.0-rc.2 prerelease, builds its npm audit command by interpolating the user-supplied --registry option into a command string in src/handlers/handleInput.ts without validation or quoting, then passes that string to child_process.exec() in index.ts, which spawns a shell. A registry value containing shell metacharacters such as a semicolon, pipe, or command substitution executes arbitrary operating system commands with the privileges of the process running the audit.

CVSS v3
7.8
EG Score
7.8HIGHmedium confidence
EG Risk
51
EG Risk 51/100

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 (value × EchelonGraph’s weight)
Severity78% × 45%
The EG Score, 7.8 of 10.
Exploitation40% × 40%
EchelonGraph's fixed weight for EG-KEV Tier 3 (Elevated): a constant, not a probability.
Automatability0% × 15%
CISA's SSVC Automatable value: no (Vulnrichment).
SSVC (CISA's decision table, applied by EchelonGraph): Track at low, Track* at medium and Attend at high mission impact.
Exploitation public PoC (CISA Vulnrichment) · Automatable no (CISA Vulnrichment) · Technical impact total (CISA Vulnrichment). All three are CISA's SSVC values (Vulnrichment). EchelonGraph applied CISA's decision table to them; CISA publishes SSVC inputs and the table, not a decision for each CVE.
Action: A fix is referenced, but no release containing it is confirmed. Check the referenced fix and the vendor's advisory for a release that contains it and apply that within your standard update timelines at low or medium mission impact and sooner than that at high; until then, restrict network exposure of the affected system or apply the vendor's mitigation.
EPSS PROB
0.2%
EPSS %ILE
10th
KEV
Not listed

SSVC (CISA's decision table, applied by EchelonGraph)Track at low, Track* at medium and Attend at high mission impact.

A fix is referenced, but no release containing it is confirmed. Check the referenced fix and the vendor's advisory for a release that contains it and apply that within your standard update timelines at low or medium mission impact and sooner than that at high; until then, restrict network exposure of the affected system or apply the vendor's mitigation.

Exploitation public PoC (CISA Vulnrichment) · Automatable no (CISA Vulnrichment) · Technical impact total (CISA Vulnrichment). All three are CISA's SSVC values (Vulnrichment). EchelonGraph applied CISA's decision table to them; CISA publishes SSVC inputs and the table, not a decision for each CVE. Mission impact is CISA's Mission & Well-being decision point, and only you can judge it. CISA's table makes it high when Mission Prevalence is Essential — the vulnerable component "directly provides capabilities that constitute at least one MEF for at least one entity" (MEF: mission essential function) — or when Public Well-Being Impact is Irreversible: "multiple fatalities are likely", the cyber-physical system "is likely lost or destroyed", "extreme or serious externalities" are imposed on other parties, or social systems such as elections or the financial grid "are destabilized and potentially collapse". CISA's decision table

BOD 26-04 (CISA's remediation timeline, Table 1)14 days if the affected system is publicly exposed; Fix on system upgrade if it is not.

In CISA KEV no (CISA's KEV catalog) · Automatable no (CISA Vulnrichment) · Technical impact total (CISA Vulnrichment). Whether your system is publicly exposed is yours to answer. BOD 26-04 binds US Federal Civilian Executive Branch agencies; for anyone else it is CISA's published timeline, a reference rather than an obligation. The directive · how EchelonGraph applies it

Published

August 22, 2026

Last Modified

October 12, 2026

Advisory Details (6)

Auto-updated Aug 22, 2026
Fix referenced — no release confirmed yet. Sources: github_pr.
Web page

better-npm-audit OS Command Injection via registry flag | Advisories | VulnCheck

https://www.vulncheck.com/advisories/better-npm-audit-os-command-injection-via-registry-flag
GitHub pull request

Implement registry URL validation in handleInput

Upstream fix in progress (PR #120 · jeemok/better-npm-audit, state=open)

https://github.com/jeemok/better-npm-audit/pull/120
Web page

better-npm-audit/index.ts at fd99a0f41ff4342b8a0a6fdbe5a17261de3d0544 · jeemok/better-npm-audit · GitHub

https://github.com/jeemok/better-npm-audit/blob/fd99a0f41ff4342b8a0a6fdbe5a17261de3d0544/index.ts#L34
Web page

better-npm-audit/src/handlers/handleInput.ts at fd99a0f41ff4342b8a0a6fdbe5a17261de3d0544 · jeemok/better-npm-audit · GitHub

https://github.com/jeemok/better-npm-audit/blob/fd99a0f41ff4342b8a0a6fdbe5a17261de3d0544/src/handlers/handleInput.ts#L30-L37
Web page

GitHub - jeemok/better-npm-audit: The goal of this project is to provide additional features on top of the existing npm audit options · GitHub

https://github.com/jeemok/better-npm-audit
Web page

[CRITICAL] Remote Code Execution via Command Injection in --registry Flag · Issue #119 · jeemok/better-npm-audit · GitHub

https://github.com/jeemok/better-npm-audit/issues/119

Vendor Advisories for CVE-2026-57998(1)

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

Weakness Classification(1)

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

Data Freshness Timeline

(refreshed 16× in last 7d / 104× in last 30d)

Each row is a time one of our pipelines fetched, updated or re-scored this CVE. 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. An arrow marks a change the record states ("CVSS v3 → 9.1"); EPSS and GHSA rows show the values recorded at that time, not what changed (EPSS values are rounded; hover one for the exact figures). Most recent first.

Showing the most recent 100 of 196 refreshes on record for this CVE.

A repeat, a row identical to one the same pipeline wrote less than 10 seconds earlier, is not a separate refresh and is not counted. None are among the latest 100 rows. The 96 oldest rows on record are not shown and were not checked, so the counts can still include repeats.

  1. 2026-10-13 16:34 UTCEPSS rescoreEPSS 0.2% · 10th percentile
  2. 2026-10-12 16:34 UTCEPSS rescoreEPSS 0.2% · 10th percentile
  3. 2026-10-12 16:30 UTCGHSA enrichmentGHSA-f8p4-pxm9-xwx5 · GitHub severity HIGH · GitHub CVSS 7.8
  4. 2026-10-12 15:53 UTCEG score recompute
  5. 2026-10-11 19:37 UTCEG score recompute
  6. 2026-10-11 16:52 UTCEG score recompute
  7. 2026-10-11 14:14 UTCEG score recompute
  8. 2026-10-11 13:49 UTCEPSS rescoreEPSS 0.2% · 10th percentile
  9. 2026-10-10 20:00 UTCEPSS rescoreEPSS 0.2% · 10th percentile
  10. 2026-10-09 20:07 UTCEPSS rescoreEPSS 0.2% · 10th percentile
  11. 2026-10-09 05:34 UTCEG score recompute
  12. 2026-10-09 05:34 UTCGHSA enrichmentGHSA-f8p4-pxm9-xwx5 · GitHub severity HIGH · GitHub CVSS 7.8
  13. 2026-10-08 17:13 UTCEPSS rescoreEPSS 0.2% · 10th percentile
  14. 2026-10-08 04:45 UTCEG score recompute
  15. 2026-10-08 04:45 UTCGHSA enrichmentGHSA-f8p4-pxm9-xwx5 · GitHub severity HIGH · GitHub CVSS 7.8
  16. 2026-10-07 23:48 UTCEPSS rescoreEPSS 0.2% · 10th percentile
  17. 2026-10-07 05:58 UTCGHSA enrichmentGHSA-f8p4-pxm9-xwx5 · GitHub severity HIGH · GitHub CVSS 7.8
  18. 2026-10-06 18:52 UTCEG score recompute
  19. 2026-10-06 18:52 UTCGHSA enrichmentGHSA-f8p4-pxm9-xwx5 · GitHub severity HIGH · GitHub CVSS 7.8
  20. 2026-10-06 15:18 UTCEPSS rescoreEPSS 0.2% · 10th percentile
  21. 2026-10-06 07:48 UTCEG score recompute
  22. 2026-10-06 07:48 UTCGHSA enrichmentGHSA-f8p4-pxm9-xwx5 · GitHub severity HIGH · GitHub CVSS 7.8
  23. 2026-10-05 17:43 UTCEPSS rescoreEPSS 0.2% · 10th percentile
  24. 2026-10-05 17:05 UTCGHSA enrichmentGHSA-f8p4-pxm9-xwx5 · GitHub severity HIGH · GitHub CVSS 7.8
  25. 2026-10-05 04:53 UTCEG score recompute
Show 75 more
  1. 2026-10-05 04:53 UTCGHSA enrichmentGHSA-f8p4-pxm9-xwx5 · GitHub severity HIGH · GitHub CVSS 7.8
  2. 2026-10-04 23:22 UTCEPSS rescoreEPSS 0.2% · 10th percentile
  3. 2026-10-04 16:13 UTCGHSA enrichmentGHSA-f8p4-pxm9-xwx5 · GitHub severity HIGH · GitHub CVSS 7.8
  4. 2026-10-04 05:03 UTCGHSA enrichmentGHSA-f8p4-pxm9-xwx5 · GitHub severity HIGH · GitHub CVSS 7.8
  5. 2026-10-03 17:41 UTCEG score recompute
  6. 2026-10-03 17:41 UTCGHSA enrichmentGHSA-f8p4-pxm9-xwx5 · GitHub severity HIGH · GitHub CVSS 7.8
  7. 2026-10-03 14:26 UTCEPSS rescoreEPSS 0.2% · 10th percentile
  8. 2026-10-03 06:37 UTCGHSA enrichmentGHSA-f8p4-pxm9-xwx5 · GitHub severity HIGH · GitHub CVSS 7.8
  9. 2026-10-02 19:33 UTCEG score recompute
  10. 2026-10-02 19:33 UTCGHSA enrichmentGHSA-f8p4-pxm9-xwx5 · GitHub severity HIGH · GitHub CVSS 7.8
  11. 2026-10-02 17:56 UTCEPSS rescoreEPSS 0.2% · 10th percentile
  12. 2026-10-02 08:28 UTCGHSA enrichmentGHSA-f8p4-pxm9-xwx5 · GitHub severity HIGH · GitHub CVSS 7.8
  13. 2026-10-01 21:23 UTCEG score recompute
  14. 2026-10-01 21:23 UTCGHSA enrichmentGHSA-f8p4-pxm9-xwx5 · GitHub severity HIGH · GitHub CVSS 7.8
  15. 2026-10-01 19:50 UTCEPSS rescoreEPSS 0.2% · 10th percentile
  16. 2026-10-01 07:29 UTCGHSA enrichmentGHSA-f8p4-pxm9-xwx5 · GitHub severity HIGH · GitHub CVSS 7.8
  17. 2026-09-30 20:25 UTCEG score recompute
  18. 2026-09-30 20:25 UTCGHSA enrichmentGHSA-f8p4-pxm9-xwx5 · GitHub severity HIGH · GitHub CVSS 7.8
  19. 2026-09-30 15:03 UTCEPSS rescoreEPSS 0.2% · 10th percentile
  20. 2026-09-30 07:34 UTCGHSA enrichmentGHSA-f8p4-pxm9-xwx5 · GitHub severity HIGH · GitHub CVSS 7.8
  21. 2026-09-29 15:34 UTCEG score recompute
  22. 2026-09-29 15:34 UTCGHSA enrichmentGHSA-f8p4-pxm9-xwx5 · GitHub severity HIGH · GitHub CVSS 7.8
  23. 2026-09-29 15:22 UTCEPSS rescoreEPSS 0.2% · 10th percentile
  24. 2026-09-29 00:08 UTCEG score recompute
  25. 2026-09-29 00:07 UTCGHSA enrichmentGHSA-f8p4-pxm9-xwx5 · GitHub severity HIGH · GitHub CVSS 7.8
  26. 2026-09-28 13:51 UTCEPSS rescoreEPSS 0.2% · 10th percentile
  27. 2026-09-28 13:03 UTCGHSA enrichmentGHSA-f8p4-pxm9-xwx5 · GitHub severity HIGH · GitHub CVSS 7.8
  28. 2026-09-28 01:59 UTCGHSA enrichmentGHSA-f8p4-pxm9-xwx5 · GitHub severity HIGH · GitHub CVSS 7.8
  29. 2026-09-27 14:38 UTCEG score recompute
  30. 2026-09-27 14:38 UTCGHSA enrichmentGHSA-f8p4-pxm9-xwx5 · GitHub severity HIGH · GitHub CVSS 7.8
  31. 2026-09-27 13:48 UTCEPSS rescoreEPSS 0.2% · 10th percentile
  32. 2026-09-27 02:21 UTCEG score recompute
  33. 2026-09-27 02:21 UTCGHSA enrichmentGHSA-f8p4-pxm9-xwx5 · GitHub severity HIGH · GitHub CVSS 7.8
  34. 2026-09-26 15:59 UTCEPSS rescoreEPSS 0.2% · 10th percentile
  35. 2026-09-25 08:26 UTCGHSA enrichmentGHSA-f8p4-pxm9-xwx5 · GitHub severity HIGH · GitHub CVSS 7.8
  36. 2026-09-24 21:21 UTCEG score recompute
  37. 2026-09-24 21:21 UTCGHSA enrichmentGHSA-f8p4-pxm9-xwx5 · GitHub severity HIGH · GitHub CVSS 7.8
  38. 2026-09-24 16:22 UTCEG score recompute
  39. 2026-09-24 16:22 UTCGHSA enrichmentGHSA-f8p4-pxm9-xwx5 · GitHub severity HIGH · GitHub CVSS 7.8
  40. 2026-09-24 14:04 UTCEPSS rescoreEPSS 0.2% · 10th percentile
  41. 2026-09-24 05:18 UTCGHSA enrichmentGHSA-f8p4-pxm9-xwx5 · GitHub severity HIGH · GitHub CVSS 7.8
  42. 2026-09-23 18:14 UTCEG score recompute
  43. 2026-09-23 18:14 UTCGHSA enrichmentGHSA-f8p4-pxm9-xwx5 · GitHub severity HIGH · GitHub CVSS 7.8
  44. 2026-09-23 17:54 UTCEPSS rescoreEPSS 0.1% · 4th percentile
  45. 2026-09-23 06:46 UTCGHSA enrichmentGHSA-f8p4-pxm9-xwx5 · GitHub severity HIGH · GitHub CVSS 7.8
  46. 2026-09-22 19:42 UTCEG score recompute
  47. 2026-09-22 19:42 UTCGHSA enrichmentGHSA-f8p4-pxm9-xwx5 · GitHub severity HIGH · GitHub CVSS 7.8
  48. 2026-09-22 05:54 UTCEG score recompute
  49. 2026-09-22 05:54 UTCGHSA enrichmentGHSA-f8p4-pxm9-xwx5 · GitHub severity HIGH · GitHub CVSS 7.8
  50. 2026-09-21 18:50 UTCEG score recompute
  51. 2026-09-21 18:50 UTCGHSA enrichmentGHSA-f8p4-pxm9-xwx5 · GitHub severity HIGH · GitHub CVSS 7.8
  52. 2026-09-21 07:45 UTCEG score recompute
  53. 2026-09-21 07:45 UTCGHSA enrichmentGHSA-f8p4-pxm9-xwx5 · GitHub severity HIGH · GitHub CVSS 7.8
  54. 2026-09-20 20:16 UTCEPSS rescoreEPSS 0.1% · 4th percentile
  55. 2026-09-20 19:57 UTCGHSA enrichmentGHSA-f8p4-pxm9-xwx5 · GitHub severity HIGH · GitHub CVSS 7.8
  56. 2026-09-20 08:53 UTCGHSA enrichmentGHSA-f8p4-pxm9-xwx5 · GitHub severity HIGH · GitHub CVSS 7.8
  57. 2026-09-19 20:05 UTCEG score recompute
  58. 2026-09-19 20:05 UTCGHSA enrichmentGHSA-f8p4-pxm9-xwx5 · GitHub severity HIGH · GitHub CVSS 7.8
  59. 2026-09-19 09:01 UTCGHSA enrichmentGHSA-f8p4-pxm9-xwx5 · GitHub severity HIGH · GitHub CVSS 7.8
  60. 2026-09-18 21:36 UTCEG score recompute
  61. 2026-09-18 21:36 UTCGHSA enrichmentGHSA-f8p4-pxm9-xwx5 · GitHub severity HIGH · GitHub CVSS 7.8
  62. 2026-09-18 19:28 UTCEPSS rescoreEPSS 0.1% · 4th percentile
  63. 2026-09-18 09:15 UTCGHSA enrichmentGHSA-f8p4-pxm9-xwx5 · GitHub severity HIGH · GitHub CVSS 7.8
  64. 2026-09-17 22:11 UTCEG score recompute
  65. 2026-09-17 22:11 UTCGHSA enrichmentGHSA-f8p4-pxm9-xwx5 · GitHub severity HIGH · GitHub CVSS 7.8
  66. 2026-09-17 19:31 UTCEPSS rescoreEPSS 0.1% · 4th percentile
  67. 2026-09-17 11:06 UTCGHSA enrichmentGHSA-f8p4-pxm9-xwx5 · GitHub severity HIGH · GitHub CVSS 7.8
  68. 2026-09-17 00:01 UTCEG score recompute
  69. 2026-09-17 00:01 UTCGHSA enrichmentGHSA-f8p4-pxm9-xwx5 · GitHub severity HIGH · GitHub CVSS 7.8
  70. 2026-09-16 14:08 UTCEPSS rescoreEPSS 0.1% · 4th percentile
  71. 2026-09-16 12:56 UTCEG score recompute
  72. 2026-09-16 12:56 UTCGHSA enrichmentGHSA-f8p4-pxm9-xwx5 · GitHub severity HIGH · GitHub CVSS 7.8
  73. 2026-09-16 05:15 UTCEPSS rescoreEPSS 0.1% · 4th percentile
  74. 2026-09-16 01:52 UTCGHSA enrichmentGHSA-f8p4-pxm9-xwx5 · GitHub severity HIGH · GitHub CVSS 7.8
  75. 2026-09-15 14:47 UTCGHSA enrichmentGHSA-f8p4-pxm9-xwx5 · GitHub severity HIGH · GitHub CVSS 7.8

Frequently asked(5)

What is CVE-2026-57998?
CVE-2026-57998 is a high-severity vulnerability; its CVE record was published on August 22, 2026. better-npm-audit through 3.11.0, and the 4.0.0-rc.2 prerelease, builds its npm audit command by interpolating the user-supplied --registry option into a command string in src/handlers/handleInput.ts without validation or quoting, then passes that string to child_process.exec() in index.ts, which…
When was CVE-2026-57998 made public?
CVE-2026-57998 was made public on May 16, 2026: that is the date its CVE record's CNA, VulnCheck, gives for when the vulnerability was made public. The CVE record itself was published on August 22, 2026. EchelonGraph's copy of the record carries a last-modified date of October 12, 2026; the record at its source may have been updated since.
Is CVE-2026-57998 actively exploited?
CVE-2026-57998 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 0.2% probability of exploitation in the next 30 days (10th percentile of EPSS-scored CVEs).
What is the CVSS score of CVE-2026-57998?
CVE-2026-57998 has a CVSS base score of 7.8 (a secondary CVSS source that NVD displays; NVD's own analysis pending).
How do I remediate CVE-2026-57998?
A fix for CVE-2026-57998 is referenced (a reference tagged "Patch", often a source commit), but EchelonGraph has no release containing it on record. Check that reference and the vendor's advisory for a release that contains the fix and update to it; until then, restrict network exposure of the affected system or apply the vendor's mitigation. The vendor advisories EchelonGraph has for CVE-2026-57998 are linked in the Vendor Advisories panel on this page.

Dependency Blast Radius

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

Explore →

Is Your Infrastructure Affected by CVE-2026-57998?

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