CVE-2026-62268
borg 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.
Fixes and workarounds
Fix
borgbackup (pip): GitHub reports patched versions 1.4.5. Check the advisory for the affected release branch.
Source: GitHub GHSA-gfp8-w835-v44jFix
borgbackup (PyPI): OSV reports a fixed version 1.4.5. Check the advisory for supported release branches.
Source: OSV GHSA-gfp8-w835-v44jFix
borgbackup (PyPI): OSV reports a fixed version 2.0.0b22. Check the advisory for supported release branches.
Source: OSV GHSA-gfp8-w835-v44jAffected products and versions
| Product | Versions | Authority |
|---|---|---|
| borg borgbackup |
< 1.4.5 (affected) >= 2.0.0b1, < 2.0.0b22 (affected) |
CNA: GitHub_M |
borgbackupborgbackup
pip |
< 1.4.5 (affected, GitHub advisory range) | GitHub GHSA-gfp8-w835-v44j |
borgbackupborgbackup
PyPI |
0.23.0 (affected, PyPI) 0.24.0 (affected, PyPI) 0.25.0 (affected, PyPI) 0.26.0 (affected, PyPI) 0.26.1 (affected, PyPI) 0.27.0 (affected, PyPI) 0.28.0 (affected, PyPI) 0.28.1 (affected, PyPI) 0.28.2 (affected, PyPI) 0.29.0 (affected, PyPI) 0.30.0 (affected, PyPI) 0.30.1 (affected, PyPI) 1.0.0 (affected, PyPI) 1.0.0rc1 (affected, PyPI) 1.0.0rc2 (affected, PyPI) 1.0.1 (affected, PyPI) 1.0.10 (affected, PyPI) 1.0.10rc1 (affected, PyPI) 1.0.11 (affected, PyPI) 1.0.11rc1 (affected, PyPI) 1.0.12 (affected, PyPI) 1.0.13 (affected, PyPI) 1.0.2 (affected, PyPI) 1.0.3 (affected, PyPI) 1.0.4 (affected, PyPI) 1.0.5 (affected, PyPI) 1.0.6 (affected, PyPI) 1.0.6rc1 (affected, PyPI) 1.0.7 (affected, PyPI) 1.0.7rc1 (affected, PyPI) 1.0.7rc2 (affected, PyPI) 1.0.8 (affected, PyPI) 1.0.8rc1 (affected, PyPI) 1.0.9 (affected, PyPI) 1.0.9rc1 (affected, PyPI) 1.1.0 (affected, PyPI) 1.1.0b1 (affected, PyPI) 1.1.0b2 (affected, PyPI) 1.1.0b3 (affected, PyPI) 1.1.0b4 (affected, PyPI) 1.1.0b5 (affected, PyPI) 1.1.0b6 (affected, PyPI) 1.1.0rc1 (affected, PyPI) 1.1.0rc2 (affected, PyPI) 1.1.0rc3 (affected, PyPI) 1.1.0rc4 (affected, PyPI) 1.1.1 (affected, PyPI) 1.1.10 (affected, PyPI) 1.1.11 (affected, PyPI) 1.1.12 (affected, PyPI) 1.1.13 (affected, PyPI) 1.1.14 (affected, PyPI) 1.1.15 (affected, PyPI) 1.1.16 (affected, PyPI) 1.1.17 (affected, PyPI) 1.1.18 (affected, PyPI) 1.1.2 (affected, PyPI) 1.1.3 (affected, PyPI) 1.1.4 (affected, PyPI) 1.1.5 (affected, PyPI) 1.1.6 (affected, PyPI) 1.1.7 (affected, PyPI) 1.1.8 (affected, PyPI) 1.1.9 (affected, PyPI) 1.2.0 (affected, PyPI) 1.2.0a2 (affected, PyPI) 1.2.0a3 (affected, PyPI) 1.2.0a4 (affected, PyPI) 1.2.0a5 (affected, PyPI) 1.2.0a6 (affected, PyPI) 1.2.0a7 (affected, PyPI) 1.2.0a8 (affected, PyPI) 1.2.0a9 (affected, PyPI) 1.2.0b1 (affected, PyPI) 1.2.0b2 (affected, PyPI) 1.2.0b3 (affected, PyPI) 1.2.0b4 (affected, PyPI) 1.2.0rc1 (affected, PyPI) 1.2.1 (affected, PyPI) 1.2.2 (affected, PyPI) 1.2.3 (affected, PyPI) 1.2.4 (affected, PyPI) 1.2.5 (affected, PyPI) 1.2.6 (affected, PyPI) 1.2.7 (affected, PyPI) 1.2.8 (affected, PyPI) 1.2.9 (affected, PyPI) 1.3.0a1 (affected, PyPI) 1.4.0 (affected, PyPI) 1.4.0a1 (affected, PyPI) 1.4.0b1 (affected, PyPI) 1.4.0b2 (affected, PyPI) 1.4.0rc1 (affected, PyPI) 1.4.1 (affected, PyPI) 1.4.2 (affected, PyPI) 1.4.3 (affected, PyPI) 1.4.4 (affected, PyPI) Ecosystem version events: introduced 0; fixed 1.4.5 Source events (ECOSYSTEM)
Other versions: unaffected |
OSV GHSA-gfp8-w835-v44j |
borgbackupborgbackup
PyPI |
2.0.0b1 (affected, PyPI) 2.0.0b10 (affected, PyPI) 2.0.0b11 (affected, PyPI) 2.0.0b12 (affected, PyPI) 2.0.0b13 (affected, PyPI) 2.0.0b14 (affected, PyPI) 2.0.0b15 (affected, PyPI) 2.0.0b16 (affected, PyPI) 2.0.0b17 (affected, PyPI) 2.0.0b18 (affected, PyPI) 2.0.0b19 (affected, PyPI) 2.0.0b2 (affected, PyPI) 2.0.0b20 (affected, PyPI) 2.0.0b21 (affected, PyPI) 2.0.0b3 (affected, PyPI) 2.0.0b4 (affected, PyPI) 2.0.0b5 (affected, PyPI) 2.0.0b6 (affected, PyPI) 2.0.0b7 (affected, PyPI) 2.0.0b8 (affected, PyPI) 2.0.0b9 (affected, PyPI) Ecosystem version events: introduced 2.0.0b1; fixed 2.0.0b22 Source events (ECOSYSTEM)
Other versions: unaffected |
OSV GHSA-gfp8-w835-v44j |
Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.
CVSS assessments
| Version / score | Vector | Authority |
|---|---|---|
| 4.0 / 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 | CNA: GitHub_M |
| 4.0 / 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/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 | NVD: [email protected] |
Exploit evidence
No exploit evidence in collected sources. This is not proof of no exploitation.
References
- https://github.com/borgbackup/borg/security/advisories/GHSA-gfp8-w835-v44jCNA: GitHub_M · x_refsource_CONFIRM
- https://github.com/borgbackup/borg/commit/0ac568e290518c3bbe781459978720dde7fab224CNA: GitHub_M · x_refsource_MISC
- https://github.com/borgbackup/borg/commit/141888f2fabcd57a300547c2aa63212cb213924dCNA: GitHub_M · x_refsource_MISC
- https://github.com/borgbackup/borg/commit/2d632531028b09da8ab5d1450f89bebcc205d640CNA: GitHub_M · x_refsource_MISC
- https://github.com/borgbackup/borg/commit/3e9ed6d1ad6d3531b39c07b8ef3ecf41fce4437fCNA: GitHub_M · x_refsource_MISC
- https://github.com/borgbackup/borg/commit/4f37fdfed10b50559a0dd333b0d5581c642af329CNA: GitHub_M · x_refsource_MISC
- https://github.com/borgbackup/borg/commit/d907f2cb57337041c4fa55ca4682895535e5076bCNA: GitHub_M · x_refsource_MISC
- https://github.com/borgbackup/borg/releases/tag/1.4.5CNA: GitHub_M · x_refsource_MISC
- https://github.com/borgbackup/borg/releases/tag/2.0.0b22CNA: GitHub_M · x_refsource_MISC
- https://github.com/borgbackup/borg/commit/0ac568e290518c3bbe781459978720dde7fab224[email protected]
- https://github.com/borgbackup/borg/commit/141888f2fabcd57a300547c2aa63212cb213924d[email protected]
- https://github.com/borgbackup/borg/commit/2d632531028b09da8ab5d1450f89bebcc205d640[email protected]
- https://github.com/borgbackup/borg/commit/3e9ed6d1ad6d3531b39c07b8ef3ecf41fce4437f[email protected]
- https://github.com/borgbackup/borg/commit/4f37fdfed10b50559a0dd333b0d5581c642af329[email protected]
- https://github.com/borgbackup/borg/commit/d907f2cb57337041c4fa55ca4682895535e5076b[email protected]
- https://github.com/borgbackup/borg/releases/tag/1.4.5[email protected]
- https://github.com/borgbackup/borg/releases/tag/2.0.0b22[email protected]
- https://github.com/borgbackup/borg/security/advisories/GHSA-gfp8-w835-v44j[email protected]
- https://github.com/borgbackup/borg/security/advisories/GHSA-gfp8-w835-v44jGitHub Security Advisories · advisory
- https://github.com/advisories/GHSA-gfp8-w835-v44jOSV / GitHub Security Advisories · advisory
- https://osv.dev/vulnerability/GHSA-gfp8-w835-v44jOSV / GitHub Security Advisories · osv
For agents and automation
Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.
Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.
Endpoints and access details
https://api.y2.dev/api/v2/cyber/cveshttps://api.y2.dev/api/v2/cyber/cves/{cveId}
A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.
For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.