AI and data stack advisories

Severe, 6 weeks1498Projects326

1498 severe, 6 weeks · 326 projects

ONNXGHSA-whh8-fjgc-qp73

Onnx Directory Traversal vulnerability

ONNX

CVE-2024-27318 · Published Feb 23, 2024 · updated Sep 10, 2026

High7.5
Fix: upgrade to 1.16.0 or later
GitHub advisory

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.

Affected versions

PackageAffectedFixed in
onnx
PyPI
< 1.16.01.16.0
Details and references

More ONNX advisories

All ONNX