Shellfeed logo Shellfeed

CVE-2026-62268 · MEDIUM

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

EPSS: 0.2% probability of exploitation in the next 30 days (percentile 5.1).

Details

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.

Severity

MEDIUM — vector 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 packages

  • PyPI borgbackup [0 – 1.4.5]
  • PyPI borgbackup [2.0.0b1 – 2.0.0b22]
  • GIT github.com/borgbackup/borg [0 – 1b7d3271d2e59e27c61815ff36a29e06a9767e13] [f5b7ae5b30f569566c0e1d83cf5cf5c640f4b932 – 05aa93444e99076fc30743d3769442a0eefd6f88]

References

Posts about CVE-2026-62268