CVE-2026-51190

Published Aug 3, 2026 CVSS 3.1 · 9.8 Critical EPSS 1.9% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Title OS Command Injection via Unsanitized "s init" in Serverless‑Devs @serverless‑devs/s <= 3.1.11
Type Values Removed Values Added
First Time appeared Serverless-dns
Serverless-dns serverless-dns
Vendors & Products Serverless-dns
Serverless-dns serverless-dns
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
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
Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 6, 2026, 3:38 PM
Reserved
Jun 7, 2026, 12:00 AM
Status
Deferred
Published
Aug 3, 2026, 9:16 PM
Modified
Sep 9, 2026, 4:04 PM