cross-spawn: Argument injection on Windows via backslashes before a double quote
cross-spawn is a cross-platform solution for Node.js spawn and spawnSync. From 6.0.6 until 6.0.7 and from 7.0.4 until 7.1.0, Windows applications that pass untrusted arguments to commands routed through cmd.exe can be vulnerable because cross-spawn did not correctly double runs of backslashes before a double quote or at the end of an argument. Two or more backslashes could escape the argument's closing quote, allowing attacker-controlled text to become extra arguments or consume following arguments. The caller may not detect the injection when the target accepts the resulting arguments and exits successfully, while a target that rejects an unexpected argument can fail instead. The affected command class includes npm cmd-shims in node_modules/.bin. This can change a target program's operation, although it does not by itself execute a second command and does not affect other platforms. This issue is fixed in versions 6.0.7 and 7.1.0.
Affected Packages
No package information available.
Bump cross-spawn from 7.0.6 to 7.1.2 in /frontend_app
Closed about 1 hour agochore(deps): bump cross-spawn from 7.0.6 to 7.1.2
Open about 2 hours agoBump cross-spawn from 7.0.6 to 7.1.2
Open about 2 hours agochore(deps): bump cross-spawn from 7.0.6 to 7.1.2
Open about 2 hours agochore(deps): bump cross-spawn from 7.0.6 to 7.1.0
Open about 3 hours agochore(deps): bump cross-spawn from 7.0.6 to 7.1.2
Open about 3 hours agoBump cross-spawn from 7.0.6 to 7.1.2 in /eng/packages/http-client-csharp-provisioning
Open about 4 hours agoBump cross-spawn from 7.0.3 to 7.1.2
Open about 5 hours agodeps-dev(deps-dev): bump cross-spawn from 7.0.6 to 7.1.2
Closed about 5 hours agobuild(deps): bump cross-spawn from 7.0.6 to 7.1.2 in /web
Open about 6 hours agoBump cross-spawn from 7.0.6 to 7.1.2
Closed about 6 hours agochore(deps-dev): bump cross-spawn from 7.0.6 to 7.1.2
Closed about 7 hours agoBump cross-spawn from 7.0.6 to 7.1.2
Open about 7 hours agobuild(deps-dev): bump cross-spawn from 7.0.6 to 7.1.2 in /algo22-terminal
Open about 8 hours agobuild(deps-dev): bump cross-spawn from 7.0.6 to 7.1.2 in /examples/floci/CommunityToolkit.Aspire.Hosting.Floci.AppHost.TypeScript
Closed about 8 hours agobuild(deps-dev): bump cross-spawn from 7.0.6 to 7.1.2 in /examples/javascript-ext/CommunityToolkit.Aspire.Hosting.JavaScript.Extensions.AppHost.TypeScript
Closed about 8 hours agobuild(deps): bump cross-spawn from 6.0.5 to 6.0.10
Open about 8 hours agochore(deps-dev): bump cross-spawn from 7.0.6 to 7.1.2 in /vscode-joss
Closed about 8 hours agobuild(deps-dev): bump cross-spawn from 7.0.6 to 7.1.2 in /examples/sql-database-projects/CommunityToolkit.Aspire.Hosting.SqlDatabaseProjects.AppHost.TypeScript
Closed about 8 hours agochore(deps)(deps): bump cross-spawn from 7.0.6 to 7.1.2 in the npm_and_yarn group across 1 directory
Open about 9 hours agobuild: bump cross-spawn from 7.0.6 to 7.1.2 in /steward/frontend
Open about 9 hours agobuild(deps): bump cross-spawn from 7.0.6 to 7.1.2
Closed about 9 hours agobuild(deps-dev): bump cross-spawn from 7.0.6 to 7.1.2 in /faucet/backend
Open about 9 hours agochore(deps)(deps-dev): bump cross-spawn from 7.0.6 to 7.1.2 in /web
Closed about 10 hours agoBump cross-spawn from 7.0.6 to 7.1.2 in /drupal/modules/avoindata-ckeditor5-plugins
Open about 10 hours agoActions
Advisory Details
| Published: | November 30, 2026 about 16 hours ago |
| Updated: | December 01, 2026 about 11 hours ago |
| CVSS Score: | 8.3 CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N |
| Source: | Osv |
| UUID: | CVE-2026-137198 |
PR Statistics
References
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137198.json
- https://github.com/moxystudio/node-cross-spawn/commit/1b71aa519a2e4f97d1f3ee27f0e2fc24ba17cf1a
- https://github.com/moxystudio/node-cross-spawn/commit/244ffeaa8473de0080c93ebbf779bb953b94114b
- https://github.com/moxystudio/node-cross-spawn/pull/191
- https://github.com/moxystudio/node-cross-spawn/pull/192
- https://github.com/moxystudio/node-cross-spawn/releases/tag/v6.0.7
- https://github.com/moxystudio/node-cross-spawn/releases/tag/v7.1.0
- https://github.com/moxystudio/node-cross-spawn/security/advisories/GHSA-m6qr-m48x-3xhh
- https://nvd.nist.gov/vuln/detail/CVE-2026-137198