borg extract might modify out-of-tree files when extracting maliciously crafted archives
Summary
| CVE | CVE-2026-62268 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-05 21:18:52 UTC |
| Updated | 2026-11-05 21:18:52 UTC |
| 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. |
Risk And Classification
Primary CVSS: v4.0 5.3 MEDIUM from [email protected]
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
Problem Types: CWE-59 | CWE-59 CWE-59: Improper Link Resolution Before File Access ('Link Following')
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 4.0 | [email protected] | Secondary | 5.3 | MEDIUM | 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/C... |
| 4.0 | CNA | DECLARED | 5.3 | MEDIUM | 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 |
CVSS v4.0 Breakdown
Attack Vector
LocalAttack Complexity
LowAttack Requirements
PresentPrivileges Required
HighUser Interaction
ActiveConfidentiality
HighIntegrity
HighAvailability
NoneSub Conf.
NoneSub Integrity
NoneSub Availability
NoneCVSS: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
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Borgbackup | Borg | affected < 1.4.5 | Not specified |
| CNA | Borgbackup | Borg | affected >= 2.0.0b1, < 2.0.0b22 | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/borgbackup/borg/commit/4f37fdfed10b50559a0dd333b0d5581c642af329 | [email protected] | github.com | |
| github.com/borgbackup/borg/security/advisories/GHSA-gfp8-w835-v44j | [email protected] | github.com | |
| github.com/borgbackup/borg/commit/3e9ed6d1ad6d3531b39c07b8ef3ecf41fce4437f | [email protected] | github.com | |
| github.com/borgbackup/borg/commit/0ac568e290518c3bbe781459978720dde7fab224 | [email protected] | github.com | |
| github.com/borgbackup/borg/releases/tag/1.4.5 | [email protected] | github.com | |
| github.com/borgbackup/borg/commit/d907f2cb57337041c4fa55ca4682895535e5076b | [email protected] | github.com | |
| github.com/borgbackup/borg/releases/tag/2.0.0b22 | [email protected] | github.com | |
| github.com/borgbackup/borg/commit/141888f2fabcd57a300547c2aa63212cb213924d | [email protected] | github.com | |
| github.com/borgbackup/borg/commit/2d632531028b09da8ab5d1450f89bebcc205d640 | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.