CVE-2026-62268
MEDIUM 5.3CVSS 4.0borg extract might modify out-of-tree files when extracting maliciously crafted archives
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.
- Published
- 5 Nov 2026
- Last modified
- 12 Nov 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-59
- Also known as
- GHSA-gfp8-w835-v44j
- Sources
- NVDJSONOSV GHSA-gfp8-w835-v44jJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | MEDIUM 5.3 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | 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 |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | borgbackup | < 1.4.5 | 1.4.5 |
| OSV | PyPI | borgbackup | >= 2.0.0b1, < 2.0.0b22 | 2.0.0b22 |
References
- https://github.com/borgbackup/borg/commit/0ac568e290518c3bbe781459978720dde7fab224 · WEB
- https://github.com/borgbackup/borg/commit/141888f2fabcd57a300547c2aa63212cb213924d · WEB
- https://github.com/borgbackup/borg/commit/2d632531028b09da8ab5d1450f89bebcc205d640 · WEB
- https://github.com/borgbackup/borg/commit/3e9ed6d1ad6d3531b39c07b8ef3ecf41fce4437f · WEB
- https://github.com/borgbackup/borg/commit/4f37fdfed10b50559a0dd333b0d5581c642af329 · WEB
- https://github.com/borgbackup/borg/commit/d907f2cb57337041c4fa55ca4682895535e5076b · WEB
- https://github.com/borgbackup/borg/releases/tag/1.4.5 · WEB
- https://github.com/borgbackup/borg/releases/tag/2.0.0b22 · WEB
- https://github.com/borgbackup/borg/security/advisories/GHSA-gfp8-w835-v44j · WEB
- https://github.com/borgbackup/borg · PACKAGE
History
- 25 Nov 2026 21:23 UTC · NVD: first stored (published 5 Nov 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 15 Oct 2026)