{"cve":{"cve_id":"CVE-2026-47078","is_kev":false,"kev_date_added":null,"kev_vendor_project":null,"kev_product":null,"kev_vulnerability_name":null,"kev_short_description":null,"kev_required_action":null,"kev_due_date":null,"kev_known_ransomware":null,"kev_notes":null,"kev_cwes":null,"epss_score":0.00149,"epss_percentile":0.03719,"epss_as_of":"2026-10-15","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.","published_at":"2026-07-27T15:03:50.929000Z","last_modified_at":"2026-10-24T13:10:00.147000Z","cvss_v3_score":null,"cvss_v3_vector":null,"cvss_v3_severity":null,"cvss_v4_score":4.8,"cvss_v4_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","cvss_v4_severity":"MEDIUM","ssvc_decision":null,"ssvc_exploitation":"none","ssvc_automatable":false,"ssvc_technical_impact":"partial","cwes":["CWE-23"],"nvd_references":["https://github.com/erlang/otp/security/advisories/GHSA-rf72-wp7h-jg3x","https://cna.erlef.org/cves/CVE-2026-47078.html","https://osv.dev/vulnerability/EEF-CVE-2026-47078","https://www.erlang.org/doc/system/versions.html#order-of-versions","https://github.com/erlang/otp/commit/8d537f51a4262d24f3395c4148323eaca9facbbd","https://github.com/erlang/otp/commit/8a933c9c7835b06776d31d17b79b7336627d887a"],"vuln_status":"Awaiting Analysis","trending_score":null,"is_trending":false,"has_trended":false,"trended_number_one":false,"trending_peak_score":null,"trending_peak_rank":null,"started_trending_at":null,"trended_number_one_at":null,"summary_generated":null,"summary_generated_at":null,"summary_model":null,"created_at":"2026-07-27T19:03:23.261950Z","updated_at":"2026-10-25T04:44:41.758691Z"},"effective_severity":"MEDIUM","badges":[],"impact_analysis":[],"cvss_v3_decoded":{"version":null,"metrics":[]},"cvss_v4_decoded":{"version":"4.0","metrics":[{"metric":"AV","name":"Attack Vector","value":"L","value_label":"Local"},{"metric":"AC","name":"Attack Complexity","value":"L","value_label":"Low"},{"metric":"AT","name":"Attack Requirements","value":"N","value_label":"None"},{"metric":"PR","name":"Privileges Required","value":"N","value_label":"None"},{"metric":"UI","name":"User Interaction","value":"P","value_label":"Passive"},{"metric":"VC","name":"Confidentiality (Vulnerable System)","value":"N","value_label":"None"},{"metric":"VI","name":"Integrity (Vulnerable System)","value":"L","value_label":"Low"},{"metric":"VA","name":"Availability (Vulnerable System)","value":"L","value_label":"Low"},{"metric":"SC","name":"Confidentiality (Subsequent System)","value":"N","value_label":"None"},{"metric":"SI","name":"Integrity (Subsequent System)","value":"L","value_label":"Low"},{"metric":"SA","name":"Availability (Subsequent System)","value":"L","value_label":"Low"}]},"affected":[{"vendor_slug":"erlang","vendor_name":"erlang","product_slug":"erlang-otp","product_name":"erlang/otp","version_start":null,"version_start_inclusive":null,"version_end":null,"version_end_inclusive":null,"cpe23_uri":"cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"}],"exploit_refs":[],"news":[],"references":[{"url":"https://github.com/erlang/otp/security/advisories/GHSA-rf72-wp7h-jg3x","source_type":"VENDOR_ADVISORY","tags":["advisory"]},{"url":"https://cna.erlef.org/cves/CVE-2026-47078.html","source_type":"MISC","tags":[]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-47078","source_type":"MISC","tags":[]},{"url":"https://www.erlang.org/doc/system/versions.html#order-of-versions","source_type":"MISC","tags":[]},{"url":"https://github.com/erlang/otp/commit/8d537f51a4262d24f3395c4148323eaca9facbbd","source_type":"PATCH","tags":["patch"]},{"url":"https://github.com/erlang/otp/commit/8a933c9c7835b06776d31d17b79b7336627d887a","source_type":"PATCH","tags":["patch"]}],"timeline":[{"type":"published","at":"2026-07-27T15:03:50.929000Z","label":"CVE published","source":null},{"type":"ssvc_changed","at":"2026-07-28T12:04:23.264121Z","label":"SSVC decision revised","source":"vulnrichment"},{"type":"ssvc_changed","at":"2026-07-28T12:04:23.264121Z","label":"SSVC decision revised","source":"vulnrichment"},{"type":"ssvc_changed","at":"2026-07-28T12:04:23.264121Z","label":"SSVC decision revised","source":"vulnrichment"}]}