CVE-2026-11329: onnx-mlir: weak hash enables model cache poisoning

LOW
Published June 5, 2026
CISO Take

The generate_hash_key function in onnx-mlir's PyTorch backend uses a cryptographically weak hashing algorithm (CWE-327/328) for its placeholder node compilation cache, creating conditions for hash collisions that could cause the compiler to serve incorrect or attacker-influenced cached artifacts. With a CVSS of 3.6 (Low), local-only attack vector, high complexity required, and no exploitation evidence — absent from CISA KEV, no EPSS data, no public exploits or scanner templates — this poses minimal operational risk in practice. The blast radius is confined to on-premises ML compilation pipelines running onnx-mlir up to version 0.5.0.0, with limited integrity and availability impact (I:L, A:L). Apply patch commit 72c5187ff6d13c2c2b3d3789b8f5faf99f08a5b4 from PR #3427 or upgrade onnx-mlir beyond 0.5.0.0 when a fixed release is tagged.

Sources: NVD ATLAS

What is the risk?

Low operational risk. The attack is constrained to local access (AV:L) with high complexity (AC:H) and a low-privilege requirement — a profile where more direct attack paths typically exist. No public exploits, no CISA KEV entry, and no EPSS data are available. Both integrity and availability impacts are rated Low in CVSS, and confidentiality is unaffected (C:N). Practical exploitation requires an attacker with local access and deep familiarity with the onnx-mlir compilation cache internals and hash collision mechanics, making this an unlikely attack vector in real-world adversarial scenarios.

Attack Kill Chain

Local Access
Attacker obtains low-privilege local access to a system running onnx-mlir for ONNX model compilation.
AML.T0012
Hash Collision Crafting
Attacker engineers ONNX graph node identifiers that produce collisions under the weak hash algorithm used by the placeholder node cache handler.
AML.T0010.001
Cache Poisoning
The colliding hash keys cause the compilation cache to return a previously stored or attacker-staged artifact instead of recompiling the legitimate model node.
AML.T0031
Integrity Impact
The compiled model binary produces incorrect inference outputs silently, undermining model reliability in downstream deployment without triggering visible errors.

Severity & Risk

CVSS 3.1
3.6 / 10
EPSS
N/A
Exploitation Status
No known exploitation
Sophistication
Advanced

Attack Surface

AV AC PR UI S C I A
AV Local
AC High
PR Low
UI None
S Unchanged
C None
I Low
A Low

What should I do?

5 steps
  1. Apply patch commit 72c5187ff6d13c2c2b3d3789b8f5faf99f08a5b4 from the onnx-mlir repository (PR #3427).

  2. Upgrade onnx-mlir beyond version 0.5.0.0 once a fixed release is tagged upstream.

  3. If patching is not immediately possible, restrict local system access to users who require onnx-mlir compilation.

  4. Validate compiled model outputs against known-good baselines in CI/CD pipelines to detect anomalous behavior indicative of cache corruption.

  5. Audit multi-tenant model compilation environments where different users share the same onnx-mlir cache directory.

Classification

Supply Chain Model Poisoning Framework Inference AML.T0010.001 AML.T0031

Compliance Impact

This CVE is relevant to:

EU AI Act
Article 15 - Accuracy, robustness and cybersecurity
ISO 42001
8.4 - AI system operation
NIST AI RMF
MEASURE 2.5 - AI system integrity and quality

Frequently Asked Questions

What is CVE-2026-11329?

The generate_hash_key function in onnx-mlir's PyTorch backend uses a cryptographically weak hashing algorithm (CWE-327/328) for its placeholder node compilation cache, creating conditions for hash collisions that could cause the compiler to serve incorrect or attacker-influenced cached artifacts. With a CVSS of 3.6 (Low), local-only attack vector, high complexity required, and no exploitation evidence — absent from CISA KEV, no EPSS data, no public exploits or scanner templates — this poses minimal operational risk in practice. The blast radius is confined to on-premises ML compilation pipelines running onnx-mlir up to version 0.5.0.0, with limited integrity and availability impact (I:L, A:L). Apply patch commit 72c5187ff6d13c2c2b3d3789b8f5faf99f08a5b4 from PR #3427 or upgrade onnx-mlir beyond 0.5.0.0 when a fixed release is tagged.

Is CVE-2026-11329 actively exploited?

No confirmed active exploitation of CVE-2026-11329 has been reported, but organizations should still patch proactively.

How to fix CVE-2026-11329?

1. Apply patch commit 72c5187ff6d13c2c2b3d3789b8f5faf99f08a5b4 from the onnx-mlir repository (PR #3427). 2. Upgrade onnx-mlir beyond version 0.5.0.0 once a fixed release is tagged upstream. 3. If patching is not immediately possible, restrict local system access to users who require onnx-mlir compilation. 4. Validate compiled model outputs against known-good baselines in CI/CD pipelines to detect anomalous behavior indicative of cache corruption. 5. Audit multi-tenant model compilation environments where different users share the same onnx-mlir cache directory.

What systems are affected by CVE-2026-11329?

This vulnerability affects the following AI/ML architecture patterns: model compilation infrastructure, training pipelines, model serving.

What is the CVSS score for CVE-2026-11329?

CVE-2026-11329 has a CVSS v3.1 base score of 3.6 (LOW).

AI Security Impact

Affected AI Architectures

model compilation infrastructuretraining pipelinesmodel serving

MITRE ATLAS Techniques

AML.T0010.001 AI Software
AML.T0031 Erode AI Model Integrity

Compliance Controls Affected

EU AI Act: Article 15
ISO 42001: 8.4
NIST AI RMF: MEASURE 2.5

Technical Details

Original Advisory

A vulnerability has been found in onnx onnx-mlir up to 0.5.0.0. Affected by this issue is the function generate_hash_key of the file src/Runtime/python/torch_onnxmlir/src/torch_onnxmlir/backend.py of the component Placeholder Node Cache Handler. Such manipulation leads to use of weak hash. An attack has to be approached locally. A high complexity level is associated with this attack. The exploitation is known to be difficult. The name of the patch is 72c5187ff6d13c2c2b3d3789b8f5faf99f08a5b4. Applying a patch is advised to resolve this issue.

Exploitation Scenario

An attacker with low-privilege local access to a system running onnx-mlir crafts ONNX graph node identifiers designed to produce collisions under the weak hash algorithm used by the placeholder node cache handler. When the legitimate model is subsequently compiled, the cache returns a previously stored artifact — potentially one the attacker has staged — instead of recompiling the node. The resulting compiled model binary produces subtly incorrect inference outputs. Because the error manifests at inference time rather than compilation time, the integrity corruption may go undetected in pipelines that lack output validation or baseline regression testing.

CVSS Vector

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L

Timeline

Published
June 5, 2026
Last Modified
June 5, 2026
First Seen
June 5, 2026

Related Vulnerabilities