Arbitrary file write via ZIP depth-counter bypass
Published Jul 27, 2026 · Updated Jul 27, 2026
Relative path traversal in Erlang/OTP allows attackers to write files outside ZIP extraction roots using a crafted archive. The stdlib zip:unzip and zip:extract routines accept an entry such as ../x/y because check_dir_level rejects only a final negative depth after traversal recovers to zero. An application must process attacker-supplied content through either routine, and writes remain limited by that application's filesystem privileges.
Summary
What happened
Relative path traversal in Erlang/OTP allows attackers to write files outside ZIP extraction roots using a crafted archive. The stdlib zip:unzip and zip:extract routines accept an entry such as ../x/y because check_dir_level rejects only a final negative depth after traversal recovers to zero. An application must process attacker-supplied content through either routine, and writes remain limited by that application's filesystem privileges.
The record
- CVE
- CVE-2026-47078
- Published
- Jul 27, 2026
- Updated
- Jul 27, 2026
- Vendor
- Erlang
- Product
- Erlang/OTP
- Classifications
- CWE-23, CAPEC-139
- Attack vector
- local
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jul 27, 2026CVE publishedPublication date reported by the CVE source.
- Jul 27, 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=27.1 <* changes=[{"at":"29.0.4","status":"unaffected"},{"at":"28.5.0.4","status":"unaffected"},{"at":"27.3.4.15","status":"unaffected"}]
- Affected versionversion=6.1 <* changes=[{"at":"8.0.3","status":"unaffected"},{"at":"7.3.0.1","status":"unaffected"},{"at":"6.2.2.4","status":"unaffected"}]
- Affected versionversion=8d537f51a4262d24f3395c4148323eaca9facbbd <8a933c9c7835b06776d31d17b79b7336627d887a
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.
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