Directory Traversal Affecting onnx package, versions *


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
1.49% (72nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2404-ONNX-9507622
  • published11 Jun 2026
  • disclosed20 Mar 2025

Introduced: 20 Mar 2025

CVE-2024-7776  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

There is no fixed version for Ubuntu:24.04 onnx.

NVD Description

Note: Versions mentioned in the description apply only to the upstream onnx package and not the onnx package as distributed by Ubuntu. See How to fix? for Ubuntu:24.04 relevant fixed versions and status.

A vulnerability in the download_model function of the onnx/onnx framework, before and including version 1.16.1, allows for arbitrary file overwrite due to inadequate prevention of path traversal attacks in malicious tar files. This vulnerability can be exploited by an attacker to overwrite files in the user's directory, potentially leading to remote command execution.

CVSS Base Scores

version 3.1