CVE-2026-124029
Severity CVSS v4.0:
MEDIUM
Type:
CWE-22
Path Traversal
Publication date:
06/11/2026
Last modified:
12/11/2026
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.
Impact
Base Score 4.0
6.90
Severity 4.0
MEDIUM
Base Score 3.x
5.70
Severity 3.x
MEDIUM
References to Advisories, Solutions, and Tools
- https://github.com/kopia/kopia
- https://github.com/kopia/kopia/blob/v0.23.1/snapshot/restore/restore.go#L397
- https://github.com/kopia/kopia/issues/5700
- https://www.vulncheck.com/advisories/kopia-through-0.23.1-path-traversal-in-snapshot-restore-via-directory-entry-names
- https://github.com/kopia/kopia/issues/5700


