Path Traversal in Erlang OTP
Auto-generated summary
Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.
A vulnerability tracked as CVE-2025-4748 has been found in Erlang OTP.
Risk of unauthorized operations or information disclosure.
What to do: apply the vendor's official patched release.
If unsure, ask your IT team or search "Erlang OTP CVE-2025-4748" on the vendor's site.
CVE-2025-4748 (Erlang OTP) — CWE-22
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
Path traversal (CWE-22) exists in Erlang OTP.
Check the vendor advisory for the affected versions of Erlang OTP.
Severity: ?. Risk of unauthorized operations or information disclosure.
Update to the patched release per vendor advisory.
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Audit SBOM/dependencies to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1
Identify exposureidentify
Audit SBOM/dependencies for affected components.資産台帳・SBOM・依存マニフェストで Erlang OTP を使っているサービスとバージョンを洗い出す。
-
2
Post-deployment verificationverify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| ErlangOTP |
≥ 07b8f441ca711f9812fad9e9115bab3c3aa92f79 (no fix yet)→ 578d4001575aa7647ea1efd4b2b7e3afadcc99a5, 5a55feec10c9b69189d56723d8f237afa58d5d4f, ba2f2bc5f45fcfd2d6201ba07990a678bbf4cc8f |
578d4001575aa7647ea1efd4b2b7e3afadcc99a5, 5a55feec10c9b69189d56723d8f237afa58d5d4f, ba2f2bc5f45fcfd2d6201ba07990a678bbf4cc8f |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2025-4748 erlang Fix available
- Ubuntu UBUNTU-CVE-2025-4748 erlang Fix available
Original description The description as published by the source.
Summary
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in Erlang OTP (stdlib modules) allows Absolute Path Traversal, File Manipulation.
This vulnerability is associated with program files lib/stdlib/src/zip.erl and program routines zip:unzip/1, zip:unzip/2, zip:extract/1, zip:extract/2 unless the memory option is passed.
This issue affects OTP from OTP 17.0 before OTP 26.2.5.13, OTP 27.3.4.1, and OTP 28.0.1, corresponding to stdlib from 2.0 before 5.2.3.4, 6.2.2.1, and 7.0.1.
Workarounds
You can use zip:list_dir/1 on the archive and verify that no files contain absolute paths before extracting the archive to disk.
Source: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- patch github.com
- patch github.com
- patch github.com
- web cna.erlef.org
- web erlang.org
- web openwall.com
- web osv.dev
- web github.com
- web github.com