{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "last_affected": "4.0.1"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "beddc97ac211f8414597fe8479493be0603f7c84"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "442d4e7ecf224c392b40dde082329392e64b6e3c"
            },
            {
              "fixed": "beddc97ac211f8414597fe8479493be0603f7c84"
            }
          ],
          "repo": "https://github.com/xorbitsai/inference",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-22"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/112xxx/CVE-2026-112051.json"
  },
  "details": "Xinference through 4.0.1 contains a path traversal vulnerability on Windows that allows unauthenticated attackers to write and delete arbitrary .json files via backslash sequences in model_name. Attackers can register a persisted custom model through POST /v1/model_registrations/{model_type} with names like ..\\..\\evil to overwrite configuration or data files writable by the Xinference process.",
  "id": "CVE-2026-112051",
  "modified": "2026-10-21T02:30:48.026752969Z",
  "published": "2026-10-18T12:19:43.049Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/112xxx/CVE-2026-112051.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/xorbitsai/inference"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/xorbitsai/inference/blob/v4.0.1/xinference/model/cache_manager.py#L117-L134"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/xorbitsai/inference/blob/v4.0.1/xinference/model/utils.py#L1175-L1182"
    },
    {
      "type": "FIX",
      "url": "https://github.com/xorbitsai/inference/commit/beddc97ac211f8414597fe8479493be0603f7c84"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/xorbitsai/inference/issues/5702"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-112051"
    },
    {
      "type": "PACKAGE",
      "url": "https://pypi.org/project/xinference/"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/xinference-through-4.0.1-path-traversal-via-model-name-in-custom-model-registration"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Xinference through 4.0.1 Path Traversal via model_name in Custom Model Registration"
}