9.8

CVE-2026-34060: Ruby LSP has arbitrary code execution through branch setting

Analyzed
AliasesDEBIAN-CVE-2026-34060GHSA-c4r5-fxqw-vh93
Published 31-03-2026Last modified 02-04-2026

Vulnerability summary

CVE-2026-34060 is a critical (CVSS 9.8) Improper Control of Generation of Code vulnerability in shopify ruby_lsp. EPSS estimates a 0.54% chance of exploitation in the next 30 days, higher than 47.1% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 7.1, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
9.8/10
010
Critical · v3.1 (CVE.org)
EPSS score
0.54%
0%100%
Low · +0.05 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 31-03-2026
    PublishedVulnerability first disclosed.
  2. 02-04-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

6 scores · 4 sources · 2 versions

EPSS trend

Probability

0.54%

Chance of exploitation in the next 30 days

Percentile

47%

Versus all other CVEs

30-day change

Increase +0.05 pp

From 0.50% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Shopify3 products
Debian1 product
  • ruby-ruby-lsp< 0.26.9-0.1
RubyGems1 product
  • ruby-lsp< 0.26.9

3 vendors · 5 products

References

6 links