CVE-2026-48122CWE-78command-injection

CVE-2026-48122

published August 8, 2026

CVSS
5.4
EPSS
0%
Percentile
7.2
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
5.4 · NONE
CVSS v4.0
Not supplied
EPSS
0.00180 · 7.2th percentile
Weakness
CWE-78 · Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Published
2026-08-08T03:17Z
References (1)
EPSS history
Timeline
  • 07 AUG 22:40Z
    Workspace settings can override executable and Gemfile paths used by the Ruby LSP VS Code extension
    cvelistv5