{"id":"CVE-2026-32948","published":"2026-03-24T18:48:30Z","modified":"2026-03-26T13:21:23Z","title":"sbt: Source dependency feature (via crafted VCS URL) leads to arbitrary code execution on Windows","vendor":"sbt","product":"sbt","tier":"tail","description":{"text":"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 &, |, and ; as command separators, a malicious fragment can execute arbitrary commands. This issue has been patched in version 1.12.7.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.7,"severity":"MEDIUM","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00347,"percentile":0.29015,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://github.com/sbt/sbt/security/advisories/GHSA-x4ff-q6h8-v7gw","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/sbt/sbt/commit/1ce945b6b79cbe3cef6c0fe9efbbd2904e0f479e","tags":["x_refsource_MISC"]},{"url":"https://github.com/sbt/sbt/commit/3a474ab060df4dbfa825a7e7bc97e00056519800","tags":["x_refsource_MISC"]},{"url":"https://github.com/sbt/sbt/releases/tag/v1.12.7","tags":["x_refsource_MISC"]}],"priority":{"score":10.5,"factors":[{"name":"EPSS percentile","points":5.8},{"name":"CVSS severity","points":4.69}]},"vendorSlug":"sbt","affectedVersions":[{"vendor":"sbt","product":"sbt","versions":[">= 0.9.5, < 1.12.7"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-03-26T03:55:37.968982Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.scala-sbt:sbt","vulnerableRanges":[">=0.9.5, <1.12.8"],"patched":["1.12.8"],"from":["GHSA-x4ff-q6h8-v7gw"],"provenance":"source"}],"summary":{"text":"The flaw is in sbt, the Scala and Java build tool, in its Source dependency feature on Windows, where version-control commands (git, hg, svn) are run through \"cmd /c\" with the user-controlled URI fragment (branch, tag, or revision) passed in unvalidated, so cmd treats characters such as &, |, and ; as command separators. An attacker who can get a malicious VCS URL fragment into a build definition, which requires user interaction such as the victim building that project, could execute arbitrary commands on the Windows machine running sbt.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:05:54Z"},"euvd":{"id":"EUVD-2026-14990","exploited":false,"provenance":"source"}}