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.
Published: 2026-11-06
Score: 6.9 Medium
EPSS: n/a
KEV: No
Impact: Path Traversal leading to arbitrary file write outside restore directory
Action: Update Kopia
AI Analysis

Impact

Kopia through 0.23.1 contains a path traversal flaw in the copyDirectoryContent helper used during snapshot restores. By crafting directory manifest entries named '..', a user who can write to the repository can cause the restore process to write files outside the intended destination. The attacker can therefore overwrite existing files or create new files with arbitrary names and contents, compromising data integrity and potentially facilitating further malicious activity.

Affected Systems

Vulnerable instances of the open-source backup tool Kopia, versions 0.23.1 and earlier, are affected. Any deployment that stores snapshots in a Kopia repository and allows multiple users to write to that repository is at risk.

Risk and Exploitability

The CVSS v3 score of 6.9 indicates a moderate severity vulnerability. EPSS is currently not available, and the issue is not listed in the CISA Known Exploited Vulnerabilities catalog. Exploitation requires legitimate write access to the Kopia repository and the ability to trigger a restore; thus, it is most relevant to environments with shared write permissions or where snapshots are created by untrusted users. Attackers can bypass the default restore path and place arbitrary data on the victim's filesystem, potentially leading to data corruption or the placement of malicious files.

Generated by OpenCVE AI on November 6, 2026 at 21:06 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to a Kopia release that includes the path traversal fix
  • Restrict write permissions on the kopia repository to trusted users only
  • Validate snapshot manifest entries before restoring, rejecting any that contain '..'

Generated by OpenCVE AI on November 6, 2026 at 21:06 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 06 Nov 2026 21:00:00 +0000

Type Values Removed Values Added
First Time appeared Kopia
Kopia kopia
Vendors & Products Kopia
Kopia kopia

Fri, 06 Nov 2026 19:30:00 +0000

Type Values Removed Values Added
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.
Title Kopia through 0.23.1 Path Traversal in Snapshot Restore via Directory Entry Names
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 5.7, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N'}

cvssV4_0

{'score': 6.9, '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-11-06T19:14:46.245Z

Reserved: 2026-11-06T18:51:27.887Z

Link: CVE-2026-124029

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-06T20:17:21.503

Modified: 2026-11-06T20:17:21.503

Link: CVE-2026-124029

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-06T21:45:10Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')