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

Status: published. Published: 2026-11-05. Updated: 2026-11-09.

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.

## Remediation

- fix: borgbackup (pip): GitHub reports patched versions 1.4.5. Check the advisory for the affected release branch. (source: GitHub GHSA-gfp8-w835-v44j) — https://github.com/borgbackup/borg/security/advisories/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) — https://github.com/advisories/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) — https://github.com/advisories/GHSA-gfp8-w835-v44j

## Affected products and versions

- borgbackup / borg: < 1.4.5 (affected); >= 2.0.0b1, < 2.0.0b22 (affected). Source: CNA: GitHub_M
-  / borgbackup (borgbackup): < 1.4.5 (affected, GitHub advisory range). Source: GitHub GHSA-gfp8-w835-v44j
-  / borgbackup (borgbackup): 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: OSV GHSA-gfp8-w835-v44j
-  / borgbackup (borgbackup): 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: OSV GHSA-gfp8-w835-v44j

## Severity and prioritization

- 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; source: CNA: 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/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:X; source: NVD: security-advisories@github.com

- CISA KEV: No listing in collected sources

- EPSS: 0.16% as of 2026-11-09; percentile 5.03%

- SSVC: exploitation none; automatable no; technical impact partial; source ADP: CISA-ADP

- Weaknesses: CWE-59

## Exploit evidence

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

## References

- https://github.com/borgbackup/borg/security/advisories/GHSA-gfp8-w835-v44j (CNA: GitHub_M; x_refsource_CONFIRM)

- https://github.com/borgbackup/borg/commit/0ac568e290518c3bbe781459978720dde7fab224 (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/borgbackup/borg/commit/141888f2fabcd57a300547c2aa63212cb213924d (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/borgbackup/borg/commit/2d632531028b09da8ab5d1450f89bebcc205d640 (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/borgbackup/borg/commit/3e9ed6d1ad6d3531b39c07b8ef3ecf41fce4437f (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/borgbackup/borg/commit/4f37fdfed10b50559a0dd333b0d5581c642af329 (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/borgbackup/borg/commit/d907f2cb57337041c4fa55ca4682895535e5076b (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/borgbackup/borg/releases/tag/1.4.5 (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/borgbackup/borg/releases/tag/2.0.0b22 (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/borgbackup/borg/commit/0ac568e290518c3bbe781459978720dde7fab224 (security-advisories@github.com)

- https://github.com/borgbackup/borg/commit/141888f2fabcd57a300547c2aa63212cb213924d (security-advisories@github.com)

- https://github.com/borgbackup/borg/commit/2d632531028b09da8ab5d1450f89bebcc205d640 (security-advisories@github.com)

- https://github.com/borgbackup/borg/commit/3e9ed6d1ad6d3531b39c07b8ef3ecf41fce4437f (security-advisories@github.com)

- https://github.com/borgbackup/borg/commit/4f37fdfed10b50559a0dd333b0d5581c642af329 (security-advisories@github.com)

- https://github.com/borgbackup/borg/commit/d907f2cb57337041c4fa55ca4682895535e5076b (security-advisories@github.com)

- https://github.com/borgbackup/borg/releases/tag/1.4.5 (security-advisories@github.com)

- https://github.com/borgbackup/borg/releases/tag/2.0.0b22 (security-advisories@github.com)

- https://github.com/borgbackup/borg/security/advisories/GHSA-gfp8-w835-v44j (security-advisories@github.com)

- https://github.com/borgbackup/borg/security/advisories/GHSA-gfp8-w835-v44j (GitHub Security Advisories; advisory)

- https://github.com/advisories/GHSA-gfp8-w835-v44j (OSV / GitHub Security Advisories; advisory)

- https://osv.dev/vulnerability/GHSA-gfp8-w835-v44j (OSV / GitHub Security Advisories; osv)

## Provenance

- CNA: GitHub_M: https://www.cve.org/CVERecord?id=CVE-2026-62268; retrieved 2026-11-09; source updated 2026-11-09

- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-62268; retrieved 2026-11-10; source updated 2026-11-09

- GitHub Security Advisories: https://github.com/borgbackup/borg/security/advisories/GHSA-gfp8-w835-v44j; retrieved 2026-11-07; source updated 2026-08-26

- OSV / GitHub Security Advisories: https://osv.dev/vulnerability/GHSA-gfp8-w835-v44j; retrieved 2026-11-05; source updated 2026-10-15

- FIRST EPSS: https://api.first.org/data/v1/epss?cve=CVE-2026-62268; retrieved 2026-11-09; source updated Not reported

Revision: 6d5537de47daee2b5e46157b445643d1a452131dd5825dbb65d9140bd683838c

Canonical: https://y2.dev/cve/CVE-2026-62268

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.