{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0.9.5"
              },
              {
                "fixed": "1.12.7"
              }
            ]
          },
          "events": [
            {
              "introduced": "081f296d55f17ea7f35303ebea9bacd271c8b900"
            },
            {
              "fixed": "5391601ee998acf65b94c1f12df2086574842219"
            }
          ],
          "repo": "https://github.com/sbt/sbt",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-x4ff-q6h8-v7gw"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-78"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/32xxx/CVE-2026-32948.json"
  },
  "details": "sbt is a build tool for Scala, Java, and others. From version 0.9.5 to before version 1.12.7, on Windows, sbt uses Process(\"cmd\", \"/c\", ...) to run VCS commands (git, hg, svn). The URI fragment (branch, tag, revision) is user-controlled via the build definition and passed to these commands without validation. Because cmd /c interprets \u0026, |, and ; as command separators, a malicious fragment can execute arbitrary commands. This issue has been patched in version 1.12.7.",
  "id": "CVE-2026-32948",
  "modified": "2026-04-01T23:10:35.179476031Z",
  "published": "2026-03-24T18:48:30.620Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/32xxx/CVE-2026-32948.json"
    },
    {
      "type": "FIX",
      "url": "https://github.com/sbt/sbt/commit/1ce945b6b79cbe3cef6c0fe9efbbd2904e0f479e"
    },
    {
      "type": "FIX",
      "url": "https://github.com/sbt/sbt/commit/3a474ab060df4dbfa825a7e7bc97e00056519800"
    },
    {
      "type": "WEB",
      "url": "https://github.com/sbt/sbt/releases/tag/v1.12.7"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/sbt/sbt/security/advisories/GHSA-x4ff-q6h8-v7gw"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-32948"
    }
  ],
  "schema_version": "1.7.3",
  "severity": [
    {
      "score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "sbt: Source dependency feature (via crafted VCS URL) leads to arbitrary code execution on Windows"
}