rust-gix — security advisory
gitoxide before 0.52.1 follows symlinks when reading the worktree .gitmodules file, allowing attackers to inject out-of-repository bytes into submodule metadata. Attackers can create a malicious repository with a symlinked .gitmodules pointing outside the repository tree, causing gitoxide to parse arbitrary external files as submodule configuration and expose attacker-controlled name, path, and url values.
- Products
- rust-gix
- Affected versions
- 0.69.1-1, 0.69.1-2, 0.73.0-1, 0.73.0-1build1, 0.83.0-2
- Fixed versions
- Not specified
- CVEs
- CVE-2026-82252
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 03:20 UTC · Revision 1
Source evidence
gitoxide before 0.52.1 follows symlinks when reading the worktree .gitmodules file, allowing attackers to inject out-of-repository bytes into submodule metadata. Attackers can create a malicious repository with a symlinked .gitmodules pointing outside the repository tree, causing gitoxide to parse arbitrary external files as submodule configuration and expose attacker-controlled name, path, and url values.
osv:UBUNTU-CVE-2026-82252
rust-gix
Fixed versions: Not specified
rust-gix
Fixed versions: Not specified
Complete source record
{
"id": "e70fd89b82a66e2b1ce5998b4b1f406bfa3bea599972240342903b2e53b47d3e",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-82252",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2026-82252",
"summary": "gitoxide before 0.52.1 follows symlinks when reading the worktree .gitmodules file, allowing attackers to inject out-of-repository bytes into submodule metadata. Attackers can create a malicious repository with a symlinked .gitmodules pointing outside the repository tree, causing gitoxide to parse arbitrary external files as submodule configuration and expose attacker-controlled name, path, and url values.",
"evidence": "osv:UBUNTU-CVE-2026-82252",
"products": [
{
"name": {
"value": "rust-gix",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.73.0-1",
"evidence": "/affected/0/versions"
},
{
"value": "0.83.0-2",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "rust-gix",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.69.1-1",
"evidence": "/affected/1/versions"
},
{
"value": "0.69.1-2",
"evidence": "/affected/1/versions"
},
{
"value": "0.73.0-1",
"evidence": "/affected/1/versions"
},
{
"value": "0.73.0-1build1",
"evidence": "/affected/1/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "UBUNTU-CVE-2026-82252",
"aliases": [
"UBUNTU-CVE-2026-82252"
],
"metrics": [
{
"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"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "rust-gix",
"purl": "pkg:deb/ubuntu/rust-gix?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"0.73.0-1",
"0.83.0-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-82252.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "librust-gix-dev",
"binary_version": "0.83.0-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "rust-gix",
"purl": "pkg:deb/ubuntu/rust-gix?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"0.69.1-1",
"0.69.1-2",
"0.73.0-1",
"0.73.0-1build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-82252.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "librust-gix-dev",
"binary_version": "0.73.0-1build1"
}
]
}
}
],
"modified": "2026-10-17T13:01:11.563018441Z",
"provider": "osv",
"upstream": [
"CVE-2026-82252"
],
"references": [
"https://ubuntu.com/security/CVE-2026-82252",
"https://www.cve.org/CVERecord?id=CVE-2026-82252",
"https://github.com/GitoxideLabs/gitoxide/security/advisories/GHSA-pg4w-g64p-qwhj",
"https://www.vulncheck.com/advisories/gitoxide-before-0.52.1-repository-boundary-violation-via-symlinked-gitmodules"
]
},
"related_cves": [
{
"value": "CVE-2026-82252",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/1/score"
},
"source_id": "core-osv",
"document_id": 361186,
"published_at": "2026-08-28T12:16:00+00:00"
}