CVE-2026-55849
CVE-2026-55849 · @cyclonedx/cyclonedx-npm: Shell Injection via Unsanitized `--workspace` Argument
Esta página presenta datos de fuentes públicas de vulnerabilidades. Consulta el aviso original antes de actualizar.
@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.
CVSS 8.5 · Alta · EPSS 0,2% · Corrección disponible
- Publicación
- Actualización
Pila tecnológica: node
Productos y versiones afectados
cyclonedx-node-npm
- Versiones
- >= 2.1.0, < 5.0.0: Afectada
Sin corrección publicada
@cyclonedx/cyclonedx-npm npm
- Intervalos de versiones afectados
- SEMVER: ≥ 2.1.0, < 5.0.0
Actualiza a 5.0.0
Fuentes originales
- https://github.com/CycloneDX/cyclonedx-node-npm/security/advisories/GHSA-v75r-vx73-82pj
- https://github.com/CycloneDX/cyclonedx-node-npm/pull/1476
- https://github.com/CycloneDX/cyclonedx-node-npm/commit/9f646253f4263d8644dadb86e5597fad996f688f
- https://github.com/CycloneDX/cyclonedx-node-npm/releases/tag/v5.0.0
- https://nvd.nist.gov/vuln/detail/CVE-2026-55849