Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK
2 techniques across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Impact | This vulnerability presents high real-world risk despite the absence of CVSS and EPSS scores in the provided data. The attack vector is network-based (requiring a malicious build.sbt file in a project dependency or repository), but the attack complexity is very low—an attacker merely needs to craft a URI with URL-encoded special characters. No elevated privileges are required beyond normal user execution of the sbt build tool. The vulnerability is directly exploitable with a publicly available proof-of-concept, and the technical impact is severe: arbitrary command execution as the build user. While exploitation requires that a developer include a malicious dependency declaration in their build configuration (suggesting a supply-chain attack vector), the low barrier to exploitation and complete compromise of build environment integrity classify this as a critical priority for Windows-based development teams. The availability of patches from the vendor further confirms the severity assessment made by the maintainers. |
| Exploit ScenarioDerived | An attacker compromises or maintains a popular open-source library and modifies its build.sbt to include a malicious dependency declaration with a crafted git URI such as https://github.com/sbt/io.git#develop%26%26calc.exe. When a Windows developer builds a project that depends on this library, sbt parses the URI fragment and passes it to cmd /c git, which interprets the injected && as a command separator, executing calc.exe (or more realistically, a command that exfiltrates credentials or installs malware) with the developer's privileges. This supply-chain attack requires no user interaction beyond running a normal build command, making it a highly effective vector for compromising development environments and potentially the built artifacts themselves. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 24, 2026
sbt on Windows is vulnerable to command injection through unvalidated URI fragments in VCS dependency declarations. When resolving git, mercurial, or subversion repositories, sbt passes user-controlled branch, tag, or revision parameters directly to cmd.exe without sanitization, allowing attackers to inject arbitrary Windows commands via special characters like &, |, and ; that cmd /c interprets as command separators. An attacker who controls a dependency URI in a project's build.sbt file can execute arbitrary commands with the privileges of the user running sbt. A proof-of-concept exists demonstrating execution of calc.exe, and patches are available from the vendor for sbt versions 1.12.7 and later.
RemediationAI
Immediately upgrade sbt to version 1.12.7 or later for the 1.x branch, or to 2.0.0-RC9 or later for the 2.x branch. Apply the patches referenced in commits 1ce945b6b79cbe3cef6c0fe9efbbd2904e0f479e and 3a474ab060df4dbfa825a7e7bc97e00056519800 if building from source. As an interim workaround for organizations unable to immediately patch, audit all build.sbt files and build.properties configurations to ensure dependency URIs come only from trusted internal repositories and do not contain user-controllable fragment identifiers. Restrict developer machines to execute sbt only within sandboxed environments or CI/CD systems where command execution can be monitored and logged. Additionally, configure development machines to reject or warn on build definitions that reference external VCS repositories with fragments or complex URIs. Consult the vendor advisory at https://github.com/sbt/sbt/releases/tag/v1.12.7 for detailed upgrade instructions.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in maven, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability exists in sbt (Scala Build Tool), identified by CPE pkg:maven/org.scala-sbt:sbt, specifically in the Resolvers.scala module which handles dependency resolution from version control systems. The root cause is CWE-78 (Improper Neutralization of Special Elements used in an OS Command, aka OS Command Injection). The vulnerable code path passes uri.getFragment() directly to a Process constructor that uses Process("cmd", "/c", ...) on Windows systems. The cmd.exe shell interprets several metacharacters—specifically ampersand (&), pipe (|), and semicolon (;)—as command separators and operators, enabling command chaining. Unlike Unix shells where argument quoting provides some protection, cmd /c does not properly isolate the URI fragment parameter from the shell metacharacter interpretation layer. This affects sbt versions prior to 1.12.7 and 2.0.0-RC9 and later, as confirmed in testing by the reporter.
Know when Windows gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Primary rating from GitHub Advisory.
CVSS VectorGitHub Advisory
Lifecycle Timeline
2DescriptionGitHub Advisory
Summary
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.
Details
- Resolvers.scala L84-95 - git resolver passes
uri.getFragment()torun()without sanitization - Resolvers.scala L137-145 -
run()usesProcess("cmd", "/c", ...)on Windows, socmdinterprets&&as command separator
PoC
# build.properties
# sbt.version=1.12.5
# Tested on those two versions of sbt
sbt.version=2.0.0-RC9// build.sbt
ThisBuild / scalaVersion := "2.12.19"
lazy val root = project
.in(file("."))
.dependsOn(vulnerable)
lazy val vulnerable = RootProject(
uri("https://github.com/sbt/io.git#develop%26%26calc.exe")
)Impact
Windows users are impacted. An attacker can execute arbitrary Windows commands if they control the dependency URI.
Executive ViewAI
CVE-2026-32948 presents notable security risk, a OS command injection vulnerability rated CVSS 6.7. Exploitation could allow attackers to execute code or inject malicious input. A patch is available and should be applied during regular vulnerability management.
Apply vendor patch. If patching is delayed: deploy WAF rules, restrict network access, enable logging.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
Unauthenticated remote code execution in SmarterTools SmarterMail lets an attacker upload arbitrary files to any locatio
Windows Win32k fails to properly handle objects in memory, allowing local privilege escalation exploited in the wild in
A privilege escalation vulnerability (CVSS 5.5). Risk factors: actively exploited (KEV-listed), EPSS 94% exploitation pr
Windows Internet Shortcut Files (.url) contain an external control vulnerability (CVE-2025-33053, CVSS 8.8) that enables
Windows SMB contains an improper access control vulnerability (CVE-2025-33073, CVSS 8.8) enabling authenticated attacker
An unrestricted file upload vulnerability exists in MiniWeb HTTP Server <= Build 300 that allows unauthenticated remote
Serviio Media Server versions 1.4 through 1.8 on Windows contain an unauthenticated command injection in the /rest/actio
Mako Server versions 2.5 and 2.6 contain an unauthenticated OS command injection via the tutorial interface at examples/
Command injection in the Windows Shell lets remote, unauthenticated attackers bypass a Windows security feature and then
External control of file name or path in Windows NTLM allows an unauthorized attacker to perform spoofing over a network
Siemens Software Center (all versions) loads dynamic-link libraries from an uncontrolled search path, allowing an authen
Windows CLFS Driver contains an input validation flaw enabling local privilege escalation, yet another CLFS kernel vulne
EUVD-2026-14990
GHSA-x4ff-q6h8-v7gw
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB