VYPR
Critical severity9.8NVD Advisory· Published Mar 31, 2026· Updated Jun 3, 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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
ruby-lspRubyGems
< 0.26.90.26.9

Affected products

4
  • Shopify/Ruby Lspreferences3 versions
    (expand)+ 2 more
    • (no CPE)
    • cpe:2.3:a:shopify:ruby_lsp:*:*:*:*:*:ruby:*:*range: <0.26.9
    • cpe:2.3:a:shopify:ruby_lsp:*:*:*:*:*:visual_studio_code:*:*range: <0.10.2
  • ghsa-coords
    Range: < 0.26.9

Patches

Vulnerability mechanics

References

5

News mentions

0

No linked articles in our index yet.