# Archiver Path Traversal vulnerability

Advisory record · `GHSA-rhh4-rh7c-7r5v`

- **Identifiers:** `GHSA-rhh4-rh7c-7r5v` · `CVE-2024-0406` · `GO-2024-2698`
- **State:** Confirmed
- **Severity:** CVSS 6.1 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-22](https://cwe.mitre.org/data/definitions/22.html)
- **Tags:** [Path traversal](https://agentprime.io/advisories/tag/path-traversal.md)
- **Published:** 6 Apr 2024
- **Updated:** 10 Sept 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 6 Apr 2024, 18:31 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `github.com/mholt/archiver/v3` (Go): affected `>=3.0.0, <=3.5.1`; no fixed version yet
- `github.com/mholt/archiver` (Go): affected `>=3.0.0, <=3.5.1`; no fixed version yet

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> Versions 3.0.0 through 3.5.1 of github.com/mholt/archiver/v3 and github.com/mholt/archiver are vulnerable to path traversal. An attacker who supplies a specially crafted tar file can get a user or application that unpacks it to access restricted files or directories, creating or overwriting files with that user's or application's privileges. No fixed version is listed; the source gives few further details.

Written 2 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 6.1 Medium, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:N`, from CNA (redhat)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0093, the 61st percentile, on 19 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 6 Apr 2024, 16:11 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2024-0406)
- 31 Oct 2026, 14:15 UTC: First seen by agentprime
- 31 Oct 2026, 14:15 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-rhh4-rh7c-7r5v)

## Sources

- [GitHub Advisory Database: GHSA-rhh4-rh7c-7r5v](https://github.com/advisories/GHSA-rhh4-rh7c-7r5v)
- [OSV: GHSA-rhh4-rh7c-7r5v](https://osv.dev/vulnerability/GHSA-rhh4-rh7c-7r5v)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-0406>
- <https://access.redhat.com/errata/RHSA-2025:2449>
- <https://access.redhat.com/security/cve/CVE-2024-0406>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2257749>
- <https://github.com/mholt/archiver>
- <https://pkg.go.dev/vuln/GO-2024-2698>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-rhh4-rh7c-7r5v>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-rhh4-rh7c-7r5v/>. Everything for agents: <https://agentprime.io/llms.txt>.
