Arbitrary Code Injection Affecting ruby-ruby-lsp package, versions <0.26.9-0.1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.5% (43rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN14-RUBYRUBYLSP-15888539
  • published4 Apr 2026
  • disclosed31 Mar 2026

Introduced: 31 Mar 2026

CVE-2026-34060  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade Debian:14 ruby-ruby-lsp to version 0.26.9-0.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ruby-ruby-lsp package and not the ruby-ruby-lsp package as distributed by Debian. See How to fix? for Debian:14 relevant fixed versions and status.

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.