{"id":"CVE-2026-32948","state":"PUBLISHED","title":"sbt: Source dependency feature (via crafted VCS URL) leads to arbitrary code execution on Windows","description":"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.","publishedAt":"2026-03-24T18:48:30.620Z","updatedAt":"2026-03-26T13:21:23.354Z","severity":{"score":6.7,"label":"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","source":"GitHub_M"},"assigner":"GitHub_M","products":["sbt sbt"],"affected":[{"vendor":"sbt","product":"sbt","versions":[{"version":">= 0.9.5, < 1.12.7","status":"affected"}]}],"references":["https://github.com/sbt/sbt/security/advisories/GHSA-x4ff-q6h8-v7gw","https://github.com/sbt/sbt/commit/1ce945b6b79cbe3cef6c0fe9efbbd2904e0f479e","https://github.com/sbt/sbt/commit/3a474ab060df4dbfa825a7e7bc97e00056519800","https://github.com/sbt/sbt/releases/tag/v1.12.7"],"weaknesses":["CWE-78"],"ingestedAt":"2026-10-29T20:11:40.391Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/32xxx/CVE-2026-32948.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-32948","state":"PUBLISHED","datePublished":"2026-03-24T18:48:30.620Z","dateUpdated":"2026-03-26T13:21:23.354Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-03-17T00:05:53.284Z"},"containers":{"cna":{"title":"sbt: Source dependency feature (via crafted VCS URL) leads to arbitrary code execution on Windows","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"sbt","product":"sbt","versions":[{"version":">= 0.9.5, < 1.12.7","status":"affected"}]}],"references":[{"url":"https://github.com/sbt/sbt/security/advisories/GHSA-x4ff-q6h8-v7gw","name":"https://github.com/sbt/sbt/security/advisories/GHSA-x4ff-q6h8-v7gw","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/sbt/sbt/commit/1ce945b6b79cbe3cef6c0fe9efbbd2904e0f479e","name":"https://github.com/sbt/sbt/commit/1ce945b6b79cbe3cef6c0fe9efbbd2904e0f479e","tags":["x_refsource_MISC"]},{"url":"https://github.com/sbt/sbt/commit/3a474ab060df4dbfa825a7e7bc97e00056519800","name":"https://github.com/sbt/sbt/commit/3a474ab060df4dbfa825a7e7bc97e00056519800","tags":["x_refsource_MISC"]},{"url":"https://github.com/sbt/sbt/releases/tag/v1.12.7","name":"https://github.com/sbt/sbt/releases/tag/v1.12.7","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"LOCAL","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"ACTIVE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":6.7,"baseSeverity":"MEDIUM","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-78","lang":"en","description":"CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-03-24T18:48:30.620Z"},"source":{"advisory":"GHSA-x4ff-q6h8-v7gw","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-03-26T03:55:37.968982Z","id":"CVE-2026-32948","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-03-26T13:21:23.354Z"}}]}}}