CVE-2026-124029
published medium CVSS 4.0 · 6.9Kopia through 0.23.1 Path Traversal in Snapshot Restore via Directory Entry Names
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| kopia | — | kopia0 through 0.23.1 · Other versions: unaffected | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.9 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.7 | medium | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| kopia | kopia | 0 through 0.23.1 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
4- https://github.com/kopia/kopia
- https://github.com/kopia/kopia/blob/v0.23.1/snapshot/restore/restore.go#L397
- GitHub Issue #5700 https://github.com/kopia/kopia/issues/5700
- VulnCheck Advisory: Kopia through 0.23.1 Path Traversal in Snapshot Restore via Directory Entry Names https://www.vulncheck.com/advisories/kopia-through-0.23.1-path-traversal-in-snapshot-restore-via-directory-entry-names
Provider assertions
2VulnCheck · cna
Kopia through 0.23.1 Path Traversal in Snapshot Restore via Directory Entry Names
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 90f3d04800e3a6f0917726354062ebabf881157532796427178ad3a5dd6c1d40
- Ingested
- 11 Nov 2026, 03:29:51 UTC
- Source record
- Official CVE record