CVE-2026-32948
Last modified
CVE-2026-32948 is a medium-severity vulnerability rated 6.7/10 on the CVSS scale. 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). EPSS estimates a 0.30% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Scala.Epfl | Sbt | >= 0.9.5, < 1.12.7 |
References
- https://github.com/sbt/sbt/releases/tag/v1.12.7Product, Release Notes
- https://github.com/sbt/sbt/security/advisories/GHSA-x4ff-q6h8-v7gwExploit, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-32948?
How severe is CVE-2026-32948?
How do I fix CVE-2026-32948?
Are you affected by CVE-2026-32948?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
