{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "1.4.5"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              },
              {
                "range": [
                  {
                    "introduced": "2.0.0b1"
                  },
                  {
                    "fixed": "2.0.0b22"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              },
              {
                "range": [
                  {
                    "fixed": "0ac568e290518c3bbe781459978720dde7fab224"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "range": [
                  {
                    "fixed": "141888f2fabcd57a300547c2aa63212cb213924d"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "range": [
                  {
                    "fixed": "2d632531028b09da8ab5d1450f89bebcc205d640"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "range": [
                  {
                    "fixed": "3e9ed6d1ad6d3531b39c07b8ef3ecf41fce4437f"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "range": [
                  {
                    "fixed": "4f37fdfed10b50559a0dd333b0d5581c642af329"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "range": [
                  {
                    "fixed": "d907f2cb57337041c4fa55ca4682895535e5076b"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "1.4.5",
                "range": [
                  {
                    "fixed": "1b7d3271d2e59e27c61815ff36a29e06a9767e13"
                  }
                ],
                "source": "REFERENCES_TAG"
              },
              {
                "original_tag": "2.0.0b22",
                "range": [
                  {
                    "fixed": "05aa93444e99076fc30743d3769442a0eefd6f88"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1b7d3271d2e59e27c61815ff36a29e06a9767e13"
            },
            {
              "introduced": "f5b7ae5b30f569566c0e1d83cf5cf5c640f4b932"
            },
            {
              "fixed": "05aa93444e99076fc30743d3769442a0eefd6f88"
            },
            {
              "fixed": "0ac568e290518c3bbe781459978720dde7fab224"
            },
            {
              "fixed": "141888f2fabcd57a300547c2aa63212cb213924d"
            },
            {
              "fixed": "2d632531028b09da8ab5d1450f89bebcc205d640"
            },
            {
              "fixed": "3e9ed6d1ad6d3531b39c07b8ef3ecf41fce4437f"
            },
            {
              "fixed": "4f37fdfed10b50559a0dd333b0d5581c642af329"
            },
            {
              "fixed": "d907f2cb57337041c4fa55ca4682895535e5076b"
            }
          ],
          "repo": "https://github.com/borgbackup/borg",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-gfp8-w835-v44j"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-59"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/62xxx/CVE-2026-62268.json"
  },
  "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.",
  "id": "CVE-2026-62268",
  "modified": "2026-11-14T02:31:00.198684674Z",
  "published": "2026-11-05T20:28:48.031Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/borgbackup/borg/releases/tag/1.4.5"
    },
    {
      "type": "WEB",
      "url": "https://github.com/borgbackup/borg/releases/tag/2.0.0b22"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/62xxx/CVE-2026-62268.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/borgbackup/borg/security/advisories/GHSA-gfp8-w835-v44j"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-62268"
    },
    {
      "type": "FIX",
      "url": "https://github.com/borgbackup/borg/commit/0ac568e290518c3bbe781459978720dde7fab224"
    },
    {
      "type": "FIX",
      "url": "https://github.com/borgbackup/borg/commit/141888f2fabcd57a300547c2aa63212cb213924d"
    },
    {
      "type": "FIX",
      "url": "https://github.com/borgbackup/borg/commit/2d632531028b09da8ab5d1450f89bebcc205d640"
    },
    {
      "type": "FIX",
      "url": "https://github.com/borgbackup/borg/commit/3e9ed6d1ad6d3531b39c07b8ef3ecf41fce4437f"
    },
    {
      "type": "FIX",
      "url": "https://github.com/borgbackup/borg/commit/4f37fdfed10b50559a0dd333b0d5581c642af329"
    },
    {
      "type": "FIX",
      "url": "https://github.com/borgbackup/borg/commit/d907f2cb57337041c4fa55ca4682895535e5076b"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "borg extract might modify out-of-tree files when extracting maliciously crafted archives"
}