{"id":"CVE-2025-64346","published":"2025-11-07T05:32:09Z","modified":"2025-11-07T13:19:52Z","title":"archives: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","vendor":"jaredallard","product":"archives","tier":"tail","description":{"text":"archives is a Go library for extracting archives (tar, zip, etc.). Version 1.0.0 does not prevent a malicious user to feed a specially crafted archive to the library causing RCE, modification of files or other malignancies in the context of whatever the user is running this library as, through the program that imports it. Severity depends on user permissions, environment and how arbitrary archives are passed. This issue is fixed in version 1.0.1.","provenance":"source","from":"CVE.org"},"cvss":{"score":6,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00386,"percentile":0.33581,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/jaredallard/archives/security/advisories/GHSA-j95m-rcjp-q69h","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/jaredallard/archives/commit/3bddec7bd3f38afbe97ae61d1c8a8487e9ea4ef1","tags":["x_refsource_MISC"]}],"priority":{"score":10.9,"factors":[{"name":"EPSS percentile","points":6.72},{"name":"CVSS severity","points":4.2}]},"vendorSlug":"jaredallard","affectedVersions":[{"vendor":"jaredallard","product":"archives","versions":["< 1.0.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-11-07T13:19:20.562351Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/jaredallard/archives","vulnerableRanges":["<1.0.1"],"patched":["1.0.1"],"from":["GHSA-j95m-rcjp-q69h","GO-2025-3581"],"provenance":"source"}],"summary":{"text":"The archives Go library (jaredallard/archives) does not stop a crafted archive's entries from escaping their intended extraction directory, a path traversal flaw affecting archive extraction in programs that import it. An attacker who can supply a specially crafted archive to an application using the library, with low privileges and no user interaction, can modify files and potentially achieve code execution as the user running the program.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:59:50Z"},"euvd":{"id":"EUVD-2025-8630","exploited":false,"provenance":"source"}}