{"id":"UBUNTU-CVE-2026-82253","details":"gitoxide (Rust crates gix \u003c= 0.72.0 and gix-validate \u003c= 0.10.0) contains a path traversal vulnerability. The submodule name validation function in gix-validate only checks the first occurrence of '..' via name.find(b\"..\"), allowing crafted names such as 'a..b/../../../.git/' to bypass the check; additionally this validation is never invoked in production code paths. Combined with a trust inheritance flaw in Submodule::open(), where the parent repository's git_dir_trust (Trust::Full) is cloned and the ownership verification is skipped, an attacker can craft a malicious .gitmodules file so that a victim tool built on gitoxide reads arbitrary git repository configuration (including embedded credentials) with full trust, bypassing safe-directory protections. Fixed in gix 0.82.0 and gix-validate 0.11.1.","modified":"2026-09-02T16:28:28Z","published":"2026-08-28T12:16:00Z","upstream":["CVE-2026-82253"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-82253"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-82253"},{"type":"REPORT","url":"https://github.com/GitoxideLabs/gitoxide/security/advisories/GHSA-p3hw-mv63-rf9w"},{"type":"REPORT","url":"https://www.vulncheck.com/advisories/gitoxide-before-0.82.0-path-traversal-via-submodule-name-validation-bypass"}],"affected":[{"package":{"name":"rust-gix-validate","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/rust-gix-validate?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.8.0-1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.8.0-1","binary_name":"librust-gix-validate-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-82253.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-82253.json"}},{"package":{"name":"rust-gix-validate","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/rust-gix-validate?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.2-1","0.10.1-1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.10.1-1","binary_name":"librust-gix-validate-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-82253.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"},{"type":"Ubuntu","score":"medium"}]}