CVE-2026-51190
JSON

9.8critical

The "s init" command in Serverless-Devs @serverless-devs/s <= 3.1.11 passes unsanitized user input to childprocess.spawn() with shell: true.

Severity
9.8critical CVSS:3.1 by CISA-ADP
Exploit likelihood
1.30% (higher than 71% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre

Description

The "s init" command in Serverless-Devs @serverless-devs/s <= 3.1.11 passes unsanitized user input to child_process.spawn() with shell: true. A URL ending in ".git" bypasses the only input check, allowing OS command injection when a user runs "s init" with an attacker-controlled argument.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List

Classification

CWE-78

SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-51190 changed 2026-08-06CVE Terms of Use
NVDCVE-2026-51190 changed 2026-09-09Public domain