High severity · published Jan 26, 2023
CVE-2022-25882
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…
7.5
CVSS
1.6%
EPSS
No
On KEV
Description
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"
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
None
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.6% · higher than 76% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
ON
Onnx · Linuxfoundation
before 1.13.0 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2022-25882
CVE.org
https://www.cve.org/CVERecord?id=CVE-2022-25882
Exploit
https://gist.github.com/jnovikov/02a9aff9bf2188033e77bd91ff062856
Broken Link
https://github.com/onnx/onnx/blob/96516aecd4c110b0ac57eba08ac236ebf7205728/onnx/checker.cc%23L129
Patch
https://github.com/onnx/onnx/commit/f369b0e859024095d721f1d1612da5a8fa38988d
Exploit
https://github.com/onnx/onnx/issues/3991
Patch
https://github.com/onnx/onnx/pull/4400
Exploit
https://security.snyk.io/vuln/SNYK-PYTHON-ONNX-2395479
More from Onnx
9.1
CVE-2026-28500
ONNX Untrusted Model Repository Warnings Suppressed by silent=True in onnx.hub.load() — Silent Supply-Chain Attack
9.1
CVE-2024-27319
Versions of the package onnx before and including 1.15.0 are vulnerable to Out-of-bounds Read as the ONNX_ASSERT and ONNX_ASSERTM functions have an off by one string copy
8.8
CVE-2025-51480
Path Traversal vulnerability in onnx.external_data_helper.save_external_data in ONNX 1.17.0 allows attackers to overwrite arbitrary files by supplying crafted…
8.8
CVE-2024-5187
A vulnerability in the `download_model_with_test_data` function of the onnx/onnx framework, version 1.16.0, allows for arbitrary file overwrite due to inadequate prevention of…
8.6
CVE-2026-34445
ONNX: Malicious ONNX models can crash servers by exploiting unprotected object settings.
