Skip to main content

Kopia CVE-2026-124029

| EUVDEUVD-2026-118437 MEDIUM
Path Traversal (CWE-22)
2026-11-06 VulnCheck GHSA-wxf6-4gvx-qq4q
6.9
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain repository write access
  2. Delivery
    Craft snapshot with '..' entry names
  3. Exploit
    Victim restores snapshot with default options
  4. Execution
    Entry names escape restore directory
  5. Impact
    Write attacker content to arbitrary paths

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires two concrete conditions, both reflected in the CVSS vector. First, the attacker must already hold write access to the target Kopia repository (PR:L) in order to create a malicious snapshot whose directory manifest entries are named '..'. Second, a victim must initiate a restore of that snapshot using default options (UI:P) - the write outside the restore directory occurs during the victim's restore operation, not at the attacker's direct command. Limiting factors: this is not remotely/anonymously exploitable, so deployments that restrict repository write access to trusted users sharply reduce exposure; the dependence on a victim-initiated restore means no impact occurs until someone restores the poisoned snapshot. The affected scope is Kopia through 0.23.1 with default restore options.

Impact

This is a medium-severity integrity flaw whose real-world risk is tightly bounded by its preconditions, not a drop-everything emergency. The provided CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:H/VA:N) scores 6.9 and tells a consistent story: an attacker needs existing repository write access (PR:L - so this is an authenticated/insider or shared-repository scenario, not anonymous) and the attack only lands when a victim performs a restore (UI:P). Impact is integrity-only (VI:H) - arbitrary file write outside the restore directory - with no confidentiality or availability impact, which matches the path-traversal mechanism described. The vuln.today decision label is 'this_month' (not act_now/emergency), and there is no CISA KEV listing and no EPSS score in the input, so there is no evidence of active or widespread exploitation. No EPSS, SSVC automatable/technical-impact, or confirmed PoC signals were supplied to contrast against the CVSS reading. Bottom line: the CVSS, the decision label, and the absence of KEV all point the same direction - a legitimate integrity bug in a shared-repository/multi-user backup trust model, worth patching on a normal monthly cadence rather than as an active-exploitation fire drill. The main caveat is the trust model: in deployments where repository write access is already restricted to trusted parties, practical risk is low; in shared or multi-tenant repositories it is more meaningful.

Exploit ScenarioDerived

An attacker who already has write access to a shared Kopia repository creates a snapshot whose directory manifest entries are named '..', then waits for (or socially engineers) a victim to restore that snapshot using default options. Because the entry names escape the intended restore directory, the victim's restore writes attacker-controlled content to arbitrary filesystem locations outside the restore target, potentially overwriting configuration, scripts, or other sensitive files. A public PoC reference exists via the Kopia issue tracker (#5700) and the VulnCheck advisory, but neither is verified as working exploit code in the provided input.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 06, 2026

Kopia through 0.23.1 fails to reject '..' as a directory entry name during snapshot restore, so a user who can write to the repository can craft a snapshot that writes attacker-chosen content outside the victim's chosen restore directory. The flaw is not remotely anonymous: the attacker must already hold repository write access, and impact only materialises when a victim restores the poisoned snapshot using default options, making this a medium-severity integrity issue tightly bounded by those preconditions rather than an emergency. No public exploit code or confirmed active exploitation was identified at time of analysis, and confidentiality and availability are unaffected - only the integrity of files written outside the restore path is at risk.

RemediationAI

No vendor-released patch is identified in the available data for CVE-2026-124029; the issue is tracked at https://github.com/kopia/kopia/issues/5700 and the advisory is at https://www.vulncheck.com/advisories/kopia-through-0.23.1-path-traversal-in-snapshot-restore-via-directory-entry-names, so watch those channels for a fixed build and upgrade as soon as one is tagged. Until then, the exposure is controlled entirely by the two exploitation preconditions: restrict repository write access to trusted principals so no untrusted user can commit a snapshot containing a '..' directory manifest entry, and treat snapshots from shared or multi-tenant repositories as untrusted when restoring, since a restore with default options is what converts the poisoned manifest into files written outside the restore directory. Where restores from such repositories cannot be avoided, perform them into a disposable, least-privilege environment where writes outside the intended path cannot reach valuable data, accepting the operational overhead that entails. Restricting write access does not protect against a malicious insider who already holds it, and avoiding untrusted snapshots removes the utility of shared repositories, so neither substitute for installing the upstream fix once it ships.

Affected VersionsENISA

kopia 0 ≤0.23.1

Affected Packages

euvd kopia no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The root cause is CWE-22 (Improper Limitation of a Pathname to a Restricted Directory, i.e. path traversal) inside copyDirectoryContent in the snapshot restore code path (snapshot/restore/restore.go, around line 397 in v0.23.1). Kopia stores snapshot content as manifests, and restore walks directory manifest entries to recreate the tree on disk. The implementation does not treat the literal entry name '..' as an invalid directory component, so a snapshot author can encode a parent-directory reference into the manifest itself rather than into a filename string. Because the malicious component lives in the repository manifest - which the restoring victim implicitly trusts - the path resolution escapes the restore root during the victim's restore operation. The behaviour is reachable over the network (repository access) but is gated by PR:L, since the attacker needs genuine write access to the repository to commit the malicious snapshot, and by UI:P, since a victim must initiate the restore and accept the default restore options; the exact options or checks that would block the traversal are not described in the available sources. The single CPE cpe:2.3:a:kopia:kopia:*:*:*:*:*:*:*:* covers the Kopia project broadly, with the advisory scoping affected releases as through 0.23.1.

Know when Kopia gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 6.9 MEDIUM
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
vuln.today AI 5.7 MEDIUM

Repository write access gives PR:L and network vector AV:N; the victim's restore is required (UI:R); impact is arbitrary file write, so I:H with C:N and A:N.

3.1 AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
Red Hat 5.7 MEDIUM

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.3%
Top 81% exploitable
Prevalence
Low
niche open-source backup tool, limited enterprise footprint
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy