Path traversal in onnx
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-22 and the CVSS impact.
Summary
Versions of the package onnx before and including 1.15.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. The vulnerability occurs as a bypass for the patch added for CVE-2022-25882.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| onnx | onnx | up to 1.15.0 | — | No fix listed | CNA |
| — | onnx (PyPI) | before 1.16.0 | 1.16.0 | Patch available | GHSA-whh8-fjgc-qp73 |
- onnx Vendoronnx Affected up to 1.15.0 Fixed in — No fix listed CNA
- onnx (PyPI) Vendor— Affected before 1.16.0 Fixed in 1.16.0 Patch available GHSA-whh8-fjgc-qp73
CPE configurations NVD · 3
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:linuxfoundation:onnx:*:*:*:*:*:*:*:* | before 1.16.0 | Vulnerable | backstage |
| cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:* | 39 | Vulnerable | Fedoraproject |
| cpe:2.3:o:fedoraproject:fedora:40:*:*:*:*:*:*:* | 40 | Vulnerable | Fedoraproject |
- cpe:2.3:a:linuxfoundation:onnx:*:*:*:*:*:*:*:* Versions before 1.16.0 Vulnerable ·backstage
- cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:* Versions 39 Vulnerable ·Fedoraproject
- cpe:2.3:o:fedoraproject:fedora:40:*:*:*:*:*:*:* Versions 40 Vulnerable ·Fedoraproject
Remediation
- Fix · GHSA-whh8-fjgc-qp73 onnx (PyPI) Fixed in 1.16.0 Advisory →
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2024-27318
- 2026-10-03 Alias added: GHSA-whh8-fjgc-qp73
References
Advisory 3
Other 4
- https://github.com/onnx/onnx
- https://github.com/pypa/advisory-database/tree/main/vulns/onnx/PYSEC-2024-222.yaml
- https://lists.fedoraproject.org/archives/list/[email protected]/message/FGTBH5ZYL2LGYHIJDHN2MAUURIR5E7PY
- https://lists.fedoraproject.org/archives/list/[email protected]/message/TFJJID2IZDOLFDMWVYTBDI75ZJQC6JOL
More onnx vulnerabilities
- TI-2026-22763 ONNX Untrusted Model Repository Warnings Suppressed by silent=True in onnx.hub.load() — Silent Supply-Chain Attack CVSS 3.1CRITICAL 9.1
- TI-2026-21896 ONNX: Path Traversal via Symlink CVSS 4.0HIGH 8.7
- TI-2024-07209 Arbitrary File Overwrite in onnx/onnx CVSS 3.1CRITICAL 9.1
- TI-2024-04814 Arbitrary File Overwrite in download_model_with_test_data in onnx/onnx CVSS 3.1HIGH 8.8
- TI-2026-36338 ONNX symlink-following and path-traversal arbitrary file write CVSS 4.0MEDIUM 6.8
- TI-2026-32442 ONNX: Null Pointer Dereference in Upsample Version Converter Adapter (Zero Inputs) CVSS 3.1MEDIUM 5.5
Sources
- CVE-2024-27318 · CVE Program
- CVE-2024-27318 · NVD
- FIRST EPSS
- GHSA-whh8-fjgc-qp73 · GitHub Advisory Database · CC BY 4.0
- CVE-2024-27318 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences