Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
Shopify ruby-lsp
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Shopify Ruby LSP是Shopify公司开源的一款提供Ruby语言智能编辑支持的语言服务协议实现。 Shopify Ruby LSP 0.10.4之前版本存在命令注入漏洞,该漏洞源于工作区级设置可覆盖Ruby可执行文件路径、版本管理器可执行文件或Bundler Gemfile,可能导致攻击者利用恶意仓库配置以开发人员权限执行代码。

CVSS 5.4 · Medium EPSS 0.18% · P7

Affected Version Matrix 1

VendorProduct Version RangeStatus
Shopify ruby-lsp < 0.10.4 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-48122

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Workspace settings can override executable and Gemfile paths used by the Ruby LSP VS Code extension
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Source: CVE Program / CVE List V5
Vulnerability Type
OS命令中使用的特殊元素转义处理不恰当(OS命令注入)
Source: CVE Program / CVE List V5
Vulnerability Title
Shopify Ruby LSP 命令注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Shopify Ruby LSP是Shopify公司开源的一款提供Ruby语言智能编辑支持的语言服务协议实现。 Shopify Ruby LSP 0.10.4之前版本存在命令注入漏洞,该漏洞源于工作区级设置可覆盖Ruby可执行文件路径、版本管理器可执行文件或Bundler Gemfile,可能导致攻击者利用恶意仓库配置以开发人员权限执行代码。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
Shopify ruby-lsp < 0.10.4 -

II. Public POCs for CVE-2026-48122

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-48122

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-48122 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-48122

No comments yet


Leave a comment