CVE-2026-48122
Last modified
CVE-2026-48122 is a medium-severity vulnerability rated 5.4/10 on the CVSS scale. 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.
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.
Metrics
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/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
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Shopify | ruby-lsp | < 0.10.4 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-48122?
How severe is CVE-2026-48122?
How do I fix CVE-2026-48122?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-48116AnythingLLM is an application that turns pieces of content i…8.8
- CVE-2026-48117DroneAware is a drone detection platform. The centralized Dr…6.8
- CVE-2026-48119Nezha Monitoring is a self-hostable, lightweight, servers an…7.1
- CVE-2026-4812The Advanced Custom Fields (ACF) plugin for WordPress is vul…5.3
- CVE-2026-48120Kakoune is a code editor. Prior to version 2026.05.21, the b…8.6
- CVE-2026-48121@langchain/langgraph-checkpoint-mongodb provides a LangGraph…6.7
- CVE-2026-48124Cursor is a code editor built for programming with AI. In ve…8.5
- CVE-2026-48125UAParser.js is a JavaScript library to detect browsers, oper…5.3
- CVE-2026-48126Algernon is a small self-contained pure-Go web server. Prior…8.2
- CVE-2026-48127Frappe is a full-stack web application framework. Prior to 1…5.3
- CVE-2026-48128Budibase is an open-source low-code platform. Prior to 3.39.…5.1
- CVE-2026-48129Kestra is an open-source, event-driven orchestration platfor…6.5
Are you affected by CVE-2026-48122?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
