Relative Path Traversal in Erlang OTP's stdlib zip Module
CVE-2026-47078

4.8MEDIUM

Key Information:

Vendor

Erlang

Status
Vendor
CVE Published:
27 July 2026

What is CVE-2026-47078?

A vulnerability exists in the Erlang OTP's stdlib zip module that allows attackers to write files outside the intended extraction directory by exploiting crafted zip archives. The flawed validation logic in functions such as zip:unzip/1,2 and zip:extract/1,2 permits malicious paths that can navigate outside of the secure directory boundaries. This is achieved by manipulating the directory depth counter, which erroneously allows paths that result in negative values, thus bypassing security checks. As a result, the attacker can extract files to unintended locations, posing a significant security risk.

Affected Version(s)

OTP 6.1

OTP 27.1

OTP 8d537f51a4262d24f3395c4148323eaca9facbbd < 8a933c9c7835b06776d31d17b79b7336627d887a

References

CVSS V4

Score:
4.8
Severity:
MEDIUM
Confidentiality:
None
Integrity:
Low
Availability:
Low
Attack Vector:
Local
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
Unknown

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Jonatan Männchen
Zhang Delong
John Högberg
.