PT-2026-69159 · Vs Code · Ruby-Lsp

CVE-2026-48122

·

Published

2026-08-07

·

Updated

2026-08-12

CVSS v4.0

5.4

Medium

VectorAV:L/AC:L/AT:P/PR:L/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Name of the Vulnerable Software and Affected Versions Ruby LSP VS Code extension versions prior to 0.10.4
Description Workspace-level settings in the extension can be manipulated via a .vscode/settings.json file in a malicious repository. An attacker can override the path to the Ruby executable, version manager executables, or the Bundler Gemfile used during startup. If a developer opens and trusts such a repository, arbitrary code can be executed with the developer's privileges.
Recommendations Update Ruby LSP VS Code extension to version 0.10.4.

Exploit

Fix

OS Command Injection

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-48122
GHSA-2X7G-8MP4-572W

Affected Products

Ruby-Lsp