CVE-2026-51190: Vulnerability in Serverless-Devs @serverless-devs/s
Critical. 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.
CWE-78
- Exploitation
- None confirmed
- Severity
- 9.8 of 10
- Attack likelihood
- Unknown
- Fix
- None recorded
- Patch deadline
- No deadline set
Details
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weakness
- CWE-78
- Published
- 3 Aug 2026
- Last change
- 9 Sept 2026
Affected products
Affected versions and the first fixed release
- Serverless-Devs @serverless-devs/s Through 3.1.11. No fixed version recorded
Advisories
Vendor and security advisories
Related
- Serverless-Devs @serverless-devs/s vulnerabilities Recent advisories, watch this product