PatchSiren cyber security CVE debrief
CVE-2026-47078 Erlang CVE debrief
CVE-2026-47078 is a Relative Path Traversal vulnerability in the Erlang OTP stdlib zip module. The vulnerability allows writing files outside the intended extraction directory via a crafted zip archive. The issue affects OTP from OTP 27.1 before OTP 29.0.4, OTP 28.5.0.4, and OTP 27.3.4.15. This vulnerability is associated with program file lib/stdlib/src/zip.erl. The zip:unzip/1,2 and zip:extract/1,2 functions validate entry paths using zip:check_dir_level/2, which tracks directory depth as a running integer counter.
- Vendor
- Erlang
- Product
- OTP
- CVSS
- MEDIUM 4.8
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-07-27
- Original CVE updated
- 2026-07-27
- Advisory published
- 2026-07-27
- Advisory updated
- 2026-07-27
Who should care
Users of Erlang OTP, particularly those using versions from OTP 27.1 before OTP 29.0.4, OTP 28.5.0.4, and OTP 27.3.4.15, should be aware of this vulnerability and take necessary actions to protect their systems. This includes reviewing the supplied official advisory or CVE record to validate affected scope, severity, and vendor guidance, and planning vendor-supported updates or mitigations through normal change control where exposure is confirmed.
Technical summary
The Relative Path Traversal vulnerability in Erlang OTP (stdlib zip module) occurs because the zip:unzip/1,2 and zip:extract/1,2 functions validate entry paths using zip:check_dir_level/2, which tracks directory depth as a running integer counter. A crafted zip archive can cause the counter to go negative mid-traversal and then recover to zero, passing validation while resolving to a location outside the extraction directory when joined with the current working directory via add_cwd. The vulnerability affects OTP from OTP 27.1 before OTP 29.0.4, OTP 28.5.0.4, and OTP 27.3.4.15.
Defensive priority
Medium
Recommended defensive actions
- Update Erlang OTP to a version that fixes the vulnerability (OTP 29.0.4, OTP 28.5.0.4, or OTP 27.3.4.15)
- Restrict access to the Erlang OTP zip module to trusted users
- Monitor for suspicious activity related to zip file extraction
- Review compensating controls for exposed systems while remediation is scheduled and verified
- Check relevant monitoring, detection, and logs for exposed assets that need extra review
- Track exceptions, retest remediated assets, and close the item only after evidence is documented
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
Evidence notes
The CVE record was published on 2026-07-27T16:17:07.643Z and was last modified on 2026-07-27T19:17:15.917Z. The NVD entry is currently Received. The vulnerability affects OTP from OTP 27.1 before OTP 29.0.4, OTP 28.5.0.4, and OTP 27.3.4.15, corresponding to stdlib from 6.1 before 8.0.3, 7.3.0.1 and 6.2.2.4. There is limited information available about the specific details of the vulnerability, and further verification is needed to understand the full scope of the issue.
Official resources
-
CVE-2026-47078 CVE record
CVE.org
-
CVE-2026-47078 NVD detail
NVD
-
Source item URL
nvd_modified
-
Source reference
6b3ad84c-e1a6-4bf7-a703-f496b71e49db
-
Source reference
6b3ad84c-e1a6-4bf7-a703-f496b71e49db
-
Source reference
6b3ad84c-e1a6-4bf7-a703-f496b71e49db
-
Source reference
6b3ad84c-e1a6-4bf7-a703-f496b71e49db
-
Source reference
6b3ad84c-e1a6-4bf7-a703-f496b71e49db
AI-assisted PatchSiren debrief based on the supplied source corpus. The CVE record was published on 2026-07-27T16:17:07.643Z and has not been modified since then. The NVD entry is currently Received.