Vulnerability · Published Nov 5, 2026 · Assigned by GitHub_M

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

Medium 5.3

In plain English

A medium-severity security flaw in borg from borgbackup. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 5% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)5.3Medium
Exploit odds (30 days)0.2%top 95.0% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.24borgbackup1.4.5-r0ALPINE-CVE-2026-62268
Debian:12borgbackupno fix listedDEBIAN-CVE-2026-62268
Debian:13borgbackupno fix listedDEBIAN-CVE-2026-62268
Debian:14borgbackup1.4.5-1DEBIAN-CVE-2026-62268
Debian:12borgbackup2no fix listedDEBIAN-CVE-2026-62268
Debian:13borgbackup2no fix listedDEBIAN-CVE-2026-62268
Debian:14borgbackup22.0.0b22-1DEBIAN-CVE-2026-62268
PyPIborgbackup1.4.5GHSA-gfp8-w835-v44j
PyPIborgbackup2.0.0b22GHSA-gfp8-w835-v44j
Ubuntu:22.04:LTSborgbackupno fix listedUBUNTU-CVE-2026-62268
Ubuntu:24.04:LTSborgbackupno fix listedUBUNTU-CVE-2026-62268
Ubuntu:26.04:LTSborgbackupno fix listedUBUNTU-CVE-2026-62268
Ubuntu:26.10borgbackupno fix listedUBUNTU-CVE-2026-62268
Ubuntu:24.04:LTSborgbackup2no fix listedUBUNTU-CVE-2026-62268
Ubuntu:26.04:LTSborgbackup2no fix listedUBUNTU-CVE-2026-62268
Ubuntu:26.10borgbackup2no fix listedUBUNTU-CVE-2026-62268

Affected products (as reported)

VendorProductVersions
borgbackup borg < 1.4.5>= 2.0.0b1, < 2.0.0b22

Weakness: CWE-59 · Vector: CVSS:4.0/AV:L/AC:L/AT:P/PR:H/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

References