Public vulnerability disclosure

CVE-2026-62268

borg extract might modify out-of-tree files when extracting maliciously crafted archives

publishedCWE-59

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.

Technical severity5.3 mediumCVSS 4.0 · CNA: GitHub_M
Published2026-11-05Source updated 2026-11-09
Collected2026-11-105 attributed sources

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-v44j

Fix

borgbackup (PyPI): OSV reports a fixed version 1.4.5. Check the advisory for supported release branches.

Source: OSV GHSA-gfp8-w835-v44j

Fix

borgbackup (PyPI): OSV reports a fixed version 2.0.0b22. Check the advisory for supported release branches.

Source: OSV GHSA-gfp8-w835-v44j

Affected products and versions

Affected products, source version ranges and reporting authorities
ProductVersionsAuthority
borg
borgbackup
< 1.4.5 (affected)
>= 2.0.0b1, < 2.0.0b22 (affected)
CNA: GitHub_M
borgbackup

borgbackup
pip
< 1.4.5 (affected, GitHub advisory range) GitHub GHSA-gfp8-w835-v44j
borgbackup

borgbackup
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)
[
  {
    "introduced": "0"
  },
  {
    "fixed": "1.4.5"
  }
]

Other versions: unaffected
OSV GHSA-gfp8-w835-v44j
borgbackup

borgbackup
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)
[
  {
    "introduced": "2.0.0b1"
  },
  {
    "fixed": "2.0.0b22"
  }
]

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

CVSS scores, vectors and reporting authorities
Version / scoreVectorAuthority
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:NCNA: 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:XNVD: [email protected]

Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

References

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/cves
https://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.

Agent access JSON · OpenAPI · CVE API guide