CVE-2026-32948

MEDIUM EPSS 22.1%
Published Mar 24, 20263mo ago · Modified Jun 17, 20262w ago
6.7 CVSS 4.0
Medium
Find Similar
Published Mar 24, 2026 3mo ago
Last Modified Jun 17, 2026 2w ago

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.

CVSS Details

Base Score
6.7
Exploitability
Impact
Vector string
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
Attack Vector Local
Attack Complexity Low
Privileges Required None
User Interaction A
Scope X

Threat Intelligence

EPSS Exploit Probability
22.1% percentile
Exploit & Patch Status
Public Exploit Known
Patch Available

Weaknesses 1

CWE-78 OS Command Injection Injection

Affected Products 2

VendorProductVersionRange
scala.epflsbt*≥0.9.5  –  <1.12.7
microsoftwindows*any

References 4

  • github.com https://github.com/sbt/sbt/commit/1ce945b6b79cbe3cef6c0fe9efbbd2904e0f479e
    Patch
  • github.com https://github.com/sbt/sbt/commit/3a474ab060df4dbfa825a7e7bc97e00056519800
    Patch
  • github.com https://github.com/sbt/sbt/releases/tag/v1.12.7
    ProductRelease Notes
  • github.com https://github.com/sbt/sbt/security/advisories/GHSA-x4ff-q6h8-v7gw
    ExploitVendor Advisory

Remediation

  • github.com https://github.com/sbt/sbt/commit/1ce945b6b79cbe3cef6c0fe9efbbd2904e0f479e
    Patch
  • github.com https://github.com/sbt/sbt/commit/3a474ab060df4dbfa825a7e7bc97e00056519800
    Patch