CVE-2026-124029

Kopia through 0.23.1 Path Traversal in Snapshot Restore via Directory Entry Names

Published Nov 6, 2026 CVSS 4.0 · 6.9 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

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 available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Kopia
Kopia kopia
Vendors & Products Kopia
Kopia kopia
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'}

Weaknesses
  • CWE-22

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

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 11, 2026, 3:24 AM
Reserved
Nov 6, 2026, 6:51 PM
Status
Awaiting Analysis
Published
Nov 6, 2026, 8:17 PM
Modified
Nov 12, 2026, 9:30 PM