ADVISORIES

Vulnerability

CVE-2024-27318

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.

5 advisories report this vulnerability, across 3 ecosystems.

Advisories

  • AZL-34464

    CVE-2024-27318 affecting package pytorch for versions less than 2.0.0-6

    CVE-2024-27318 Azure Linux Updated 21 April 2026
  • AZL-35146

    CVE-2024-27318 affecting package pytorch for versions less than 2.2.2-1

    CVE-2024-27318 Azure Linux Updated 23 November 2026
  • CGA-8hqg-r8vh-xmcj
    CVE-2024-27318 Chainguard Updated 5 November 2026
  • GHSA-whh8-fjgc-qp73

    Onnx Directory Traversal vulnerability

    High CVE-2024-27318 PyPI Updated 10 September 2026
  • PYSEC-2024-222

    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…

    CVE-2024-27318 PyPI Updated 10 June 2026

References