CVE 7.1 HIGH

Ruby LSP has arbitrary code execution through branch setting_CVE-2026-34060

7.1 / 10
HIGH
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

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.

Basic Information

ID CVE-2026-34060
Source GitHub_M
Published Mar 31, 2026 at 01:59
Modified Apr 2, 2026 at 14:51

Affected Product

Vendor Shopify
Product ruby-lsp
Version < 0.26.9
Affected Versions Shopify ruby-lsp < 0.26.9
Shopify Shopify.ruby-lsp < 0.10.2

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.