Ad

CVE-2026-32948

MEDIUM CVSS 4.0: 6.7 EPSS 0.03%
Updated Mar 25, 2026
Java
Parameter Value
CVSS 6.7 (MEDIUM)
Affected Versions before 1.12.7
Fixed In 1.12.7
Type CWE-78 (OS Command Injection)
Vendor Java
Public PoC No

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.

Attack Parameters

Attack Vector
Local
Requires local access
Attack Complexity
Low
Easy to exploit
Attack Requirements
None
No additional conditions
Privileges Required
None
No privileges needed
User Interaction
Active
User action required

Impact Assessment

Confidentiality
None
No data leak
Integrity
High
Complete data modification
Availability
None
No disruption

CVSS Vector v4.0

Weakness Type (CWE)