{"id":"UBUNTU-CVE-2026-82248","details":"gix-worktree-state before 0.33.0 (part of gitoxide) allows writing files outside the worktree on Windows. gix_worktree_state::checkout() follows an existing terminal symlink during non-exclusive (incremental) materialization (destination_is_initially_empty: false) when core.symlinks is true. If a symlink entry (mode 120000) is first checked out at a path P pointing outside the worktree, a subsequent incremental checkout of a regular-file entry (mode 100644) at the same path follows the existing reparse point and writes the blob content through the link, overwriting files outside the worktree.","modified":"2026-09-02T16:28:28Z","published":"2026-08-28T12:16:00Z","upstream":["CVE-2026-82248"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-82248"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-82248"},{"type":"REPORT","url":"https://github.com/GitoxideLabs/gitoxide/security/advisories/GHSA-pmm9-4h7q-24c8"},{"type":"REPORT","url":"https://www.vulncheck.com/advisories/gitoxide-before-0.33.0-path-traversal-via-symlink-following"}],"affected":[{"package":{"name":"rust-gix-features","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/rust-gix-features?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.36.0-1","0.36.0-2","0.36.1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"librust-gix-features-dev","binary_version":"0.36.1-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-82248.json"}},{"package":{"name":"rust-gix","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/rust-gix?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.69.1-1","0.69.1-2","0.73.0-1","0.73.0-1build1"],"ecosystem_specific":{"binaries":[{"binary_name":"librust-gix-dev","binary_version":"0.73.0-1build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-82248.json"}},{"package":{"name":"rust-gix-features","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/rust-gix-features?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.39.1-2","0.43.1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"librust-gix-features-dev","binary_version":"0.43.1-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-82248.json"}},{"package":{"name":"rust-gix-worktree","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/rust-gix-worktree?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.38.0-1","0.42.0-1"],"ecosystem_specific":{"binaries":[{"binary_name":"librust-gix-worktree-dev","binary_version":"0.42.0-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-82248.json"}},{"package":{"name":"rust-gix-worktree-state","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/rust-gix-worktree-state?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.16.0-1","0.20.0-1"],"ecosystem_specific":{"binaries":[{"binary_name":"librust-gix-worktree-state-dev","binary_version":"0.20.0-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-82248.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N"},{"type":"Ubuntu","score":"medium"}]}