CVE-2026-124029
6.9medium
Kopia through 0.23.1 Path Traversal in Snapshot Restore via Directory Entry Names
- Severity
- 6.9medium CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.33% (higher than 27% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| kopia kopia | up to 0.23.1 | CVE List |
All scores
| VulnCheck | 6.9medium CVSS:4.0 | 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 | 5.7medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-124029 changed 2026-11-11 | CVE Terms of Use |
| NVD | CVE-2026-124029 changed 2026-11-12 | Public domain |