{"id":"CVE-2026-124029","state":"PUBLISHED","title":"Kopia through 0.23.1 Path Traversal in Snapshot Restore via Directory Entry Names","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.","publishedAt":"2026-11-06T19:14:46.245Z","updatedAt":"2026-11-06T19:14:46.245Z","severity":{"score":6.9,"label":"Medium","version":"4.0","vector":"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","source":"VulnCheck"},"assigner":"VulnCheck","products":["kopia kopia"],"affected":[{"vendor":"kopia","product":"kopia","packageURL":"pkg:golang/github.com/kopia/kopia","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"0.23.1","versionType":"semver"}]}],"references":["https://github.com/kopia/kopia/issues/5700","https://github.com/kopia/kopia","https://github.com/kopia/kopia/blob/v0.23.1/snapshot/restore/restore.go#L397","https://www.vulncheck.com/advisories/kopia-through-0.23.1-path-traversal-in-snapshot-restore-via-directory-entry-names"],"weaknesses":["CWE-22"],"ingestedAt":"2026-11-06T19:20:06.668Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/124xxx/CVE-2026-124029.json","commit":"64a2fc3fb51a0d352ce39f4daed428c7f43508b1","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-124029","state":"PUBLISHED","datePublished":"2026-11-06T19:14:46.245Z","dateUpdated":"2026-11-06T19:14:46.245Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-11-06T18:51:27.887Z"},"containers":{"cna":{"title":"Kopia through 0.23.1 Path Traversal in Snapshot Restore via Directory Entry Names","descriptions":[{"lang":"en","value":"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":[{"vendor":"kopia","product":"kopia","packageURL":"pkg:golang/github.com/kopia/kopia","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"0.23.1","versionType":"semver"}]}],"references":[{"url":"https://github.com/kopia/kopia/issues/5700","tags":["issue-tracking"],"name":"GitHub Issue #5700"},{"url":"https://github.com/kopia/kopia","tags":["product"]},{"url":"https://github.com/kopia/kopia/blob/v0.23.1/snapshot/restore/restore.go#L397","tags":["technical-description"]},{"url":"https://www.vulncheck.com/advisories/kopia-through-0.23.1-path-traversal-in-snapshot-restore-via-directory-entry-names","name":"VulnCheck Advisory: Kopia through 0.23.1 Path Traversal in Snapshot Restore via Directory Entry Names","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"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","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"LOW","userInteraction":"PASSIVE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":6.9,"baseSeverity":"MEDIUM"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"HIGH","availabilityImpact":"NONE","baseScore":5.7,"baseSeverity":"MEDIUM"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","lang":"en","description":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-11-06T19:14:46.245Z"},"datePublic":"2026-10-09T00:00:00.000Z","credits":[{"lang":"en","value":"George Chen","type":"finder"}],"x_generator":{"engine":"vulncheck-endgame"}}}}}