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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.24 | borgbackup | 1.4.5-r0 | ALPINE-CVE-2026-62268 |
| Debian:12 | borgbackup | no fix listed | DEBIAN-CVE-2026-62268 |
| Debian:13 | borgbackup | no fix listed | DEBIAN-CVE-2026-62268 |
| Debian:14 | borgbackup | 1.4.5-1 | DEBIAN-CVE-2026-62268 |
| Debian:12 | borgbackup2 | no fix listed | DEBIAN-CVE-2026-62268 |
| Debian:13 | borgbackup2 | no fix listed | DEBIAN-CVE-2026-62268 |
| Debian:14 | borgbackup2 | 2.0.0b22-1 | DEBIAN-CVE-2026-62268 |
| PyPI | borgbackup | 1.4.5 | GHSA-gfp8-w835-v44j |
| PyPI | borgbackup | 2.0.0b22 | GHSA-gfp8-w835-v44j |
| Ubuntu:22.04:LTS | borgbackup | no fix listed | UBUNTU-CVE-2026-62268 |
| Ubuntu:24.04:LTS | borgbackup | no fix listed | UBUNTU-CVE-2026-62268 |
| Ubuntu:26.04:LTS | borgbackup | no fix listed | UBUNTU-CVE-2026-62268 |
| Ubuntu:26.10 | borgbackup | no fix listed | UBUNTU-CVE-2026-62268 |
| Ubuntu:24.04:LTS | borgbackup2 | no fix listed | UBUNTU-CVE-2026-62268 |
| Ubuntu:26.04:LTS | borgbackup2 | no fix listed | UBUNTU-CVE-2026-62268 |
| Ubuntu:26.10 | borgbackup2 | no fix listed | UBUNTU-CVE-2026-62268 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| 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
- https://github.com/borgbackup/borg/security/advisories/GHSA-gfp8-w835-v44j x_refsource_CONFIRM
- https://github.com/borgbackup/borg/commit/0ac568e290518c3bbe781459978720dde7fab224 x_refsource_MISC
- https://github.com/borgbackup/borg/commit/141888f2fabcd57a300547c2aa63212cb213924d x_refsource_MISC
- https://github.com/borgbackup/borg/commit/2d632531028b09da8ab5d1450f89bebcc205d640 x_refsource_MISC
- https://github.com/borgbackup/borg/commit/3e9ed6d1ad6d3531b39c07b8ef3ecf41fce4437f x_refsource_MISC
- https://github.com/borgbackup/borg/commit/4f37fdfed10b50559a0dd333b0d5581c642af329 x_refsource_MISC
- https://github.com/borgbackup/borg/commit/d907f2cb57337041c4fa55ca4682895535e5076b x_refsource_MISC
- https://github.com/borgbackup/borg/releases/tag/1.4.5 x_refsource_MISC
- https://github.com/borgbackup/borg/releases/tag/2.0.0b22 x_refsource_MISC