UBUNTU-CVE-2026-48122

Source
https://ubuntu.com/security/CVE-2026-48122
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-48122.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-48122
Upstream
Published
2026-08-07T23:17:00Z
Modified
2026-10-17T13:00:21Z
Severity
  • 5.4 (Medium) CVSS_V4 - 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 CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

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.

References

Affected packages

Ubuntu:26.10 / ruby-ruby-lsp

Package

Name
ruby-ruby-lsp
Purl
pkg:deb/ubuntu/ruby-ruby-lsp?arch=source&distro=stonking

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.26.9-0.1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "ruby-ruby-lsp",
            "binary_version":  "0.26.9-0.1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-48122.json"