# CVE-2026-32948: sbt: Source dependency feature (via crafted VCS URL) leads to arbitrary code execution on Windows

- Severity: Medium 6.7 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.35%, higher than 30% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-24T16:04:12.000Z
- Modified: 2026-06-17T10:36:37.110Z
- Also known as: GHSA-x4ff-q6h8-v7gw
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- sbt sbt: >= 0.9.5, < 1.12.7
- org.scala-sbt:sbt (Maven): from 0.9.5 before 1.12.8
- scala.epfl sbt: from 0.9.5 before 1.12.7

## Every score

- GitHub_M: CVSS:4.0 6.7 Medium `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`
- GitHub: CVSS:4.0 Medium `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`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/sbt/sbt/security/advisories/GHSA-x4ff-q6h8-v7gw> (exploit, vendor-advisory, web)
- <https://github.com/sbt/sbt/commit/1ce945b6b79cbe3cef6c0fe9efbbd2904e0f479e> (patch, web)
- <https://github.com/sbt/sbt/commit/3a474ab060df4dbfa825a7e7bc97e00056519800> (patch, web)
- <https://github.com/sbt/sbt/releases/tag/v1.12.7> (product, release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-32948> (advisory)
- <https://github.com/sbt/sbt> (package)

## Sources

- CVE List: [CVE-2026-32948](https://www.cve.org/CVERecord?id=CVE-2026-32948), CVE Terms of Use, modified 2026-03-26
- GitHub Advisory Database: [GHSA-x4ff-q6h8-v7gw](https://github.com/advisories/GHSA-x4ff-q6h8-v7gw), CC-BY-4.0, modified 2026-03-27
- NVD: [CVE-2026-32948](https://nvd.nist.gov/vuln/detail/CVE-2026-32948), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-32948 · Whole record: https://cve.day/CVE-2026-32948.json · Rebuilt by cve.day 2026-11-25T22:59:16.603Z
