CVE-2026-32948
March 24, 2026
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 Packages
https://github.com/sbt/sbt.git (GITHUB):
Affected version(s) >=v0.9.5 <v1.12.7Fix Suggestion:
Update to version v1.12.7org.scala-sbt:sbt (JAVA):
Affected version(s) >=0.99.2 <1.12.8Fix Suggestion:
Update to version 1.12.8org.scala-sbt:sbt (JAVA):
Affected version(s) >=0.99.2 <1.12.7Fix Suggestion:
Update to version 1.12.7org.scala-sbt:sbt (JAVA):
Affected version(s) >=0.99.2 <1.12.8Fix Suggestion:
Update to version 1.12.8org.scala-sbt:sbt (JAVA):
Affected version(s) >=0.99.2 <1.12.8Fix Suggestion:
Update to version 1.12.8org.scala-sbt:sbt (JAVA):
Affected version(s) >=0.99.2 <1.12.8Fix Suggestion:
Update to version 1.12.8org.scala-sbt:sbt (JAVA):
Affected version(s) >=0.99.2 <1.12.8Fix Suggestion:
Update to version 1.12.8Related ResourcesĀ (6)
Do you need more information?
Contact UsCVSS v4
Base Score:
6.7
Attack Vector
LOCAL
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
ACTIVE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
HIGH
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
5.5
Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
NONE
Integrity
HIGH
Availability
NONE
Weakness Type (CWE)
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
EPSS
Base Score:
0.02