CVE-2024-7776: Arbitrary File Overwrite in onnx/onnx

Published Mar 20, 2025
·
Updated

A vulnerability in the downloadmodel 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.

Affected Software

3 affected componentsFixes available
onnx onnx<=1.16.1
onnx onnx<=1.16.1
pip/onnx<1.17.0
1.17.0

Event History

Mar 20, 2025
CVE Published
via MITRE·10:10 AM
Data Sourced
via MITRE·10:10 AM
DescriptionSeverityWeakness
Advisory Published
via GitHub·12:32 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-7776?

CVE-2024-7776 has been classified as a high severity vulnerability due to its potential for arbitrary file overwrite.

2

How do I fix CVE-2024-7776?

To remediate CVE-2024-7776, upgrade to onnx version 1.17.0 or later.

3

Which versions of ONNX are affected by CVE-2024-7776?

CVE-2024-7776 affects ONNX versions up to and including 1.16.1.

4

What kind of attack does CVE-2024-7776 enable?

CVE-2024-7776 allows for path traversal attacks through malicious tar files, resulting in arbitrary file overwrite.

5

Who is impacted by CVE-2024-7776?

Developers and users of ONNX versions 1.16.1 and earlier are at risk due to CVE-2024-7776.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203