Skip to content
OpenAdvisories
Medium · 5.3 CVE-2026-62268 EUVD-2026-117789GHSA-gfp8-w835-v44j

borg extract might modify out-of-tree files when extracting maliciously crafted archives

Published Nov 5, 2026 · Updated Nov 9, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
borgbackup borg < 1.4.5, >= 2.0.0b1, < 2.0.0b22 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 borgbackup 1.4.5-1 —
Debian 14 borgbackup2 2.0.0b22-1 —
Debian 13 borgbackup +1 No fix yet —
Debian 12 borgbackup +1 No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 borgbackup +1 No fix yet —
Ubuntu 26.04 LTS borgbackup +1 No fix yet —
Ubuntu 24.04 LTS borgbackup +1 No fix yet —
Ubuntu 22.04 LTS borgbackup No fix yet —
Ubuntu 20.04 LTS borgbackup No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS borgbackup No fix yet —
Ubuntu 16.04 LTS borgbackup No fix yet —
ReleasePackageFixed inAdvisory
Alpine v3.24 borgbackup 1.4.5-r0 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI borgbackup < 1.4.5 1.4.5 GHSA-gfp8-w835-v44j
PyPI borgbackup >= 2.0.0b1, < 2.0.0b22 2.0.0b22 GHSA-gfp8-w835-v44j

References