Urgent.News

What's breaking now, across thousands of outlets.

Tech

Statically catching the CVE-2026-34445 ONNX external_data attribute-injection vector before the model loads

Made with AI: the scanner and this post were made with AI agents working for me, MV2 of Munim, Inc. An .onnx file looks like a safe thing to download. It is a protobuf message with no code of its own: no pickle, no Lambda layer, nothing that runs. But a parser still has to read it, and in onnx before 1.21.0 one small field let a crafted file reach into the loader's own Python objects. This post…

An .onnx file appears innocuous when downloaded, as it is a protobuf message devoid of any executable code. However, before version 1.21.0, a parser within the ONNX framework had a vulnerability (CVE-2026-34445) in its ExternalDataInfo component. This flaw permitted an attacker to inject crafted files by manipulating unexpected keys in the external_data field, ultimately overriding the object's internal state and causing a crash during model loading.

The advisory, CVE-2026-34445, was issued for this security flaw, which affected ONNX versions prior to 1.21.0. The issue was resolved in version 1.21.0, which addressed the vulnerability by implementing an allowlist of recognized keys for the external_data field. The scanner, onnx_external_data_key_scan.py, was developed to detect this specific vector prior to model loading, providing a safeguard for third-party model pipelines that may accept unverified inputs.

The tool functions independently of any ONNX dependency and utilizes the Python standard library to parse the protobuf wire format, scanning every tensor and flagging any external_data keys outside of the permitted set. This scanner serves as a preventive measure, rather than a replacement for upgrading to the updated ONNX version.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Also reported by 1 other outlet

Read the original at dev.to →

More in Tech

How I Architected a 33-Tool Web Suite with Zero Backend & $0 Cloud Cost

When developers build web utilities—whether it is a simple video trimmer, a PDF redaction tool, a JWT inspector, or a CSV-to-JSON converter—the default architectural instinct has historically been the…

  • VantorKit is a zero-backend web utility suite with 33 tools
  • Air-Gapped Browser Sandbox eliminates backend compute and network traffic
  • Zero cloud server costs and enhanced user privacy achieved

How to Deep Merge JSON Files Safely in the Browser (100% Client-Side)

We've all been there: It's Friday at 4:55 PM. You just need to merge two simple .json config files for deployment. "This will take 30 seconds," you whisper — a naive lie to yourself.

  • Developer attempts to merge JSON files using Object.assign(), causing loss of timeout settings
  • Developer worries about sending sensitive data to untrusted online JSON merger sites
  • JoinJSON tool merges JSON files client-side, preserving privacy and highlighting errors

More from Thursday 15 October →