CVE Explorer
CVE-2026-51190
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:9b3c76940783d046cd5dbfb5f2bc558a59b79287e8621bb474f4889fc86cc50c · sha256:c5a7f504326b00be… · /containers/cna/affected/0
CWE assertions
1 source assertion{"description":"n/a","lang":"en","type":"text"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:9b3c76940783d046cd5dbfb5f2bc558a59b79287e8621bb474f4889fc86cc50c · sha256:c5a7f504326b00be… · /containers/cna/problemTypes/0/descriptions/0
Source references
1 source assertion{"url":"https://gist.github.com/j311yl0v3u/5600afea3bea1337805c2e335bd4ae8e"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:9b3c76940783d046cd5dbfb5f2bc558a59b79287e8621bb474f4889fc86cc50c · sha256:c5a7f504326b00be… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.