{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-47078 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2026-47078 is a medium-severity path traversal vulnerability in Erlang OTP, published on 27 Jul 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-47078 and fix it if it is affected.\n\nWhat it is: CVE-2026-47078 is a medium-severity path traversal vulnerability in Erlang OTP, published on 27 Jul 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-47078 in the wild and no public exploit code.\n\nAffected product: Erlang OTP. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-47078/ (Markdown: https://insights.sbomify.com/CVE-2026-47078/index.md)","id":"CVE-2026-47078","markdown":"https://insights.sbomify.com/CVE-2026-47078/index.md","name":"CVE-2026-47078","record":{"aliases":["DEBIAN-CVE-2026-47078","EEF-CVE-2026-47078","GHSA-rf72-wp7h-jg3x","UBUNTU-CVE-2026-47078"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_modify"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Erlang OTP stdlib","requires_auth":"none","summary":"Attackers can write files outside the intended directory using crafted zip archives due to a validation bypass in Erlang OTP's zip module.","user_interaction":"required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"EEF","cpe":[],"cvss":{"score":4.8,"severity":"medium","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-23","name":"Relative 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.\n\nzip: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.\n\nThis vulnerability is associated with program file lib/stdlib/src/zip.erl.\n\nThis 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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Relative path traversal in zip:unzip/zip:extract via check_dir_level depth-counter bypass","id":"CVE-2026-47078","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":0,"n_references":6,"next":{"headline":"Round-trip Corruption via Improper Entity Escaping in xml_builder","id":"CVE-2026-47079"},"packages":[],"prev":{"headline":"Unbounded body accumulation in HTTP/3 response loop in hackney","id":"CVE-2026-47077"},"products":["OTP"],"published":"2026-07-27","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-09-24","vendors":["Erlang"]},"summary":"Attackers can write files outside the intended directory using crafted zip archives due to a validation bypass in Erlang OTP's zip module.","url":"https://insights.sbomify.com/CVE-2026-47078/"}