# CVE-2026-34446: ONNX: Arbitrary File Read via ExternalData Hardlink Bypass in ONNX load

- Severity: Medium 4.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2026-04-01T17:37:54.737Z
- Modified: 2026-09-10T03:50:43.899Z
- Also known as: GHSA-cmw6-hcpp-c6jp, PYSEC-2026-2241
- Weaknesses: CWE-22, CWE-61
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Open Neural Network Exchange (ONNX) is an open standard for machine learning interoperability. Prior to version 1.21.0, there is an issue in onnx.load, the code checks for symlinks to prevent path traversal, but completely misses hardlinks because a hardlink looks exactly like a regular file on the filesystem. This issue has been patched in version 1.21.0.

(As written by CVE List.)

## Affected

- onnx onnx: < 1.21.0
- onnx (PyPI): before 1.21.0
- linuxfoundation onnx: before 1.21.0

## Every score

- GitHub_M: CVSS:3.1 4.7 Medium `CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 4.7 Medium `CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N`
- PyPA Advisory Database: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N`

## References

- <https://github.com/onnx/onnx/security/advisories/GHSA-cmw6-hcpp-c6jp> (advisory, vendor-advisory, web)
- <https://github.com/onnx/onnx/commit/4755f8053928dce18a61db8fec71b69c74f786cb> (fix, patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-34446> (advisory)
- <https://github.com/onnx/onnx> (package)

## Sources

- CVE List: [CVE-2026-34446](https://www.cve.org/CVERecord?id=CVE-2026-34446), CVE Terms of Use, modified 2026-04-02
- GitHub Advisory Database: [GHSA-cmw6-hcpp-c6jp](https://github.com/advisories/GHSA-cmw6-hcpp-c6jp), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-34446](https://nvd.nist.gov/vuln/detail/CVE-2026-34446), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-2241](https://osv.dev/vulnerability/PYSEC-2026-2241), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-34446 · Whole record: https://cve.day/CVE-2026-34446.json · Rebuilt by cve.day 2026-11-25T22:59:17.723Z
