CVE-2026-55849 @cyclonedx/cyclonedx-npm: Shell Injection via Unsanitized `--workspace` Argument
설명
@cyclonedx/cyclonedx-npm creates CycloneDX Software Bill of Materials from npm projects. From 2.1.0 before 5.0.0, the CLI passes user-supplied --workspace values to a subshell without proper sanitization when npm_execpath is unset or empty, allowing arbitrary OS command execution with the privileges of the invoking user. This issue is fixed in version 5.0.0.
영향 받는 제품 제품 1개
-
해결 버전 있음
CycloneDX
cyclonedx-node-npm
영향 받는 버전
- 2.1.0 이상 5.0.0 미만
해결 버전
- 5.0.0 이상
참고 자료 4건
- github.com https://github.com/CycloneDX/cyclonedx-node-npm/commit/9f646253f4263d8644dadb86e5597fad996f688f (새 창)
- github.com https://github.com/CycloneDX/cyclonedx-node-npm/pull/1476 (새 창)
- github.com https://github.com/CycloneDX/cyclonedx-node-npm/releases/tag/v5.0.0 (새 창)
- github.com https://github.com/CycloneDX/cyclonedx-node-npm/security/advisories/GHSA-v75r-vx73-82pj (새 창)