{
  "id": "CVE-2026-34060",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-34060",
  "published_at": "2026-03-31T01:59:51.17Z",
  "title": "Ruby LSP has arbitrary code execution through branch setting",
  "vendor": "Shopify",
  "product": "ruby-lsp",
  "cvss": {
    "score": 9.8,
    "source": "cisa-adp",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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.",
  "cwe": "CWE-94",
  "cpes": [
    "cpe:2.3:a:shopify:ruby_lsp:*:*:*:*:*:ruby:*:*",
    "cpe:2.3:a:shopify:ruby_lsp:*:*:*:*:*:visual_studio_code:*:*"
  ],
  "cvss_by_source": {
    "cisa-adp": 9.8,
    "cna": 7.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Shopify",
        "product": "ruby-lsp",
        "ranges": [
          "\u003c 0.26.9"
        ],
        "fixed_in": [
          "0.26.9"
        ]
      },
      {
        "vendor": "Shopify",
        "product": "Shopify.ruby-lsp",
        "ranges": [
          "\u003c 0.10.2"
        ],
        "fixed_in": [
          "0.10.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade ruby-lsp to 0.26.9 or later.",
      "Upgrade Shopify.ruby-lsp to 0.10.2 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/Shopify/ruby-lsp/security/advisories/GHSA-c4r5-fxqw-vh93"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/Shopify/ruby-lsp/releases/tag/v0.26.9"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
