Path Traversal in Erlang Otp
CVE-2025-4748
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in Erlang OTP (stdlib modules) allows Absolute Path Traversal, File Manipulation.
This vulnerability is associated with program files lib/stdlib/src/zip.erl and program routines zip:unzip/1, zip:unzip/2, zip:extract/1, zip:extract/2 unless the memory option is passed.
This issue affects OTP from OTP 17.0 before OTP 26.2.5.13, OTP 27.3.4.1, and OTP 28.0.1, corresponding to stdlib from 2.0 before 5.2.3.4, 6.2.2.1, and 7.0.1.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
EPSS exploit prediction
EPSS 0.003, 24.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Erlang Otp — versions 2.0, 17.0, 07b8f441ca711f9812fad9e9115bab3c3aa92f79
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (ARPSyndicate/cve-scores). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/erlang/otp/security/advisories/GHSA-9g37-pgj9-wrhc (related, vendor-advisory)
- cna.erlef.org/cves/CVE-2025-4748.html (related)
- osv.dev/vulnerability/EEF-CVE-2025-4748 (related)
- www.erlang.org/doc/system/versions.html (x_version-scheme)
- github.com/erlang/otp/pull/9941 (patch)
- github.com/erlang/otp/commit/5a55feec10c9b69189d56723d8f237afa58d5d4f (patch)
- github.com/erlang/otp/commit/ba2f2bc5f45fcfd2d6201ba07990a678bbf4cc8f (patch)
- github.com/erlang/otp/commit/578d4001575aa7647ea1efd4b2b7e3afadcc99a5 (patch)
- www.openwall.com/lists/oss-security/2025/06/16/5
- github.com/erlang/otp/commit/07b8f441ca711f9812fad9e9115bab3c3aa92f79 (related)