SecurityContext

CVE-2026-47078: Erlang OTP - Path Traversal

  • Cve: CVE-2026-47078
  • Name: Erlang OTP - Path Traversal
  • Description: 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 27.3.4.15, OTP 28.5.0.4, and OTP 29.0.4, corresponding to stdlib from 6.1 before 6.2.2.4, 7.3.0.1, and 8.0.3.
  • Impact: Attackers can write files outside the extraction directory, potentially leading to arbitrary file write and system compromise.
  • Remediation: Update to OTP 29.0.4, 28.5.0.4, 27.3.4.15 or later versions.
  • Vulnerability type: path_traversal
  • Vulnerability impact: file_system_write
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 4.8
  • Cvss vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:L/SC:N/SI:L/SA:L/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Epss score: 0.00149
  • Epss percentile: 0.04064
  • Assignee: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
  • Published at: 2026-07-27T16:17:07Z
  • Age in days: 120
  • Modified at: 2026-11-20T06:17:28Z
  • Patch available: yes
  • References total: 6
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-47078
  • Nvd status: awaiting_analysis
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-23Relative Path Traversal

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://cna.erlef.org/cves/CVE-2026-47078.html
https://github.com/erlang/otp/commit/8a933c9c7835b06776d31d17b79b7336627d887a
https://github.com/erlang/otp/commit/8d537f51a4262d24f3395c4148323eaca9facbbd
https://github.com/erlang/otp/security/advisories/GHSA-rf72-wp7h-jg3x
https://osv.dev/vulnerability/EEF-CVE-2026-47078
https://www.erlang.org/doc/system/versions.html#order-of-versions

Products

ProductAffectedPlatform boundSourcesUrl
erlang:erlang/otp>= 29.0, < 29.0.4; >= 28.0, < 28.5.0.4; >= 27.1, < 27.3.4.15nocna/v1/products/erlang/erlang/otp

Projects

RepositoryLink kindsIndexedUrl
erlang/otpcna_commit, commit, fix, security_advisoryyes/v1/repositories/erlang/otp

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts