Vulnerability 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 Score
CRITICAL
Related Weaknesses (CWE)
References
- https://github.com/Shopify/ruby-lsp/releases/tag/v0.26.9
- https://github.com/Shopify/ruby-lsp/security/advisories/GHSA-c4r5-fxqw-vh93
FAQ
What is CVE-2026-34060?
CVE-2026-34060 is a vulnerability with a CVSS score of 9.8 (CRITICAL). 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 interpola...
How severe is CVE-2026-34060?
CVE-2026-34060 has been rated CRITICAL with a CVSS base score of 9.8/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2026-34060?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.