{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2022-25882","published":"2023-01-26T21:15:31.333000Z","last_modified":"2026-06-17T04:34:26.243000Z","status":"Modified","cvss":{"version":"3.1","score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-22"],"cpes":[{"criteria":"cpe:2.3:a:linuxfoundation:onnx:*:*:*:*:*:*:*:*","part":"a","vendor":"linuxfoundation","product":"onnx","version_end_excluding":"1.13.0"}],"cpes_truncated":false,"vendors":["linuxfoundation"],"products":["linuxfoundation/onnx"],"ssvc":{"exploitation":"poc","automatable":"yes","technical_impact":"partial"},"epss":{"score":0.01768,"percentile":0.78616,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-ffxj-547x-5j7c","ecosystem":"PyPI","name":"onnx","purl":"pkg:pypi/onnx","ranges":[{"introduced":"0","fixed":"1.13.0"}],"versions":["0.1","0.2","0.2.1","1.0.0","1.0.1","1.1.0","1.1.1","1.1.2","1.10.0","1.10.1","1.10.2","1.11.0","1.12.0","1.2.1","1.2.2","1.2.3","1.3.0","1.4.0","1.4.1","1.5.0","1.6.0","1.7.0","1.8.0","1.8.1","1.9.0"],"versions_truncated":false},{"advisory":"PYSEC-2023-38","ecosystem":"PyPI","name":"onnx","purl":"pkg:pypi/onnx","ranges":[{"introduced":"0","fixed":"1.13.0"}],"versions":["0.1","0.2","0.2.1","1.0.0","1.0.1","1.1.0","1.1.1","1.1.2","1.10.0","1.10.1","1.10.2","1.11.0","1.12.0","1.2.1","1.2.2","1.2.3","1.3.0","1.4.0","1.4.1","1.5.0","1.6.0","1.7.0","1.8.0","1.8.1","1.9.0","v1.3.0","v1.1.0","v0.2","v0.1"],"versions_truncated":false}],"severity":"high","priority_score":60,"links":{"html_es":"/es/cve/CVE-2022-25882/","html_en":"/en/cve/CVE-2022-25882/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-25882","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-25882"},"untrusted":{"vendor_name":"Linuxfoundation","product_name":"Onnx","desc_en":"Versions of the package onnx before 1.13.0 are vulnerable to Directory Traversal as the external_data field of the tensor proto can have a path to the file which is outside the model current directory or user-provided directory, for example \"../../../etc/passwd\"","affected":[],"references":[{"url":"https://gist.github.com/jnovikov/02a9aff9bf2188033e77bd91ff062856","tags":["Exploit","Third Party Advisory"]},{"url":"https://github.com/onnx/onnx/blob/96516aecd4c110b0ac57eba08ac236ebf7205728/onnx/checker.cc%23L129","tags":["Broken Link"]},{"url":"https://github.com/onnx/onnx/commit/f369b0e859024095d721f1d1612da5a8fa38988d","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/onnx/onnx/issues/3991","tags":["Exploit","Third Party Advisory"]},{"url":"https://github.com/onnx/onnx/pull/4400","tags":["Patch","Third Party Advisory"]},{"url":"https://security.snyk.io/vuln/SNYK-PYTHON-ONNX-2395479","tags":["Exploit","Third Party Advisory"]}]}}