Remote Code Execution Vulnerability in Ruby LSP by Shopify
CVE-2026-34060

7.1HIGH

Key Information:

Vendor

Shopify

Vendor
CVE Published:
31 March 2026

What is CVE-2026-34060?

Ruby LSP, which facilitates the Language Server Protocol for Ruby development, has a vulnerability that allows the execution of arbitrary Ruby code due to improper handling of user-configured settings. Specifically, in versions prior to 0.10.2 of Shopify.ruby-lsp and 0.26.9 of ruby-lsp, the rubyLsp.branch setting can inadvertently incorporate unsanitized data into a generated Gemfile. This flaw can be exploited when a user opens a project with a malicious .vscode/settings.json file, leading to significant security risks. It is essential for users to upgrade to the latest versions to eliminate this risk.

Affected Version(s)

ruby-lsp < 0.26.9

Shopify.ruby-lsp < 0.10.2

References

CVSS V4

Score:
7.1
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Local
Attack Complexity:
Low
Attack Required:
Physical
Privileges Required:
Undefined
User Interaction:
Unknown

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.