CVE-2023-46122Arbitrary file write via archive extraction (Zip Slip) vulnerability in sbt
- 3.9LowCVSS base score
- 0.37%Exploitation in 30 daysEPSS · top 69% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
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.
Timeline
ID reserved
By GitHub_M
- 7 days later
· 7 days later
Published
- 11 months later
· 11 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | Low3.9 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L |
| NVDNVD · Modified | 3.1 | High7.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H |
- EPSS (exploitation in 30 days)
- 0.37% · top 69% of all CVEs (17 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: Low 3.9.
Affected products
Affected packages
Affected packages4
From reviewed advisories of the GitHub Advisory Database.
- Mavenorg.scala-sbt:io_2.12GHSA-h9mw-grgx-2fhf (opens in a new tab)
- Mavenorg.scala-sbt:io_2.13GHSA-h9mw-grgx-2fhf (opens in a new tab)
- Mavenorg.scala-sbt:io_3GHSA-h9mw-grgx-2fhf (opens in a new tab)
- Mavenorg.scala-sbt:sbtGHSA-h9mw-grgx-2fhf (opens in a new tab)
References
References4
- https://github.com/sbt/sbt/security/advisories/GHSA-h9mw-grgx-2fhf (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://github.com/sbt/io/issues/358 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/sbt/io/pull/360 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/sbt/io/commit/124538348db0713c80793cb57b915f97ec13188a (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2023-2746 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-h9mw-grgx-2fhf (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2023-46122)Record last updated .