{"id":"CVE-2022-25882","aliases":["GHSA-ffxj-547x-5j7c","PYSEC-2023-38"],"url":"https://o3.security/vulnerability/CVE-2022-25882","summary":"Directory Traversal in onnx","details":"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\"","published":"2023-01-25T05:00:02.847Z","modified":"2026-08-08T08:38:36.224157Z","cvss":{"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/E:P"},"epss":null,"cisaKev":null,"exploitsKnown":3,"affectedPackages":[{"ecosystem":"PyPI","name":"onnx","fixedVersion":"1.13.0"}],"fix":{"url":"https://github.com/onnx/onnx/commit/f369b0e859024095d721f1d1612da5a8fa38988d","label":"onnx/onnx@f369b0e"},"references":[{"type":"WEB","url":"https://gist.github.com/jnovikov/02a9aff9bf2188033e77bd91ff062856"},{"type":"WEB","url":"https://github.com/onnx/onnx/blob/96516aecd4c110b0ac57eba08ac236ebf7205728/onnx/checker.cc%23L129"},{"type":"WEB","url":"https://security.snyk.io/vuln/SNYK-PYTHON-ONNX-2395479"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/25xxx/CVE-2022-25882.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25882"},{"type":"REPORT","url":"https://github.com/onnx/onnx/issues/3991"},{"type":"FIX","url":"https://github.com/onnx/onnx/commit/f369b0e859024095d721f1d1612da5a8fa38988d"},{"type":"FIX","url":"https://github.com/onnx/onnx/pull/4400"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-08T08:38:36.224157Z"}}