Arbitrary file writes via absolute archive paths
Published Jun 16, 2025 · Updated Jul 24, 2026
Path traversal in vulnerable Erlang/OTP 17.0 and later releases allows local users to write archive contents outside the extraction directory. Functions zip:unzip/1, zip:unzip/2, zip:extract/1, and zip:extract/2 preserve an archive entry's absolute path instead of stripping its leading slash, drive, or device letter. Exploitation requires an application or user to extract a crafted archive to disk without the memory option, and the resulting write occurs with that process's filesystem permissions.
Summary
What happened
Path traversal in vulnerable Erlang/OTP 17.0 and later releases allows local users to write archive contents outside the extraction directory. Functions zip:unzip/1, zip:unzip/2, zip:extract/1, and zip:extract/2 preserve an archive entry's absolute path instead of stripping its leading slash, drive, or device letter. Exploitation requires an application or user to extract a crafted archive to disk without the memory option, and the resulting write occurs with that process's filesystem permissions.
The record
- CVE
- CVE-2025-4748
- Published
- Jun 16, 2025
- Updated
- Jul 24, 2026
- Vendor
- Erlang
- Product
- Erlang/OTP
- Classifications
- CWE-22, CAPEC-165, CAPEC-597, T1565.001
- Attack vector
- local
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jun 16, 2025CVE publishedPublication date reported by the CVE source.
- Jul 24, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=07b8f441ca711f9812fad9e9115bab3c3aa92f79 <* changes=[{"at":"d9454dbccbaaad4b8796095c8e653b71b066dfaf","status":"unaffected"},{"at":"9b7b5431260e05a16eec3ecd530a232d0995d932","status":"unaffected"},{"at":"0ac548b57c0491196c27e39518b5f6acf9326c1e","status":"unaffected"}]
- Affected versionversion=17.0 <* changes=[{"at":"28.0.1","status":"unaffected"},{"at":"27.3.4.1","status":"unaffected"},{"at":"26.2.5.13","status":"unaffected"}]
- Affected versionversion=2.0 <* changes=[{"at":"7.0.1","status":"unaffected"},{"at":"6.2.2.1","status":"unaffected"},{"at":"5.2.3.4","status":"unaffected"}]
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo