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

Published Aug 7, 2026
·
Updated

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.

Affected Software

1 affected component
Ruby LSP VS Code extension<0.10.4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Ruby LSP VS Code extension to a version that resolves this vulnerability.

    Fixed in 0.10.4

Event History

Aug 7, 2026
CVE Published
via MITRE·10:40 PM
Data Sourced
via MITRE·10:40 PM
DescriptionWeakness
Data Sourced
via NVD·11:17 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-48122?

CVE-2026-48122 has a risk rating of 65, indicating a moderate severity level.

2

How do I fix CVE-2026-48122?

To fix CVE-2026-48122, update the Ruby LSP VS Code extension to version 0.10.4 or later.

3

What type of vulnerability is CVE-2026-48122?

CVE-2026-48122 is classified as an OS Command Injection vulnerability.

4

What impact does CVE-2026-48122 have on the Ruby LSP VS Code extension?

CVE-2026-48122 allows workspace settings to override critical executable and Gemfile paths, posing a security risk.

5

Who is affected by CVE-2026-48122?

Users of the Ruby LSP VS Code extension prior to version 0.10.4 are affected by CVE-2026-48122.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203