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.
Advisories

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Wed, 12 Aug 2026 01:00:00 +0000

Type Values Removed Values Added
Title OS Command Injection via Unsanitized "s init" in Serverless‑Devs @serverless‑devs/s <= 3.1.11

Fri, 07 Aug 2026 10:00:00 +0000

Type Values Removed Values Added
First Time appeared Serverless-dns
Serverless-dns serverless-dns
Vendors & Products Serverless-dns
Serverless-dns serverless-dns

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

Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-08-06T15:38:49.127Z

Reserved: 2026-06-07T00:00:00.000Z

Link: CVE-2026-51190

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-03T21:16:40.033

Modified: 2026-08-06T22:17:41.483

Link: CVE-2026-51190

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-12T00:45:03Z

Weaknesses