CVE-2026-27489

ONNX: Path Traversal via Symlink

Published Apr 1, 2026 CVSS 4.0 · 8.7 High EPSS < 1% KEV · Not listed
Description
Open Neural Network Exchange (ONNX) is an open standard for machine learning interoperability. Prior to version 1.21.0, a path traversal vulnerability via symlink allows to read arbitrary files outside model or user-provided directory. This issue has been patched in version 1.21.0.

Analysis

AI-generated

Technical impact

Open Neural Network Exchange (ONNX) versions before 1.21.0 contain a path traversal flaw that allows a malicious model to read files outside of its designated directory. The vulnerability operates by following symbolic links embedded in the model, enabling an attacker to read arbitrary files on the host filesystem, potentially exposing confidential information. The weakness is classified as CWE‑22, CWE‑23 and CWE‑61, which denote path traversal and absolute path traversal errors.

Affected Systems

The issue affects the ONNX library from the Linux Foundation. Any deployment of ONNX 1.20.x or earlier is vulnerable, regardless of the host operating system. The vulnerability was patched with version 1.21.0, so only installations that have not updated to that or newer release remain affected.

Risk and Exploitability

The CVSS score of 8.7 indicates a high severity, but the EPSS score of less than 1% signifies that the likelihood of exploitation is low at present. The vulnerability is not listed in CISA’s KEV catalog, suggesting no known widespread exploitation. To exploit it, an attacker would need to supply a malicious ONNX model that contains a symlink pointing to a sensitive file, so the threat is primarily to systems that accept untrusted models without proper validation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade ONNX to version 1.21.0 or later.
  • If an upgrade is not immediately possible, reject or sanitize any model files that contain symbolic links before loading them.
  • Run the ONNX runtime with the minimum necessary filesystem permissions to limit potential data exposure.

Generated by OpenCVE AI on April 7, 2026 at 21:46 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-3r9x-f23j-gc73 onnx Vulnerable to Path Traversal via Symlink
History
Type Values Removed Values Added
First Time appeared Linuxfoundation
Linuxfoundation onnx
CPEs cpe:2.3:a:linuxfoundation:onnx:*:*:*:*:*:*:*:*
Vendors & Products Linuxfoundation
Linuxfoundation onnx
Metrics cvssV3_1

{'score': 8.6, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N'}

cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}

Type Values Removed Values Added
First Time appeared Onnx
Onnx onnx
Vendors & Products Onnx
Onnx onnx
Type Values Removed Values Added
Weaknesses CWE-22
References
Metrics threat_severity

None

cvssV3_1

{'score': 8.6, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N'}

threat_severity

Important

Type Values Removed Values Added
Description Open Neural Network Exchange (ONNX) is an open standard for machine learning interoperability. Prior to version 1.21.0, a path traversal vulnerability via symlink allows to read arbitrary files outside model or user-provided directory. This issue has been patched in version 1.21.0.
Title ONNX: Path Traversal via Symlink
Weaknesses CWE-23
CWE-61
References
Metrics cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

  • CWE-23

    Relative Path Traversal

  • CWE-61

    UNIX Symbolic Link (Symlink) Following

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jul 15, 2026, 1:14 AM
Reserved
Feb 19, 2026, 7:46 PM
Status
Modified
Published
Apr 1, 2026, 6:16 PM
Modified
Jul 15, 2026, 2:19 AM
Severity
Important
Public date
Apr 1, 2026, 5:33 PM