Skip to content

CVE-2026-137197 CVE-2026-137198 CVE-2026-137199 cross-spawn: Fix Windows command and argument injection in SDK tooling (7.0.6 -> 7.1.2) - #1267

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/openam-ui/openam-ui-js-sdk/cross-spawn-7.1.2
Open

dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/openam-ui/openam-ui-js-sdk/cross-spawn-7.1.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

Updates cross-spawn from 7.0.6 to 7.1.2 in the OpenAM JavaScript SDK lockfile. The update addresses three Windows vulnerabilities, including the batch file issue reported in Dependabot alert 397.

Advisories

CVE Upstream severity Windows behavior First fixed in 7.x
CVE-2026-137197 High Incorrect command quoting could allow command injection through cmd.exe. 7.1.1
CVE-2026-137198 Medium Incorrect argument escaping could split one argument into several or merge adjacent arguments. 7.1.0
CVE-2026-137199 High Passing untrusted arguments to a batch file could execute unintended commands. 7.1.0

Impact on OpenAM

ESLint 10.7.0 is the only dependency in the SDK lockfile that requires cross-spawn. Exposure in this module is limited to Windows development or CI tooling that passes untrusted input to a child process. The SDK's browser runtime does not use this package.

Change

Only the cross-spawn entry in openam-ui/openam-ui-js-sdk/package-lock.json changes. Version 7.1.2 also fixes a regression introduced in 7.1.0 so Windows batch files found through PATH can locate files in their own directory. Upstream 7.1.2 release notes

Verification

  • A clean npm ci on macOS installed cross-spawn@7.1.2 under eslint@10.7.0.
  • npm run test:run passed all 21 SDK tests in 5 files.
  • npm run build built both the SDK application and the library.

Bumps [cross-spawn](https://github.com/moxystudio/node-cross-spawn) from 7.0.6 to 7.1.2.
- [Release notes](https://github.com/moxystudio/node-cross-spawn/releases)
- [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md)
- [Commits](moxystudio/node-cross-spawn@v7.0.6...v7.1.2)

---
updated-dependencies:
- dependency-name: cross-spawn
  dependency-version: 7.1.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Dec 1, 2026
@vharseko vharseko changed the title Bump cross-spawn from 7.0.6 to 7.1.2 in /openam-ui/openam-ui-js-sdk CVE-2026-137197 CVE-2026-137198 CVE-2026-137199 cross-spawn: Fix Windows command and argument injection in SDK tooling (7.0.6 -> 7.1.2) Dec 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants