Skip to content
Heist/ feed
Back to feed
High

rust-gix, rust-gix-validate — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2026-82253

gitoxide (Rust crates gix <= 0.72.0 and gix-validate <= 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.

Products
rust-gix, rust-gix-validate
Affected versions
0.10.1-1, 0.11.3-1, 0.69.1-1, 0.69.1-2, 0.73.0-1, 0.73.0-1build1, 0.8.0-1, 0.83.0-2, 0.9.2-1
Fixed versions
Not specified
CVEs
CVE-2026-82253
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 03:20 UTC · Revision 1

Source evidence

UBUNTU-CVE-2026-82253

core-osv · Original source

Published 28 Aug 2026, 12:16 UTC

gitoxide (Rust crates gix <= 0.72.0 and gix-validate <= 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.

osv:UBUNTU-CVE-2026-82253

rust-gix-validate

Fixed versions: Not specified

rust-gix

Fixed versions: Not specified

rust-gix-validate

Fixed versions: Not specified

rust-gix

Fixed versions: Not specified

rust-gix-validate

Fixed versions: Not specified

Complete source record
{
  "id": "73a520ae6c496daedddc1b0961641e8aefa52636297ce94a8dffac52c340710f",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-82253",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2026-82253",
    "summary": "gitoxide (Rust crates gix <= 0.72.0 and gix-validate <= 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.",
    "evidence": "osv:UBUNTU-CVE-2026-82253",
    "products": [
      {
        "name": {
          "value": "rust-gix-validate",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.8.0-1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "rust-gix",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.73.0-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0.83.0-2",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "rust-gix-validate",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.10.1-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "0.11.3-1",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "rust-gix",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.69.1-1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "0.69.1-2",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "0.73.0-1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "0.73.0-1build1",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "rust-gix-validate",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.9.2-1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "0.10.1-1",
            "evidence": "/affected/4/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "UBUNTU-CVE-2026-82253",
      "aliases": [
        "UBUNTU-CVE-2026-82253"
      ],
      "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-validate",
            "purl": "pkg:deb/ubuntu/rust-gix-validate?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "0.8.0-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-82253.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "librust-gix-validate-dev",
                "binary_version": "0.8.0-1"
              }
            ]
          }
        },
        {
          "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-82253.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-validate",
            "purl": "pkg:deb/ubuntu/rust-gix-validate?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "0.10.1-1",
            "0.11.3-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-82253.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "librust-gix-validate-dev",
                "binary_version": "0.11.3-1"
              }
            ]
          }
        },
        {
          "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-82253.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "librust-gix-dev",
                "binary_version": "0.73.0-1build1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "rust-gix-validate",
            "purl": "pkg:deb/ubuntu/rust-gix-validate?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "0.9.2-1",
            "0.10.1-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-82253.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "librust-gix-validate-dev",
                "binary_version": "0.10.1-1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T13:01:11.301452574Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-82253"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2026-82253",
        "https://www.cve.org/CVERecord?id=CVE-2026-82253",
        "https://github.com/GitoxideLabs/gitoxide/security/advisories/GHSA-p3hw-mv63-rf9w",
        "https://www.vulncheck.com/advisories/gitoxide-before-0.82.0-path-traversal-via-submodule-name-validation-bypass"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-82253",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/1/score"
  },
  "source_id": "core-osv",
  "document_id": 361172,
  "published_at": "2026-08-28T12:16:00+00:00"
}