CVE-2026-137197

Source
https://cve.org/CVERecord?id=CVE-2026-137197
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-137197.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-137197
Aliases
  • GHSA-w3gc-668g-rf8f
Published
2026-11-30T20:33:32Z
Modified
2026-11-30T22:00:11Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
cross-spawn: Command injection on Windows when the command is not a plain program name or path
Details

cross-spawn is a cross-platform solution for Node.js spawn and spawnSync. Prior to 6.0.8 and 7.1.1, applications running on Windows that pass untrusted arguments can be vulnerable when a command sent through cmd.exe is not written as a plain program name or path. Commands containing quotes, command-name delimiters, trailing whitespace, or a child-specific PATHEXT could cause cross-spawn to miss that cmd.exe would resolve a batch file. The arguments were then escaped as though the target were a regular program, allowing command metacharacters in an argument to be interpreted by cmd.exe and execute arbitrary commands. Applications are affected only when they use one of these command forms and pass untrusted input as arguments. This issue is fixed in versions 6.0.8 and 7.1.1.

Database specific
{
    "cna_assigner":  "GitHub_M",
    "cwe_ids":  [
        "CWE-78"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137197.json",
    "unresolved_ranges":  [
        {
            "extracted_events":  [
                {
                    "range":  [
                        {
                            "fixed":  "6.0.8"
                        },
                        {
                            "introduced":  "7.0.0"
                        },
                        {
                            "fixed":  "7.1.1"
                        }
                    ],
                    "source":  "AFFECTED_FIELD",
                    "strategy":  "StringRangeExpression"
                }
            ]
        },
        {
            "extracted_events":  [
                {
                    "range":  [
                        {
                            "fixed":  "6.0.8"
                        },
                        {
                            "fixed":  "6.0.8"
                        }
                    ],
                    "source":  "DESCRIPTION"
                }
            ]
        }
    ]
}
References

Affected packages

Git / github.com/moxystudio/node-cross-spawn

Affected ranges

Type
GIT
Repo
https://github.com/moxystudio/node-cross-spawn
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "fixed":  "4a15965b05415e9f817315206771b25558804b16"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "range":  [
                {
                    "fixed":  "d0ead352a7380492cbb0f6548fa86f19448323c9"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "original_tag":  "v6.0.8",
            "range":  [
                {
                    "fixed":  "a491b10bbc354fd087663f001c0c6dfe04c8032a"
                }
            ],
            "source":  "REFERENCES_TAG"
        },
        {
            "original_tag":  "v7.1.1",
            "range":  [
                {
                    "fixed":  "f408280b07671b1c24d22c7282259016da80403a"
                }
            ],
            "source":  "REFERENCES_TAG"
        }
    ]
}

Affected versions

0.*
0.1.0
0.1.1
0.1.2
0.1.3
0.1.4
0.1.5
0.1.6
0.1.7
0.2.0
0.2.1
0.2.2
0.2.3
0.2.4
0.2.5
0.2.6
0.2.7
0.2.8
0.2.9
0.3.0
0.4.0
0.4.1
1.*
1.0.0
1.0.1
1.0.2
1.0.3
1.0.4
2.*
2.0.0
2.0.1
2.1.1
2.1.2
2.1.3
2.1.4
2.1.5
2.2.0
2.2.2
2.2.3
3.*
3.0.0
3.0.1
4.*
4.0.0
4.0.2
5.*
5.0.0
5.0.1
5.1.0
v6.*
v6.0.0
v6.0.1
v6.0.2
v6.0.3
v6.0.4
v6.0.5
v6.0.6
v6.0.7
v7.*
v7.0.0
v7.0.1
v7.0.2
v7.0.3
v7.0.4
v7.0.5
v7.0.6
v7.1.0

Database specific

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