CVEfocus › CVE database › CVE-2026-62268

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

CVSS 5.3 MediumEPSS 0.2% (higher than 3% of CVEs)Published 2026-11-05Updated 2026-11-09Assigner: GitHub_M

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.

CWE-59

What to do

Fixed builds are available from Alpine, Debian, PyPI: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

4Fixed
9Fix pending
5Under investigation

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10borgbackupFix pendingUBUNTU-CVE-2026-62268
Ubuntu 26.10borgbackup2Fix pendingUBUNTU-CVE-2026-62268
Ubuntu 26.04borgbackupUnder investigationUBUNTU-CVE-2026-62268
Ubuntu 26.04borgbackup2Under investigationUBUNTU-CVE-2026-62268
Ubuntu 24.04borgbackupUnder investigationUBUNTU-CVE-2026-62268
Ubuntu 24.04borgbackup2Under investigationUBUNTU-CVE-2026-62268
Ubuntu 22.04borgbackupUnder investigationUBUNTU-CVE-2026-62268
Ubuntu 20.04borgbackupFix pendingUBUNTU-CVE-2026-62268
Ubuntu 18.04borgbackupFix pendingUBUNTU-CVE-2026-62268
Ubuntu 16.04borgbackupFix pendingUBUNTU-CVE-2026-62268
Debian 14borgbackupFixed1.4.5-1DEBIAN-CVE-2026-62268
Debian 14borgbackup2Fixed2.0.0b22-1DEBIAN-CVE-2026-62268
Debian 13borgbackupFix pendingDEBIAN-CVE-2026-62268
Debian 13borgbackup2Fix pendingDEBIAN-CVE-2026-62268
Debian 12borgbackupFix pendingDEBIAN-CVE-2026-62268
Debian 12borgbackup2Fix pendingDEBIAN-CVE-2026-62268
Alpine Linux 3.24borgbackupFixed1.4.5-r0ALPINE-CVE-2026-62268
PyPI libraryborgbackupFixed2.0.0b22GHSA-gfp8-w835-v44j

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.