Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2026-32948

Опубликовано: 24 мар. 2026
Источник: redhat
CVSS3: 5.7
EPSS Низкий

Описание

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.

A flaw was found in sbt, a build tool for Scala and Java. On Windows, sbt uses the cmd /c command interpreter to execute version control system (VCS) commands. A remote attacker can exploit this by providing a specially crafted URI fragment (such as a branch, tag, or revision name) in the build definition. Because cmd /c interprets special characters as command separators, this lack of validation allows the attacker to inject and execute arbitrary commands on the system where sbt is running.

Меры по смягчению последствий

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat JBoss Enterprise Application Platform 7sbtNot affected
Red Hat JBoss Enterprise Application Platform 8sbtNot affected
Red Hat JBoss Enterprise Application Platform Expansion PacksbtNot affected

Показывать по

Дополнительная информация

Статус:

Moderate
Дефект:
CWE-78
https://bugzilla.redhat.com/show_bug.cgi?id=2450890org.scala-sbt/sbt: sbt: Arbitrary command execution via unvalidated URI fragments on Windows

EPSS

Процентиль: 22%
0.00304
Низкий

5.7 Medium

CVSS3

Связанные уязвимости

CVSS3: 7.8
nvd
5 месяцев назад

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.

github
5 месяцев назад

sbt: Source dependency feature (via crafted VCS URL) leads to arbitrary code execution on Windows

EPSS

Процентиль: 22%
0.00304
Низкий

5.7 Medium

CVSS3