Skip to content
Fencer Vulns
high 7.8

CVE-2023-39138 json

Path traversal in ZIPFoundation

published 2023-08-30 3 y ago modified 2026-06-17 4 mo ago also EUVD-2023-2266 , GHSA-c2cc-3569-6jh2

cvss
7.8
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
0.4%
EPSS 0.4% chance of exploitation in 30 days, percentile 35%
public exploits
0
none known

Summary

An issue in ZIPFoundation v0.9.16 allows attackers to execute a path traversal via extracting a crafted zip file.

Patch / fix

  • swift github.com/weichsel/ZIPFoundation 0.9.18

CISA SSVC

Exploitation
Proof of concept is public
Automatable
no
Technical impact
total
Assessed
2 y ago

Exploit prediction

0.41% chance of exploitation in the next 30 days, higher than 35% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • blog.ostorlab.co https://blog.ostorlab.co/zip-packages-exploitation.html referenced PoC, tagged "exploit" by a source, unverified
  • ostorlab.co https://ostorlab.co/vulndb/advisory/OVE-2023-4 referenced PoC, tagged "exploit" by a source, unverified
  • ostorlab.co https://ostorlab.co/vulndb/advisory/OVE-2023-6 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
GitHub 3.1 7.8 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
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
swift github.com/weichsel/ZIPFoundation
<0.9.18
0.9.18

Classification

Weakness
  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory

References

Sources

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.