CVE-2022-25882Linuxfoundation Onnx
High 7.5 No auth needed
Follow: this CVE · Linuxfoundation · Linuxfoundation Onnx We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 1.8% probability of exploitation in 30 days · percentile 79
- Auth required
- No
- Published
- Jan 26, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-22
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
What happens
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"
What to do
- Apply the vendor's security update for Onnx.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | onnx |
< 1.13.0 |
1.13.0 |
pip install "onnx>=1.13.0" |
| PyPI | onnx |
< 1.13.0 |
1.13.0 |
pip install "onnx>=1.13.0" |
Per OSV / GitHub Advisories (GHSA-ffxj-547x-5j7c, PYSEC-2023-38). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| linuxfoundation | onnx | < 1.13.0 |
Official sources
References
Links published by the sources. Open them with care.
- gist.github.com Exploit Third Party Advisory
- github.com Broken Link
- github.com Patch Third Party Advisory
- github.com Exploit Third Party Advisory
- github.com Patch Third Party Advisory
- security.snyk.io Exploit Third Party Advisory