# CVE-2022-25882

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability: affected before 1.13.0 (CNA); fix release not confirmed
- Status: published
- Published: 2023-01-25 · Modified: 2025-04-01
- Aliases: GHSA-ffxj-547x-5j7c, PYSEC-2023-38, UBUNTU-CVE-2022-25882
- Record: https://cvemate.com/vulnerability/CVE-2022-25882 · JSON: https://cvemate.com/vulnerability/CVE-2022-25882/json

## Description

```text
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"
```

## Signals

- CVSS: 7.5 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:P
- EPSS: 1.716%, percentile 78.225%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 3 (github, reference)

## Affected

- ubuntu onnx (Ubuntu): All versions (No fix recorded)
- linuxfoundation onnx: \< 1.13.0
- PyPI onnx (PyPI): \< f369b0e859024095d721f1d1612da5a8fa38988d \| \< 1.13.0

## References

- <https://security.snyk.io/vuln/SNYK-PYTHON-ONNX-2395479>
- <https://github.com/onnx/onnx/issues/3991>
- <https://github.com/onnx/onnx/blob/96516aecd4c110b0ac57eba08ac236ebf7205728/onnx/checker.cc%23L129>
- <https://github.com/onnx/onnx/pull/4400>
- <https://github.com/onnx/onnx/commit/f369b0e859024095d721f1d1612da5a8fa38988d>
- <https://gist.github.com/jnovikov/02a9aff9bf2188033e77bd91ff062856>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-25882>
- <https://github.com/onnx/onnx>
- <https://github.com/pypa/advisory-database/tree/main/vulns/onnx/PYSEC-2023-38.yaml>
- <https://github.com/advisories/GHSA-ffxj-547x-5j7c>
- <https://ubuntu.com/security/CVE-2022-25882>
- <https://www.cve.org/CVERecord?id=CVE-2022-25882>

---

Data as of 2026-12-05T04:38:50.128Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
