CVE-2026-32948 json
sbt: Source dependency feature (via crafted VCS URL) leads to arbitrary code execution on Windows
published 2026-03-24 7 mo ago modified 2026-06-17 4 mo ago also EUVD-2026-14990 , GHSA-x4ff-q6h8-v7gw
- cvss
- 7.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 23%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven org.scala-sbt:sbt 1.12.8
- org.scala-sbt sbt 1.12.7
- scala-sbt io 1.12.7
- scala-sbt sbt 1.12.7
- github.com/sbt/sbt@1ce945b commit
- github.com/sbt/sbt@3a474ab commit
- github.com/sbt/sbt/releases/tag/v1.12.7 release
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-32948 updated cvss 5.7
org.scala-sbt/sbt: sbt: Arbitrary command execution via unvalidated URI fragments on Windows
-
Red Hat JBoss Enterprise Application Platform 7 sbt Red Hat JBoss Enterprise Application Platform 8 sbt Red Hat JBoss Enterprise Application Platform Expansion Pack sbtnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- 7 mo ago
Exploit prediction
0.31% chance of exploitation in the next 30 days, higher than 23% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/sbt/sbt/security/advisories/GHSA-x4ff-q6h8-v7gw referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 6.7 | 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 |
| CNA | 4.0 | 6.7 | 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 |
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.scala-sbt:sbt | >=0.9.5, <1.12.8 |
1.12.8 |
Affected products
- sbt sbt
Classification
- Weakness
-
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
References
-
github.com
/sbt/sbt/commit/1ce945b6b79cbe3cef6c0fe9efbbd2904e0f479e
web, patch
-
github.com
/sbt/sbt/commit/3a474ab060df4dbfa825a7e7bc97e00056519800
web, patch
-
github.com
/sbt/sbt/security/advisories/GHSA-x4ff-q6h8-v7gw
web, exploit, vendor-advisory
-
github.com
/sbt/sbt/releases/tag/v1.12.7
web, product, release-notes
-
nvd.nist.gov
/vuln/detail/CVE-2026-32948
advisory
-
github.com
/sbt/sbt
package
Sources
- CVE List CVE-2026-32948
- GitHub Advisory GHSA-x4ff-q6h8-v7gw
- NVD CVE-2026-32948
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.