RCE in Shopify Ruby-Lsp
CVE-2026-34060
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.
Vulnerability class: RCE (Remote Code Execution)
EPSS: 0.005 (40.4th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
Affected products
- Shopify Ruby-lsp — versions < 0.26.9
- Shopify Ruby_lsp
- Shopify Shopify.ruby-lsp — versions < 0.10.2
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM, Mitigation, Vendor Advisory)
- security-advisories@github.com (x_refsource_MISC, Release Notes)
Frequently asked questions
- What is CVE-2026-34060?
- CVE-2026-34060 is a critical-severity vulnerability in Shopify Ruby-Lsp, classified under Code Injection. CVSS score: 9.8/10. Published 2026-03-31.
- How severe is CVE-2026-34060?
- Critical severity. CVSS v3 base score is 9.8 out of 10.