Description
Ruby LSP is an implementation of the language server protocol for Ruby. Prior to Shopify.ruby-lsp version 0.10.2 and ruby-lsp version 0.26.9, the rubyLsp.branch VS Code workspace setting was interpolated without sanitization into a generated Gemfile, allowing arbitrary Ruby code execution when a user opens a project containing a malicious .vscode/settings.json. This issue has been patched in Shopify.ruby-lsp version 0.10.2 and ruby-lsp version 0.26.9.
Metrics
CVSS 3.1 9.8/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| Shopify | ruby-lsp | < 0.26.9 |
| Shopify | Shopify.ruby-lsp | < 0.10.2 |
References
- https://github.com/Shopify/ruby-lsp/releases/tag/v0.26.9Release Notes
- https://github.com/Shopify/ruby-lsp/security/advisories/GHSA-c4r5-fxqw-vh93Mitigation, Vendor Advisory
Timeline
- Published
- Mar 31, 2026
- Last modified
- Jun 17, 2026
- NVD status
- Analyzed