Read the docs
TI-2023-24764 Aliases CVE-2023-46122GHSA-h9mw-grgx-2fhf

Arbitrary file write via archive extraction (Zip Slip) vulnerability in sbt

Priority LOW 33CWE-22Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
None · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub.

Summary

sbt is a build tool for Scala, Java, and others. Given a specially crafted zip or JAR file, `IO.unzip` allows writing of arbitrary file. This would have potential to overwrite `/root/.ssh/authorized_keys`. Within sbt's main code, `IO.unzip` is used in `pullRemoteCache` task and `Resolvers.remote`; however many projects use `IO.unzip(...)` directly to implement custom tasks. This vulnerability has been patched in version 1.9.7.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00369 30th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed sbt (sbt): 1.9.7org.scala-sbt:sbt (Maven): 1.9.7+3 more products

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
sbtsbt0.3.4 to before 1.9.71.9.7Patch availableCNA
—org.scala-sbt:sbt (Maven)0.3.4 to before 1.9.71.9.7Patch availableGHSA-h9mw-grgx-2fhf
—org.scala-sbt:io_2.12 (Maven)1.0.0 to before 1.9.71.9.7Patch availableGHSA-h9mw-grgx-2fhf
—org.scala-sbt:io_2.13 (Maven)1.0.0 to before 1.9.71.9.7Patch availableGHSA-h9mw-grgx-2fhf
—org.scala-sbt:io_3 (Maven)1.0.0 to before 1.9.71.9.7Patch availableGHSA-h9mw-grgx-2fhf
  • sbt Vendorsbt Affected 0.3.4 to before 1.9.7 Fixed in 1.9.7 Patch available CNA
  • org.scala-sbt:sbt (Maven) Vendor— Affected 0.3.4 to before 1.9.7 Fixed in 1.9.7 Patch available GHSA-h9mw-grgx-2fhf
  • org.scala-sbt:io_2.12 (Maven) Vendor— Affected 1.0.0 to before 1.9.7 Fixed in 1.9.7 Patch available GHSA-h9mw-grgx-2fhf
  • org.scala-sbt:io_2.13 (Maven) Vendor— Affected 1.0.0 to before 1.9.7 Fixed in 1.9.7 Patch available GHSA-h9mw-grgx-2fhf
  • org.scala-sbt:io_3 (Maven) Vendor— Affected 1.0.0 to before 1.9.7 Fixed in 1.9.7 Patch available GHSA-h9mw-grgx-2fhf

CPE configurations NVD · 2

CPEVersionsRoleVendor
cpe:2.3:a:scala-sbt:io:*:*:*:*:*:sbt:*:*1.0.0 to before 1.9.7VulnerableScala-sbt
cpe:2.3:a:scala-sbt:sbt:*:*:*:*:*:*:*:*0.3.4 to before 1.9.7VulnerableScala-sbt
  • cpe:2.3:a:scala-sbt:io:*:*:*:*:*:sbt:*:* Versions 1.0.0 to before 1.9.7 Vulnerable ·Scala-sbt
  • cpe:2.3:a:scala-sbt:sbt:*:*:*:*:*:*:*:* Versions 0.3.4 to before 1.9.7 Vulnerable ·Scala-sbt

Remediation

  • Fix · CNA sbt (sbt) Fixed in 1.9.7
  • Fix · GHSA-h9mw-grgx-2fhf org.scala-sbt:sbt (Maven) Fixed in 1.9.7 Advisory →
  • Fix · GHSA-h9mw-grgx-2fhf org.scala-sbt:io_2.12 (Maven) Fixed in 1.9.7 Advisory →
  • Fix · GHSA-h9mw-grgx-2fhf org.scala-sbt:io_2.13 (Maven) Fixed in 1.9.7 Advisory →
  • Fix · GHSA-h9mw-grgx-2fhf org.scala-sbt:io_3 (Maven) Fixed in 1.9.7 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2023-46122
  2. 2026-10-03 Alias added: GHSA-h9mw-grgx-2fhf

References

Sources