PT-2026-27306 · Sbt · Sbt

·

CVE-2026-32948

·

Published

2026-03-24

·

Updated

2026-03-24

CVSS v3.1

7.8

High

VectorAV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions sbt versions prior to 1.12.7
Description On Windows, sbt utilizes Process("cmd", "/c", ...) to execute VCS commands. The URI fragment, controlled by the user through the build definition, is passed to these commands without validation. The cmd /c interpreter treats characters like &, |, and ; as command separators, allowing a malicious fragment to execute arbitrary commands. This occurs because the uri.getFragment() is passed to the run() function without sanitization, and run() then uses Process("cmd", "/c", ...) on Windows. A proof of concept demonstrates the execution of arbitrary commands by crafting a malicious dependency URI.
Recommendations Update to sbt version 1.12.7 or later.

Exploit

Fix

OS Command Injection

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-32948
GHSA-X4FF-Q6H8-V7GW

Affected Products

Sbt