# CVE-2026-62268: borg extract might modify out-of-tree files when extracting maliciously crafted archives

- Severity: Medium 5.3 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 5% of CVEs (2026-12-01)
- Published: 2026-10-15T20:09:23.000Z
- Modified: 2026-11-12T22:18:51.470Z
- Also known as: GHSA-gfp8-w835-v44j
- Weaknesses: CWE-59
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- borgbackup borg: < 1.4.5; >= 2.0.0b1, < 2.0.0b22
- borgbackup (PyPI): before 1.4.5; from 2.0.0b1 before 2.0.0b22

## Every score

- GitHub_M: CVSS: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`
- GitHub: CVSS:4.0 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`

## References

- <https://github.com/borgbackup/borg/security/advisories/GHSA-gfp8-w835-v44j> (web)
- <https://github.com/borgbackup/borg/commit/0ac568e290518c3bbe781459978720dde7fab224> (web)
- <https://github.com/borgbackup/borg/commit/141888f2fabcd57a300547c2aa63212cb213924d> (web)
- <https://github.com/borgbackup/borg/commit/2d632531028b09da8ab5d1450f89bebcc205d640> (web)
- <https://github.com/borgbackup/borg/commit/3e9ed6d1ad6d3531b39c07b8ef3ecf41fce4437f> (web)
- <https://github.com/borgbackup/borg/commit/4f37fdfed10b50559a0dd333b0d5581c642af329> (web)
- <https://github.com/borgbackup/borg/commit/d907f2cb57337041c4fa55ca4682895535e5076b> (web)
- <https://github.com/borgbackup/borg/releases/tag/1.4.5> (web)
- <https://github.com/borgbackup/borg/releases/tag/2.0.0b22> (web)
- <https://github.com/borgbackup/borg> (package)

## Sources

- CVE List: [CVE-2026-62268](https://www.cve.org/CVERecord?id=CVE-2026-62268), CVE Terms of Use, modified 2026-11-09
- GitHub Advisory Database: [GHSA-gfp8-w835-v44j](https://github.com/advisories/GHSA-gfp8-w835-v44j), CC-BY-4.0, modified 2026-10-15
- NVD: [CVE-2026-62268](https://nvd.nist.gov/vuln/detail/CVE-2026-62268), Public domain, modified 2026-11-12

---

Page: https://cve.day/CVE-2026-62268 · Whole record: https://cve.day/CVE-2026-62268.json · Rebuilt by cve.day 2026-11-25T22:59:49.188Z
