# CVE-2026-124029: Kopia through 0.23.1 Path Traversal in Snapshot Restore via Directory Entry Names

- Severity: Medium 6.9 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA: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): 0.33%, higher than 27% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-06T19:14:46.245Z
- Modified: 2026-11-12T21:30:23.870Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulnCheck

## Description

Kopia through 0.23.1 contains a path traversal vulnerability in copyDirectoryContent that allows users with repository write access to escape the restore directory via crafted entry names. Attackers can create snapshots whose directory manifest entries are named '..', so victims restoring with default options write attacker-chosen content outside the restore directory.

(As written by CVE List.)

## Affected

- kopia kopia: up to 0.23.1

## Every score

- VulnCheck: CVSS:4.0 6.9 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 5.7 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N`

## References

- <https://github.com/kopia/kopia/issues/5700> (exploit, issue-tracking)
- <https://github.com/kopia/kopia> (product)
- <https://github.com/kopia/kopia/blob/v0.23.1/snapshot/restore/restore.go#L397> (technical-description)
- <https://www.vulncheck.com/advisories/kopia-through-0.23.1-path-traversal-in-snapshot-restore-via-directory-entry-names> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-124029](https://www.cve.org/CVERecord?id=CVE-2026-124029), CVE Terms of Use, modified 2026-11-11
- NVD: [CVE-2026-124029](https://nvd.nist.gov/vuln/detail/CVE-2026-124029), Public domain, modified 2026-11-12

---

Page: https://cve.day/CVE-2026-124029 · Whole record: https://cve.day/CVE-2026-124029.json · Rebuilt by cve.day 2026-11-25T22:59:49.317Z
