Home

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.

PUBLISHED Reserved 2026-03-25 | Published 2026-03-31 | Updated 2026-04-02 | Assigner GitHub_M




HIGH: 7.1CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Problem types

CWE-94: Improper Control of Generation of Code ('Code Injection')

Product status

< 0.26.9
affected

< 0.10.2
affected

References

github.com/...by-lsp/security/advisories/GHSA-c4r5-fxqw-vh93

github.com/Shopify/ruby-lsp/releases/tag/v0.26.9

cve.org (CVE-2026-34060)

nvd.nist.gov (CVE-2026-34060)

Download JSON