{"cve":"CVE-2026-34060","nvd":{"published":"2026-03-31T03:15:58.773","modified":"2026-06-17T10:38:29.910","status":"Analyzed","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.","cvss_v4":{"vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":7.1},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-94"],"references":["https://github.com/Shopify/ruby-lsp/releases/tag/v0.26.9","https://github.com/Shopify/ruby-lsp/security/advisories/GHSA-c4r5-fxqw-vh93"],"products":["shopify:ruby_lsp"],"source":"nvd","synced_at":"2026-10-19T22:28:18.033120106+00:00"},"epss":{"cve":"CVE-2026-34060","score":0.00497,"percentile":0.42651,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-c4r5-fxqw-vh93","url":"https://osv.dev/vulnerability/GHSA-c4r5-fxqw-vh93","summary":"Ruby LSP has arbitrary code execution through branch setting","modified":"2026-03-31T18:49:02.441618Z","packages":[{"ecosystem":"RubyGems","name":"ruby-lsp","purl":"pkg:gem/ruby-lsp","ranges":["<0.26.9"],"fixed":["0.26.9"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}