onnx vulnerabilities

Open Neural Network Exchange

Registry
PyPI
Latest
1.23.2
License
Apache-2.0

17 known advisories

The latest version, 1.23.2, is not affected by any of them. Projects on older versions may be.

Update to the latest version:pip install 'onnx>=1.23.2'

Is your project on an affected onnx?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Python apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Security advisories for onnx

  • MediumCVE-2026-115920GHSA-6pwm-x34p-fvj228 Oct 2026

    ONNX: Out-of-bounds read in ConvTranspose shape inference via undersized weight rank

    Affected
    >=1.2.1 <1.22.0
    Fixed in
    1.22.0
  • MediumCVE-2026-115922GHSA-q69g-f4f5-v8m728 Oct 2026

    ONNX: Denial of service via unchecked expansion of packed sub-byte tensors in ONNX Python APIs

    Affected
    <1.22.0
    Fixed in
    1.22.0
  • MediumCVE-2026-115921GHSA-m4pr-6v3c-6fgr28 Oct 2026

    ONNX: Null Pointer Dereference in ScanInferenceFunction Due to Missing Required Attribute

    Affected
    >=1.4.0 <1.22.0
    Fixed in
    1.22.0
  • MediumCVE-2026-115919GHSA-48m4-24cq-37qf28 Oct 2026

    ONNX: Out-of-Bounds Read in RNN/GRU/LSTM Shape Inference (Old Opsets, Missing Rank Check)

    Affected
    <1.22.0
    Fixed in
    1.22.0
  • LowCVE-2026-63632GHSA-p893-rvq9-2xf924 Jul 2026

    ONNX: Heap-Buffer-Overflow READ in Gemm Version Converter Adapter via Undersized Input Shape

    Affected
    >=1.3.0 <1.22.0
    Fixed in
    1.22.0
  • MediumCVE-2026-44512GHSA-hwpq-hmq9-wj777 Jul 2026

    ONNX has Null Pointer Dereference in Upsample Version Converter Adapter (Zero Inputs)

    Affected
    >=1.9.0 <1.22.0
    Fixed in
    1.22.0
  • HighCVE-2026-49114GHSA-q56x-g2fj-4rj61 Apr 2026

    ONNX: TOCTOU arbitrary file read/write in save_external_dat

    Affected
    <1.21.0
    Fixed in
    1.21.0
  • MediumCVE-2026-34447GHSA-p433-9wv8-28xj1 Apr 2026

    ONNX: External Data Symlink Traversal

    Affected
    <1.21.0
    Fixed in
    1.21.0
  • MediumCVE-2026-34446GHSA-cmw6-hcpp-c6jp1 Apr 2026

    ONNX: Arbitrary File Read via ExternalData Hardlink Bypass in ONNX load

    Affected
    <1.21.0
    Fixed in
    1.21.0
  • HighCVE-2026-34445GHSA-538c-55jv-c5g91 Apr 2026

    ONNX: Malicious ONNX models can crash servers by exploiting unprotected object settings.

    Affected
    <1.21.0
    Fixed in
    1.21.0
  • HighCVE-2026-27489GHSA-3r9x-f23j-gc7331 Mar 2026

    onnx Vulnerable to Path Traversal via Symlink

    Affected
    <1.21.0
    Fixed in
    1.21.0
  • HighCVE-2026-28500GHSA-hqmj-h5c6-369m16 Mar 2026

    ONNX Untrusted Model Repository Warnings Suppressed by silent=True in onnx.hub.load() — Silent Supply-Chain Attack

    Affected
    <1.21.0rc1
    Fixed in
    1.21.0rc1
  • HighCVE-2024-7776GHSA-h36j-8vv3-cj5220 Mar 2025

    Open Neural Network Exchange (ONNX) Path Traversal Vulnerability

    Affected
    <1.17.0
    Fixed in
    1.17.0
  • HighCVE-2024-5187GHSA-6rq9-53c3-f7vj6 Jun 2024

    onnx allows Arbitrary File Overwrite in download_model_with_test_data

    Affected
    <1.16.2
    Fixed in
    1.16.2
  • HighCVE-2024-27318GHSA-whh8-fjgc-qp7323 Feb 2024

    Onnx Directory Traversal vulnerability

    Affected
    <1.16.0
    Fixed in
    1.16.0
  • MediumCVE-2024-27319GHSA-h8wv-9h96-m4hr23 Feb 2024

    Onnx Out-of-bounds Read vulnerability

    Affected
    <1.16.0
    Fixed in
    1.16.0
  • HighCVE-2022-25882GHSA-ffxj-547x-5j7c26 Jan 2023

    Directory Traversal in onnx

    Affected
    <1.13.0
    Fixed in
    1.13.0

Is your onnx version vulnerable?

Which of your client projects still run an old onnx?

NPMscan reads the requirements.txt, poetry.lock, uv.lock and Pipfile.lock in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.

Other PyPI packages

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the PyPI registry.