HighVulnerability
CVE-2022-25882: onnx directory traversal through the external_data field of tensor proto
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2022-25882
- Published
- Record updated
- Affected
- onnx < 1.13.0
- Fixed in
- 1.13.0
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 1.6%
Summary
CVE-2022-25882 affects versions of the onnx package before 1.13.0. The external_data field of a tensor proto can contain a path to a file outside the model's current directory or a user-provided directory, such as "../../../etc/passwd". The weakness is classified as CWE-22, Improper Limitation of a Pathname to a Restricted Directory.
Mitigation
The source text references a patch commit (github.com/onnx/onnx/commit/f369b0e859024095d721f1d1612da5a8fa38988d) and a pull request (github.com/onnx/onnx/pull/4400), but does not explicitly state the fixed version or describe the fix in its own words. The affected range is versions before 1.13.0.
Related items
- CriticalCVE-2026-108263: Astron Agent code-node execution as root through workflow run endpointsSimilar attack · NVD/CVE Database
- MediumHackers abuse Google Ads, Bing redirects to push Claude ClickFix attacksSimilar attack · BleepingComputer
- CriticalHermes Agent - PKCE Session Takeover via Redirect-URI Parser ConfusionSimilar attack · Tenable Research Advisories
- LowSocial Engineering AI Agents: The New BEC for 2026Similar attack · Dark Reading
- HighGHSA-cv3g-hj65-pcfh: PraisonAI: Shell command allowlist bypass via find -exec built-in actionSimilar attack · GitHub Advisory Database