Critical severity9.8NVD Advisory· Published Mar 31, 2026· Updated Apr 2, 2026
CVE-2026-34060
CVE-2026-34060
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.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
ruby-lspRubyGems | < 0.26.9 | 0.26.9 |
Affected products
1Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
5- github.com/advisories/GHSA-c4r5-fxqw-vh93ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-34060ghsaADVISORY
- github.com/Shopify/ruby-lsp/releases/tag/v0.26.9nvdWEB
- github.com/Shopify/ruby-lsp/security/advisories/GHSA-c4r5-fxqw-vh93nvdWEB
- github.com/rubysec/ruby-advisory-db/blob/master/gems/ruby-lsp/CVE-2026-34060.ymlghsaWEB
News mentions
0No linked articles in our index yet.