CVE-2026-34060: Vulnerability in Shopify Ruby Lsp

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 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...

RubyGems, CWE-94

Exploitation
None confirmed
Severity
9.8 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-c4r5-fxqw-vh93
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-94
Published
27 Mar 2026
Last change
17 Jun 2026
Ecosystem
RubyGems

Affected products

Affected versions and the first fixed release

  • Shopify Ruby Lsp Before 0.10.2; Before 0.26.9. Fixed in 0.10.2, 0.26.9

Affected packages

Vulnerable version ranges and fixed releases

  • ruby-lsp RubyGems, Affected before 0.26.9. Fixed in 0.26.9

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes

Related