Ruby LSP is an implementation of the language server protocol for Ruby. Prior to Shopify.ruby-lsp version 0.10.2 and ruby-lsp version 0.26.9, the rubyLsp.branch VS Code workspace setting was interpolated without sanitization into a generated Gemfile, allowing arbitrary Ruby code execution when a user opens a project containing a malicious .vscode/settings.json. This issue has been patched in Shopify.ruby-lsp version 0.10.2 and ruby-lsp version 0.26.9.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-94"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/34xxx/CVE-2026-34060.json"
}{
"extracted_events": [
{
"cpe": "cpe:2.3:a:shopify:ruby_lsp:*:*:*:*:*:visual_studio_code:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "0.10.2"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:shopify:ruby_lsp:*:*:*:*:*:ruby:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "0.26.9"
}
],
"source": "CPE_RANGE"
},
{
"original_tag": "v0.26.9",
"range": [
{
"fixed": "29ecc8d29dde87e6157a75bc2f0a3eb62db02ea3"
}
],
"source": "REFERENCES_TAG"
}
]
}