CVE-2026-62268
published medium CVSS 4.0 · 5.3borg extract might modify out-of-tree files when extracting maliciously crafted archives
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| borgbackup | — | borg< 1.4.5 · >= 2.0.0b1, < 2.0.0b22 | Affected | Not stated | GitHub_M |
| Alpine Linux | edge | borgbackup | Fixed | 1.4.5-r0 | Package fix record |
| Alpine Linux | v3.24 | borgbackup | Fixed | 1.4.5-r0 | Package fix record |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| borgbackup | borg | < 1.4.5 (affected)>= 2.0.0b1, < 2.0.0b22 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-59 CWE-59: Improper Link Resolution Before File Access ('Link Following')
References
9- https://github.com/borgbackup/borg/commit/0ac568e290518c3bbe781459978720dde7fab224
- https://github.com/borgbackup/borg/commit/141888f2fabcd57a300547c2aa63212cb213924d
- https://github.com/borgbackup/borg/commit/2d632531028b09da8ab5d1450f89bebcc205d640
- https://github.com/borgbackup/borg/commit/3e9ed6d1ad6d3531b39c07b8ef3ecf41fce4437f
- https://github.com/borgbackup/borg/commit/4f37fdfed10b50559a0dd333b0d5581c642af329
- https://github.com/borgbackup/borg/commit/d907f2cb57337041c4fa55ca4682895535e5076b
- https://github.com/borgbackup/borg/releases/tag/1.4.5
- https://github.com/borgbackup/borg/releases/tag/2.0.0b22
- https://github.com/borgbackup/borg/security/advisories/GHSA-gfp8-w835-v44j
Provider assertions
2GitHub_M · cna
borg extract might modify out-of-tree files when extracting maliciously crafted archives
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c05be45d714a14f8d4c3e9c219dbdf8cc7932e2b79e85b225d07a55f9866faf9
- Ingested
- 09 Nov 2026, 23:03:13 UTC
- Source record
- Official CVE record