{"id":11178,"date":"2026-09-04T18:51:44","date_gmt":"2026-09-04T10:51:44","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-57998"},"modified":"2026-09-04T18:51:44","modified_gmt":"2026-09-04T10:51:44","slug":"cve-2026-57998","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-57998","title":{"rendered":"CVE-2026-57998 [HIGH] &#8211; better-npm-audit through 3.11.0, and the 4.0.0-rc.2 prerelease, builds its npm audit comma"},"content":{"rendered":"<p>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 &#8211;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.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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 &#8211;registry option into a command string in src\/handlers\/handleInput.ts w<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-11178","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/11178","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln"}],"about":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/types\/vuln"}],"wp:attachment":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=11178"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=11178"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=11178"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}