Skip to main content

Windows CVE-2026-32948

| EUVDEUVD-2026-14990 MEDIUM
OS Command Injection (CWE-78)
2026-03-24 https://github.com/sbt/sbt GHSA-x4ff-q6h8-v7gw
6.7
CVSS 4.0 · GitHub Advisory
View

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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

sbt 0.9.5, < 1.12.7

Affected Packages

maven org.scala-sbt:sbt fix: 1.12.8
euvd sbt_0_9_5 fix: 1.12.7

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

GitHub Advisory PRIMARY 6.7 MEDIUM
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
Red Hat 5.7 MEDIUM

Primary rating from GitHub Advisory.

CVSS VectorGitHub Advisory

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Active
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch released
Mar 24, 2026 - 16:15 nvd
Patch available
CVE Published
Mar 24, 2026 - 16:04 nvd
MEDIUM 6.7

DescriptionGitHub 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

PoC

sh
# build.properties
# sbt.version=1.12.5
# Tested on those two versions of sbt
sbt.version=2.0.0-RC9
scala
// 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

Why It Matters

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.

Business Impact: Moderate
Compensating Controls

Apply vendor patch. If patching is delayed: deploy WAF rules, restrict network access, enable logging.

Threat Intelligence Overview

EPSS Score
0.0%
Top 93% exploitable
Data Quality
5 sources
Confidence: Medium
EUVD NVD CVE.org EPSS Vulnrichment Vendor GitHub VulDB

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

Exploitation
Poc
System Exposure· derived
Small
Automatable
No
Technical Impact
Total

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

CVE-2025-52691 CRITICAL POC
10.0 Dec 29

Unauthenticated remote code execution in SmarterTools SmarterMail lets an attacker upload arbitrary files to any locatio

CVE-2019-0803 HIGH POC
7.8 Apr 09

Windows Win32k fails to properly handle objects in memory, allowing local privilege escalation exploited in the wild in

CVE-2020-1472 MEDIUM POC
5.5 Aug 17

A privilege escalation vulnerability (CVSS 5.5). Risk factors: actively exploited (KEV-listed), EPSS 94% exploitation pr

CVE-2025-33053 HIGH POC
8.8 Jun 10

Windows Internet Shortcut Files (.url) contain an external control vulnerability (CVE-2025-33053, CVSS 8.8) that enables

CVE-2025-33073 HIGH POC
8.8 Jun 10

Windows SMB contains an improper access control vulnerability (CVE-2025-33073, CVSS 8.8) enabling authenticated attacker

CVE-2013-10047 CRITICAL POC
9.3 Aug 01

An unrestricted file upload vulnerability exists in MiniWeb HTTP Server <= Build 300 that allows unauthenticated remote

CVE-2025-34101 CRITICAL POC
9.3 Jul 10

Serviio Media Server versions 1.4 through 1.8 on Windows contain an unauthenticated command injection in the /rest/actio

CVE-2025-34095 CRITICAL POC
9.3 Jul 10

Mako Server versions 2.5 and 2.6 contain an unauthenticated OS command injection via the tutorial interface at examples/

CVE-2026-96951 HIGH POC
8.8 Oct 13

Command injection in the Windows Shell lets remote, unauthenticated attackers bypass a Windows security feature and then

CVE-2025-24054 MEDIUM POC
6.5 Mar 11

External control of file name or path in Windows NTLM allows an unauthorized attacker to perform spoofing over a network

CVE-2026-110936 HIGH POC
8.4 Oct 15

Siemens Software Center (all versions) loads dynamic-link libraries from an uncontrolled search path, allowing an authen

CVE-2025-32706 HIGH POC
7.8 May 13

Windows CLFS Driver contains an input validation flaw enabling local privilege escalation, yet another CLFS kernel vulne

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy