CVE-2026-62268

Source
https://cve.org/CVERecord?id=CVE-2026-62268
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-62268.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2026-62268
Aliases
Downstream
Published
2026-11-05T20:28:48Z
Modified
2026-11-07T02:48:41Z
Severity
  • 5.3 (Medium) CVSS_V4 - 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 CVSS Calculator
Summary
borg extract might modify out-of-tree files when extracting maliciously crafted archives
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.

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"
}
References

Affected packages

Git / github.com/borgbackup/borg

Affected ranges

Type
GIT
Repo
https://github.com/borgbackup/borg
Events
Database specific
Show details
{
    "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"
        }
    ]
}

Affected versions

0.*
0.10
0.11
0.12
0.13
0.14
0.23.0
0.24.0
0.25.0
0.26.0
0.26.1
0.27.0
0.28.0
0.28.1
0.28.2
0.29.0
0.30.0
0.6
0.6.1
0.7
0.8
0.8.1
0.9
1.*
1.0.0
1.0.0rc1
1.0.0rc2
1.1.0.dev0
1.1.0b1
1.1.dev0
1.2.0
1.2.0dev0
1.2.5-cvedocs
1.3.0dev0
1.4.0dev0
2.*
2.0.0.dev0

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-62268.json"