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.
Metrics
Affected Vendors & Products
References
History
Tue, 04 Aug 2026 22:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Title | OS Command Injection via Unsanitized "s init" in Serverless‑Devs @serverless‑devs/s <= 3.1.11 | |
| Weaknesses | CWE-78 |
Mon, 03 Aug 2026 21:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| References |
|
Status: PUBLISHED
Assigner: mitre
Published:
Updated: 2026-08-03T20:50:43.885Z
Reserved: 2026-06-07T00:00:00.000Z
Link: CVE-2026-51190
No data.
No data.
No data.
OpenCVE Enrichment
Updated: 2026-08-04T22:00:07Z