CVE-2026-27489: onnx Vulnerable to Path Traversal via Symlink
Affects onnxSource GCVE Database
Not known to be exploited · CVSS 7.5 High : upgrade to 1.21.0 soon.
Data as of 4 Nov 2026, 04:28 UTC
- Patch
- Available – fixed in 1.21.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 31 Mar 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 3 Nov 2026.
What to do
Upgrade onnx to 1.21.0.
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| PyPIonnx | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available in onnx version 1.21.0 that fixes this vulnerability by properly handling symlinks using a safer file open method that does not follow symlinks (e.g., openat with O_NOFOLLOW). Users should upgrade to version 1.21.0 or later to remediate this issue. No other mitigations are indicated by the vendor advisory.
Description
A path traversal vulnerability in onnx prior to version 1.21.0 allows an attacker to bypass symlink checks and read arbitrary files outside the intended model or user directory. This occurs because the symlink check uses std::filesystem::is_regular_file, which follows symlinks and thus can be bypassed. An attacker can craft a model with external data referencing a symlink to sensitive files, leading to unauthorized file reads when the model is loaded.
References
- github.com/onnx/onnx/security/advisories/GHSA-3r9x-f23j-gc73 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-27489 (opens in a new tab)
- github.com/onnx/onnx/commit/4755f8053928dce18a61db8fec71b69c74f786cb (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:24977 (opens in a new tab)
- access.redhat.com/security/cve/CVE-2026-27489 (opens in a new tab)
- bugzilla.redhat.com/show_bug.cgi?id=2453929 (opens in a new tab)
- github.com/onnx/onnx (opens in a new tab)
- github.com/pypa/advisory-database/tree/main/vulns/onnx/PYSEC-2026-2239.yaml (opens in a new tab)
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-27489.json (opens in a new tab)