Search

Find a vulnerability

Search criteria ⓘ Use this form to refine search results.
Full-text search supports keyword queries with ranking and filtering.
You can combine vendor, product, and sources to narrow results.
Enable “Apply ordering” to sort by date instead of relevance.

    Related vulnerabilities

    GHSA-GFP8-W835-V44J

    Vulnerability from github – Published: 2026-10-15 20:09 – Updated: 2026-10-15 20:09
    VLAI
    Summary
    borg extract might modify out-of-tree files when extracting maliciously crafted archives
    Details

    Impact

    A maliciously crafted archive could contain a symlink (e.g. "evil" -> "/etc") followed by an item below it ("evil/passwd"), or an item whose path embeds ".." (e.g. "a/../../etc/passwd").

    When extracting such items, borg followed the symlink / resolved the "..", so it could delete or overwrite files outside the extraction directory.

    In a quite similar scenario, a crafted archive could contain a slave hardlink item with the hardlink source pointing outside the extraction directory.

    When extracting such an item, borg would hard-link the outside and the inside item.

    Note: that sounds bad, but it is no big issue in practice: to create such a malicious archive, the attacker would need repository access and (for encrypted or authenticated repos) also the borg key and passphrase.

    Affected: likely all borg releases before 1.4.5 (and also all borg 2.0.0 betas before b22).

    Patches

    • 1.4.x release series: fix released with 1.4.5. commits 3e9ed6d1ad6d3531b39c07b8ef3ecf41fce4437f and 141888f2fabcd57a300547c2aa63212cb213924d.
    • 1.2.x release series: no new releases any more, fix commits available on 1.2-maint branch: 0ac568e290518c3bbe781459978720dde7fab224 and d907f2cb57337041c4fa55ca4682895535e5076b
    • 2.0.0 betas: fix will be in 2.0.0b22, fix commits on master branch: 2d632531028b09da8ab5d1450f89bebcc205d640 and 4f37fdfed10b50559a0dd333b0d5581c642af329

    Workarounds

    For encrypted or authenticated repositories, do not share borg key and passphrase with potential attackers.

    For all kinds of repositories, do not share repository access with potential attackers. Usually, the repository access is protected by means outside of borg; e.g. a ssh key for remote repositories or physical access to local storage media.

    References

    This issue was first discovered by AI in a private code security review initiated by @ThomasWaldmann.

    A few days later, it was also independently reported to @ThomasWaldmann by: - Michael Head (machin0r) - Chinnapak Charoensiri [Github: Ziim-eiei].

    Show details on source website

    {
      "affected": [
        {
          "package": {
            "ecosystem": "PyPI",
            "name": "borgbackup"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.4.5"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ]
        },
        {
          "package": {
            "ecosystem": "PyPI",
            "name": "borgbackup"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "2.0.0b1"
                },
                {
                  "fixed": "2.0.0b22"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ]
        }
      ],
      "aliases": [
        "CVE-2026-62268"
      ],
      "database_specific": {
        "cwe_ids": [
          "CWE-59"
        ],
        "github_reviewed": true,
        "github_reviewed_at": "2026-10-15T20:09:23Z",
        "nvd_published_at": null,
        "severity": "MODERATE"
      },
      "details": "### Impact\n\nA maliciously crafted archive could contain a symlink (e.g. \"evil\" -\u003e \"/etc\") followed by an item below it (\"evil/passwd\"), or an item whose path embeds \"..\" (e.g. \"a/../../etc/passwd\").\n\nWhen extracting such items, borg followed the symlink / resolved the \"..\", so it could delete or overwrite files outside the extraction directory.\n\nIn a quite similar scenario, a crafted archive could contain a slave hardlink item with the hardlink source pointing outside the extraction directory.\n\nWhen extracting such an item, borg would hard-link the outside and the inside item.\n    \nNote: that sounds bad, but it is no big issue in practice: to create such a malicious archive, the attacker would need repository access and (for encrypted or authenticated repos) also the borg key and passphrase.\n\nAffected: likely all borg releases before 1.4.5 (and also all borg 2.0.0 betas before b22).\n\n### Patches\n- 1.4.x release series: fix released with 1.4.5. commits 3e9ed6d1ad6d3531b39c07b8ef3ecf41fce4437f and 141888f2fabcd57a300547c2aa63212cb213924d.\n- 1.2.x release series: no new releases any more, fix commits available on 1.2-maint branch: 0ac568e290518c3bbe781459978720dde7fab224 and d907f2cb57337041c4fa55ca4682895535e5076b\n- 2.0.0 betas: fix will be in 2.0.0b22, fix commits on master branch: 2d632531028b09da8ab5d1450f89bebcc205d640 and 4f37fdfed10b50559a0dd333b0d5581c642af329\n\n### Workarounds\nFor encrypted or authenticated repositories, do not share borg key and passphrase with potential attackers.\n\nFor all kinds of repositories, do not share repository access with potential attackers. Usually, the repository access is protected by means outside of borg; e.g. a ssh key for remote repositories or physical access to local storage media.\n\n### References\nThis issue was first discovered by AI in a private code security review initiated by @ThomasWaldmann.\n\nA few days later, it was also independently reported to @ThomasWaldmann by:\n- Michael Head (machin0r)\n- Chinnapak Charoensiri [Github: Ziim-eiei].",
      "id": "GHSA-gfp8-w835-v44j",
      "modified": "2026-10-15T20:09:23Z",
      "published": "2026-10-15T20:09:23Z",
      "references": [
        {
          "type": "WEB",
          "url": "https://github.com/borgbackup/borg/security/advisories/GHSA-gfp8-w835-v44j"
        },
        {
          "type": "WEB",
          "url": "https://github.com/borgbackup/borg/commit/0ac568e290518c3bbe781459978720dde7fab224"
        },
        {
          "type": "WEB",
          "url": "https://github.com/borgbackup/borg/commit/141888f2fabcd57a300547c2aa63212cb213924d"
        },
        {
          "type": "WEB",
          "url": "https://github.com/borgbackup/borg/commit/2d632531028b09da8ab5d1450f89bebcc205d640"
        },
        {
          "type": "WEB",
          "url": "https://github.com/borgbackup/borg/commit/3e9ed6d1ad6d3531b39c07b8ef3ecf41fce4437f"
        },
        {
          "type": "WEB",
          "url": "https://github.com/borgbackup/borg/commit/4f37fdfed10b50559a0dd333b0d5581c642af329"
        },
        {
          "type": "WEB",
          "url": "https://github.com/borgbackup/borg/commit/d907f2cb57337041c4fa55ca4682895535e5076b"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/borgbackup/borg"
        },
        {
          "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"
        }
      ],
      "schema_version": "1.4.0",
      "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"
    }

    UBUNTU-CVE-2026-62268 (CVE-2026-62268)

    Vulnerability from osv_ubuntu – Published: 2026-07-31 00:00 – Updated: 2026-07-31 00:00 – Source website
    VLAI
    Details

    [Unknown description]

    Severity
    N/A (UNKNOWN)

    {
      "affected": [
        {
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "borgbackup",
                "binary_version": "1.0.13-0ubuntu1.16.04.1"
              }
            ]
          },
          "package": {
            "ecosystem": "Ubuntu:16.04:LTS",
            "name": "borgbackup",
            "purl": "pkg:deb/ubuntu/borgbackup@1.0.13-0ubuntu1.16.04.1?arch=source\u0026distro=xenial"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ],
          "versions": [
            "0.28.1-1",
            "0.28.1-2",
            "0.28.2-1",
            "0.28.2-2",
            "0.29.0-1",
            "0.29.0-2",
            "0.29.0-3",
            "0.29.0-4",
            "0.30.0-1",
            "1.0.0~rc1-1",
            "1.0.0~rc1-2",
            "1.0.0~rc1-3",
            "1.0.0~rc2-1",
            "1.0.0~rc2-3",
            "1.0.0-1",
            "1.0.0-2",
            "1.0.0-3",
            "1.0.0-4",
            "1.0.1-1",
            "1.0.2-1",
            "1.0.7-0ubuntu1.16.04.1",
            "1.0.11-0ubuntu1.16.04.2",
            "1.0.12-0ubuntu1.16.04.1",
            "1.0.13-0ubuntu1.16.04.1"
          ]
        },
        {
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "borgbackup",
                "binary_version": "1.1.15-1~ubuntu1.18.04.2"
              }
            ]
          },
          "package": {
            "ecosystem": "Ubuntu:18.04:LTS",
            "name": "borgbackup",
            "purl": "pkg:deb/ubuntu/borgbackup@1.1.15-1~ubuntu1.18.04.2?arch=source\u0026distro=bionic"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ],
          "versions": [
            "1.0.11-4",
            "1.1.2-3",
            "1.1.2-4",
            "1.1.2-5",
            "1.1.3-1build1",
            "1.1.3-2",
            "1.1.3-3",
            "1.1.4-1",
            "1.1.4-2",
            "1.1.4-2build1",
            "1.1.4-3",
            "1.1.5-1~build1",
            "1.1.5-1",
            "1.1.15-1~ubuntu1.18.04.2"
          ]
        },
        {
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "borgbackup",
                "binary_version": "1.1.15-1~ubuntu1.20.04.1"
              }
            ]
          },
          "package": {
            "ecosystem": "Ubuntu:20.04:LTS",
            "name": "borgbackup",
            "purl": "pkg:deb/ubuntu/borgbackup@1.1.15-1~ubuntu1.20.04.1?arch=source\u0026distro=focal"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ],
          "versions": [
            "1.1.10-2",
            "1.1.10-2build1",
            "1.1.11-1~build1",
            "1.1.11-1",
            "1.1.11-2",
            "1.1.11-5~build1",
            "1.1.11-5",
            "1.1.15-1~ubuntu1.20.04.1"
          ]
        },
        {
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "borgbackup",
                "binary_version": "1.2.0-1ubuntu1.22.04.1"
              }
            ]
          },
          "package": {
            "ecosystem": "Ubuntu:22.04:LTS",
            "name": "borgbackup",
            "purl": "pkg:deb/ubuntu/borgbackup@1.2.0-1ubuntu1.22.04.1?arch=source\u0026distro=jammy"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ],
          "versions": [
            "1.1.17-1",
            "1.1.17-1build1",
            "1.2.0-1",
            "1.2.0-1ubuntu1.22.04.1"
          ]
        },
        {
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "borgbackup",
                "binary_version": "1.2.8-1"
              }
            ]
          },
          "package": {
            "ecosystem": "Ubuntu:24.04:LTS",
            "name": "borgbackup",
            "purl": "pkg:deb/ubuntu/borgbackup@1.2.8-1?arch=source\u0026distro=noble"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ],
          "versions": [
            "1.2.6-2",
            "1.2.7-1",
            "1.2.7-2",
            "1.2.7-2build1",
            "1.2.7-2build2",
            "1.2.7-2build3",
            "1.2.8-1"
          ]
        },
        {
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "borgbackup-is-borgbackup2",
                "binary_version": "2.0.0b8-2build2"
              },
              {
                "binary_name": "borgbackup2",
                "binary_version": "2.0.0b8-2build2"
              }
            ]
          },
          "package": {
            "ecosystem": "Ubuntu:24.04:LTS",
            "name": "borgbackup2",
            "purl": "pkg:deb/ubuntu/borgbackup2@2.0.0b8-2build2?arch=source\u0026distro=noble"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ],
          "versions": [
            "2.0.0b5-1",
            "2.0.0b5-1build1",
            "2.0.0b5-3",
            "2.0.0b7-2",
            "2.0.0b7-2build1",
            "2.0.0b8-2",
            "2.0.0b8-2build1",
            "2.0.0b8-2build2"
          ]
        },
        {
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "borgbackup",
                "binary_version": "1.4.4-3"
              }
            ]
          },
          "package": {
            "ecosystem": "Ubuntu:26.04:LTS",
            "name": "borgbackup",
            "purl": "pkg:deb/ubuntu/borgbackup@1.4.4-3?arch=source\u0026distro=resolute"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ],
          "versions": [
            "1.4.1-4",
            "1.4.3-1",
            "1.4.3-2",
            "1.4.3-4",
            "1.4.4-2~build1",
            "1.4.4-2",
            "1.4.4-3"
          ]
        },
        {
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "borgbackup-is-borgbackup2",
                "binary_version": "2.0.0b20-5"
              },
              {
                "binary_name": "borgbackup2",
                "binary_version": "2.0.0b20-5"
              }
            ]
          },
          "package": {
            "ecosystem": "Ubuntu:26.04:LTS",
            "name": "borgbackup2",
            "purl": "pkg:deb/ubuntu/borgbackup2@2.0.0b20-5?arch=source\u0026distro=resolute"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ],
          "versions": [
            "2.0.0b19-1",
            "2.0.0b19.post2-2",
            "2.0.0b19.post2-3",
            "2.0.0b20-1~build1",
            "2.0.0b20-1",
            "2.0.0b20-2",
            "2.0.0b20-4",
            "2.0.0b20-5"
          ]
        }
      ],
      "aliases": [],
      "details": "[Unknown description]",
      "id": "UBUNTU-CVE-2026-62268",
      "modified": "2026-07-31T00:00:00Z",
      "published": "2026-07-31T00:00:00Z",
      "references": [
        {
          "type": "REPORT",
          "url": "https://ubuntu.com/security/CVE-2026-62268"
        },
        {
          "type": "REPORT",
          "url": "https://www.cve.org/CVERecord?id=CVE-2026-62268"
        }
      ],
      "related": [],
      "schema_version": "1.7.0",
      "severity": [
        {
          "score": "medium",
          "type": "Ubuntu"
        }
      ],
      "upstream": [
        "CVE-2026-62268"
      ]
    }