cvelo
P3 · MediumCVSS 5.3EPSS 0.2%

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

  • CVE-2026-62268
  • GHSA-gfp8-w835-v44j
  • EUVD-2026-117789

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.

Text from the CVE.org record.

Affected

  • borgbackup borg

    • < 1.4.5
    • >= 2.0.0b1, < 2.0.0b22
  • borgbackupPyPI

    • all versions, fixed in 1.4.5
    • from 2.0.0b1, fixed in 2.0.0b22

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.