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

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.30%, higher than 71% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-03T00:00:00.000Z
- Modified: 2026-09-09T16:04:24.933Z
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a

## References

- <https://gist.github.com/j311yl0v3u/5600afea3bea1337805c2e335bd4ae8e> (exploit)

## Sources

- CVE List: [CVE-2026-51190](https://www.cve.org/CVERecord?id=CVE-2026-51190), CVE Terms of Use, modified 2026-08-06
- NVD: [CVE-2026-51190](https://nvd.nist.gov/vuln/detail/CVE-2026-51190), Public domain, modified 2026-09-09

---

Page: https://cve.day/CVE-2026-51190 · Whole record: https://cve.day/CVE-2026-51190.json · Rebuilt by cve.day 2026-11-25T22:59:30.905Z
