rewindex

RewindexCVEsShopify

CVE-2026-48122: Workspace settings can override executable and Gemfile paths used by the Ruby LSP VS Code extension

Medium · CVSS 5.4 (CVSS 4.0)EPSS 0.18%, 7th percentilePublished Updated Assigner: GitHub_M

Description

Ruby LSP is an implementation of the language server protocol for Ruby. Several workspace-level settings in the Ruby LSP VS Code extension prior to version 0.10.4 could override the path to the Ruby executable, the version manager executables, or the Bundler `Gemfile` used at startup. A malicious repository containing a `.vscode/settings.json` could set these values to attacker-controlled targets. Opening and trusting the repository would then execute code with the privileges of the developer. The Ruby LSP gem and clients of the language server in other editors are not affected. Version 0.10.4 of the Ruby LSP VS Code extension fixes the issue.

CWE-78

Tracked companies

Shopify

Mapped from the CVE’s affected-product data, NVD CPE matches, vendor advisories or package feeds. A mapping means the vendor’s software is named, not that its hosted service was exposed.

Status incidents that name it

No tracked status incident names this CVE.

Affected vendors and products

Shopify: ruby-lsp

References

All CVEsMarkdownJSON