CVE-2026-34060Ruby LSP has arbitrary code execution through branch setting
Beschreibung
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.
Daten: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Wiedergegeben wie in der Quelle, auf Englisch.
Betroffene Produkte und Versionen
| Hersteller | Produkt | Versionen | |
|---|---|---|---|
| Shopify | ruby-lsp | < 0.26.9 | |
| Shopify | Shopify.ruby-lsp | < 0.10.2 |
Referenzen und Patches
- https://github.com/Shopify/ruby-lsp/security/advisories/GHSA-c4r5-fxqw-vh93 MitigationVendor Advisory
- https://github.com/Shopify/ruby-lsp/releases/tag/v0.26.9 Release Notes
CPE-Treffer (NVD) (2)
cpe:2.3:a:shopify:ruby_lsp:*:*:*:*:*:visual_studio_code:*:*< 0.10.2cpe:2.3:a:shopify:ruby_lsp:*:*:*:*:*:ruby:*:*< 0.26.9