| Name | CVE-2026-62268 |
| Description | borgbackup is an opensource, deduplicating archiver with compression and authenticated encryption. Prior to 1.4.5 and 2.0.0b22, extracting a malicious archive can follow a symlinked parent path or resolve embedded dot-dot path components and delete or overwrite files outside the extraction directory. A crafted slave hardlink can also use an attacker-controlled hardlink source outside the extraction directory and hard-link that file into the restored tree, disclosing its contents. Creating the malicious archive requires repository access and, for encrypted or authenticated repositories, the Borg key and passphrase; a victim must then extract the archive. This issue is fixed in versions 1.4.5 and 2.0.0b22. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| borgbackup (PTS) | bookworm | 1.2.4-1 | vulnerable |
| trixie | 1.4.0-5 | vulnerable | |
| forky, sid | 1.4.5-1 | fixed | |
| borgbackup2 (PTS) | bookworm | 2.0.0b5-1 | vulnerable |
| trixie | 2.0.0b19-1 | vulnerable | |
| forky, sid | 2.0.0b25-4 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| borgbackup | source | (unstable) | 1.4.5-1 | |||
| borgbackup2 | source | (unstable) | 2.0.0b22-1 |
[trixie] - borgbackup2 <no-dsa> (Minor issue)
[bookworm] - borgbackup2 <postponed> (Minor issue)
[trixie] - borgbackup <no-dsa> (Minor issue)
[bookworm] - borgbackup <postponed> (Minor issue)
[bullseye] - borgbackup <postponed> (Minor issue)
Fixed by: https://github.com/borgbackup/borg/commit/2d632531028b09da8ab5d1450f89bebcc205d640 (2.0.0b22)
Fixed by: https://github.com/borgbackup/borg/commit/4f37fdfed10b50559a0dd333b0d5581c642af329 (2.0.0b22)
Fixed by: https://github.com/borgbackup/borg/commit/3e9ed6d1ad6d3531b39c07b8ef3ecf41fce4437f (1.4.5)
Fixed by: https://github.com/borgbackup/borg/commit/141888f2fabcd57a300547c2aa63212cb213924d (1.4.5)