CVE-2026-55849

Source
https://cve.org/CVERecord?id=CVE-2026-55849
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-55849.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-55849
Aliases
Published
2026-07-08T21:10:15.798Z
Modified
2026-07-15T01:49:22.624613073Z
Severity
  • 8.5 (High) CVSS_V4 - CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N CVSS Calculator
Summary
@cyclonedx/cyclonedx-npm: Shell Injection via Unsanitized `--workspace` Argument
Details

@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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/55xxx/CVE-2026-55849.json",
    "cwe_ids": [
        "CWE-78"
    ],
    "cna_assigner": "GitHub_M"
}
References

Affected packages

Git / github.com/cyclonedx/cyclonedx-node-npm

Affected ranges

Type
GIT
Repo
https://github.com/cyclonedx/cyclonedx-node-npm
Events
Database specific
{
    "extracted_events": [
        {
            "introduced": "2.1.0"
        },
        {
            "fixed": "5.0.0"
        }
    ],
    "source": [
        "DESCRIPTION",
        "REFERENCES"
    ]
}

Affected versions

v2.*
v2.1.0
v3.*
v3.0.0
v3.1.0
v4.*
v4.0.0
v4.0.1
v4.0.2
v4.0.3
v4.1.0
v4.1.1
v4.1.1-rc.0
v4.1.2
v4.2.0
v4.2.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-55849.json"