{"id":"CVE-2026-62268","published":"2026-11-05T20:28:48Z","modified":"2026-11-09T22:53:59Z","title":"borg extract might modify out-of-tree files when extracting maliciously crafted archives","vendor":"borgbackup","product":"borg","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00159,"percentile":0.0512,"provenance":"source"},"cwes":[{"id":"CWE-59","name":"Improper Link Resolution Before File Access"}],"references":[{"url":"https://github.com/borgbackup/borg/security/advisories/GHSA-gfp8-w835-v44j","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/borgbackup/borg/commit/0ac568e290518c3bbe781459978720dde7fab224","tags":["x_refsource_MISC"]},{"url":"https://github.com/borgbackup/borg/commit/141888f2fabcd57a300547c2aa63212cb213924d","tags":["x_refsource_MISC"]},{"url":"https://github.com/borgbackup/borg/commit/2d632531028b09da8ab5d1450f89bebcc205d640","tags":["x_refsource_MISC"]},{"url":"https://github.com/borgbackup/borg/commit/3e9ed6d1ad6d3531b39c07b8ef3ecf41fce4437f","tags":["x_refsource_MISC"]},{"url":"https://github.com/borgbackup/borg/commit/4f37fdfed10b50559a0dd333b0d5581c642af329","tags":["x_refsource_MISC"]},{"url":"https://github.com/borgbackup/borg/commit/d907f2cb57337041c4fa55ca4682895535e5076b","tags":["x_refsource_MISC"]},{"url":"https://github.com/borgbackup/borg/releases/tag/1.4.5","tags":["x_refsource_MISC"]},{"url":"https://github.com/borgbackup/borg/releases/tag/2.0.0b22","tags":["x_refsource_MISC"]}],"priority":{"score":4.7,"factors":[{"name":"EPSS percentile","points":1.02},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"borgbackup","affectedVersions":[{"vendor":"borgbackup","product":"borg","versions":["< 1.4.5",">= 2.0.0b1, < 2.0.0b22"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-11-09T22:53:46.813570Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"borgbackup","vulnerableRanges":["<1.4.5",">=2.0.0b1, <2.0.0b22"],"patched":["1.4.5","2.0.0b22"],"from":["GHSA-gfp8-w835-v44j"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-117789","exploited":false,"provenance":"source"}}