CVE-2026-51190: n/a
The 's init' command in Serverless-Devs @serverless-devs/s versions up to 3.1.11 improperly handles user input by passing it unsanitized to child_process.spawn() with shell: true. This allows an attacker to bypass input validation using a URL ending in '.git', resulting in OS command injection when the command is run with a malicious argument.
AI Analysis
Technical Summary
CVE-2026-51190 describes a vulnerability in the 's init' command of Serverless-Devs @serverless-devs/s (<= 3.1.11) where unsanitized user input is passed to child_process.spawn() with shell: true. The input validation attempts to restrict inputs but can be bypassed by URLs ending with '.git', enabling OS command injection. This vulnerability allows an attacker to execute arbitrary operating system commands via crafted input to the 's init' command.
Potential Impact
Successful exploitation of this vulnerability can lead to arbitrary OS command execution on the system running the 's init' command, potentially compromising system integrity and confidentiality. There are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid running the 's init' command with untrusted input or restrict usage to trusted users only.
CVE-2026-51190: n/a
Description
The 's init' command in Serverless-Devs @serverless-devs/s versions up to 3.1.11 improperly handles user input by passing it unsanitized to child_process.spawn() with shell: true. This allows an attacker to bypass input validation using a URL ending in '.git', resulting in OS command injection when the command is run with a malicious argument.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-51190 describes a vulnerability in the 's init' command of Serverless-Devs @serverless-devs/s (<= 3.1.11) where unsanitized user input is passed to child_process.spawn() with shell: true. The input validation attempts to restrict inputs but can be bypassed by URLs ending with '.git', enabling OS command injection. This vulnerability allows an attacker to execute arbitrary operating system commands via crafted input to the 's init' command.
Potential Impact
Successful exploitation of this vulnerability can lead to arbitrary OS command execution on the system running the 's init' command, potentially compromising system integrity and confidentiality. There are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid running the 's init' command with untrusted input or restrict usage to trusted users only.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- mitre
- Date Reserved
- 2026-06-07T00:00:00.000Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a7105c0bf32cb7a3436d79d
Added to database: 08/03/2026, 21:18:56 UTC
Last enriched: 08/03/2026, 22:21:57 UTC
Last updated: 08/04/2026, 00:17:57 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.