Skip to content
VulniPulse
Advisory severityMedium4.4Red Hat Linux

Medium [CVE-2026-47078] Arbitrary file write via relative path traversal in zip module

This medium-severity Red Hat Linux advisory covers CVE-2026-47078.

Aggregated and source-linked by VulniPulse. Data sources, validation and limitations.

CVE-2026-47078 Source published Source updated

VulniPulse record published Record updated

Affected products & platforms
Red Hat LinuxUnclassified
Open source advisory

Android app · Google Play

Monitor future Red Hat Linux CVEs from your phone.

Choose a whole vendor or a precise platform, then receive matching security advisories by phone notification, email, or both. Coverage follows 32 official vendor sources and 160+ reviewed platform categories.

Matching phone alertsOptional email delivery

Summary

Relative Path Traversal vulnerability in Erlang OTP (stdlib zip module) allows writing files outside the intended extraction directory via a crafted zip archive. zip:unzip/1,2 and zip:extract/1,2 validate entry paths using zip:check_dir_level/2, which tracks directory depth as a running integer counter:.. decrements it, normal path components increment it.

The caller rejects only paths where the final counter value is less than zero. A path such as../x/y causes the counter to go negative mid-traversal 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.

This vulnerability is associated with program file lib/stdlib/src/zip.erl. This issue 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.

A remote attacker could craft a malicious zip archive containing specially formed entry names. When processed, this could allow the attacker to write arbitrary files outside the intended extraction directory, potentially leading to remote code execution or data corruption.

Red Hat severity: Moderate — CVSS 4.4 (CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L). Weakness: CWE-22.

Affected versions
  • < 27.1
  • < 29.0.4
  • < 28.5.0.4
  • < 27.3.4.15
  • < 6.1
  • < 8.0.3
  • < 7.3.0.1
  • < 6.2.2.4

Official advisory · high-confidence parse· fetched 9 days ago·verify at source

Fixed versions

No fixed release is recorded yet. That does not prove no patch exists — confirm against the vendor advisory.

Official advisory · high-confidence parse· fetched 9 days ago·verify at source

Mitigation

The source record does not include mitigation steps. That is not a statement that no fix exists — read the vendor advisory below for the authoritative guidance.

Official advisory · high-confidence parse· fetched 9 days ago·verify at source

Discussion(0)

No comments yet. Share field notes, upgrade gotchas, or questions — verify against the vendor advisory before acting on community advice.

Sign in to join the discussion.