HighVulnerability
CVE-2024-5187: onnx/onnx arbitrary file overwrite via path traversal in tar extraction
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2024-5187
- Published
- Record updated
- Affected
- onnx < 1.16.2
- Fixed in
- 1.16.2
- released August 1, 2024, 56 days after disclosure
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 1.2%
Summary
CVE-2024-5187 affects the `download_model_with_test_data` function in the onnx/onnx framework, version 1.16.0. The function extracts tar files without checking the paths inside them, so a malicious tar file can use path traversal to overwrite arbitrary files, such as `/home/kali/.ssh/authorized_keys` via an absolute path. An attacker could thereby overwrite any file on the system, potentially leading to remote code execution or deletion of system, personal, or application files.
Mitigation
The source does not state a fix yet. Check the original advisory for updates.
Affected packages in the Exposure Registry
Matched by package name and ecosystem. Each entry shows whether the package delegates to a language model and how many tracked packages depend on it.
- onnxPyPINo LLM dependency detected · 18 tracked dependents
Related items
- MediumResearchers Uncover Prompt Adware Hidden in OpenAI Codex Jailbreak ToolkitSimilar attack · The Hacker News
- InfoTop agent skill security resources — November 2026Similar attack · Adversa AI Blog
- HighCVE-2026-118627: MLflow SHAP load_explainer untrusted deserialization enables code executionSimilar attack · NVD/CVE Database
- HighCVE-2026-118623: MLflow PickleEvaluationArtifact remote code execution via untrusted pickleSimilar attack · NVD/CVE Database
- HighCVE-2026-88968: Claude Code Edit tool symlink race overwrites files outside workspace on macOSSimilar attack · NVD/CVE Database