Public mode

No access to your tenant or devices. Every item links to its source. What this means

Sources need attention Customize Public modeDiscuss ChangeIntel on Discord

better-npm-audit OS Command Injection via registry flag

CVSS 4.0 8.5 HIGHCVSS 3.1 7.8 HIGHCheck source for fixed versionsKEV status unknown

cve-program · CVE-2026-57998

Published

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.

Read the publisher's advisory

Affected versions, risk and source history

cve-program · CVE-2026-57998

Published

better-npm-audit

Vendor product

Publisher's version information

Shown as published. These rules are not interpreted as NuGet package version ranges.

{
                    "vendor": "jeemok",
                    "product": "better-npm-audit",
                    "defaultStatus": "unaffected",
                    "packageURL": "pkg:npm/better-npm-audit",
                    "versions": [
                        {
                            "version": "0",
                            "lessThanOrEqual": "3.11.0",
                            "status": "affected",
                            "versionType": "semver"
                        },
                        {
                            "version": "4.0.0-rc.2",
                            "status": "affected",
                            "versionType": "semver"
                        }
                    ]
                }

Original source record · Cite this exact observation · Complete original publisher JSON

ChangeIntel

An IT change radar: releases, security, known issues, retirements, documentation changes, and service status from public sources. Every item links to supporting evidence; dates and statuses can change after they are read.

Sources read 20 Nov 05:45 UTC · 268 of 275 readable · 264 fully read · documentation 469/469 current