# CVE-2024-0406: Mholt/archiver: path traversal vulnerability

- Severity: Medium 6.1 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.10%, higher than 65% of CVEs (2026-11-30)
- Published: 2024-04-06T16:11:02.643Z
- Modified: 2026-11-10T04:22:29.078Z
- Also known as: GHSA-rhh4-rh7c-7r5v, GO-2024-2698
- Related: CGA-wwg6-8jx6-mc8g
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: redhat

## Description

A flaw was discovered in the mholt/archiver package. This flaw allows an attacker to create a specially crafted tar file, which, when unpacked, may allow access to restricted files or directories. This issue can allow the creation or overwriting of files with the user's or application's privileges using the library.

(As written by CVE List.)

## Affected

- archiver: from v3.0.0 before * (not affected: from v4.0.0 before *)
- openshift4/oc-mirror-plugin-rhel9: no versions given (not affected: from v4.18.0-202503051333.p0.g22b273d.assembly.stream.el9 before *)
- advanced-cluster-security/rhacs-main-rhel8: no versions given
- advanced-cluster-security/rhacs-roxctl-rhel8: no versions given
- advanced-cluster-security/rhacs-scanner-rhel8: no versions given
- github.com/mholt/archiver/v3 (Go): from 3.0.0 up to 3.5.1; all versions
- github.com/mholt/archiver (Go): from 3.0.0 up to 3.5.1; all versions
- mholt archiver: from 3.0.0 before 4.0.0
- redhat advanced_cluster_security: 3.0
- redhat openshift_container_platform: from 4.18 before 4.18.4

## Every score

- redhat: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:N`
- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:N`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://access.redhat.com/errata/RHSA-2025:2449> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/security/cve/CVE-2024-0406> (third-party-advisory, vdb-entry, web)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2257749> (issue-tracking, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-0406> (advisory)
- <https://github.com/mholt/archiver> (package)
- <https://pkg.go.dev/vuln/GO-2024-2698> (web)
- <https://github.com/advisories/GHSA-rhh4-rh7c-7r5v> (advisory)

## Sources

- CVE List: [CVE-2024-0406](https://www.cve.org/CVERecord?id=CVE-2024-0406), CVE Terms of Use, modified 2026-11-10
- GitHub Advisory Database: [GHSA-rhh4-rh7c-7r5v](https://github.com/advisories/GHSA-rhh4-rh7c-7r5v), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2024-2698](https://pkg.go.dev/vuln/GO-2024-2698), CC-BY-4.0, modified 2026-02-04
- NVD: [CVE-2024-0406](https://nvd.nist.gov/vuln/detail/CVE-2024-0406), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-0406 · Whole record: https://cve.day/CVE-2024-0406.json · Rebuilt by cve.day 2026-11-25T22:58:38.829Z
