AI Stack Alert Medium TD-2026-0161 For AI Eng, AppSec, SOC / IR AI-assisted
PyTorch AOTInductor model package loader directory traversal leads to code execution (ZDI-26-1057, unpatched)
ZDI published advisory ZDI-26-1057 describing a directory traversal flaw in the AOTInductor model package loader in PyTorch. The flaw stems from missing validation of a user-supplied path before file operations. The vendor rejected the report as expected behavior, and the advisory lists no patch.
Why it matters
Organizations that load untrusted PyTorch model packages may allow an attacker to run code as the current user. The advisory states user interaction is required, such as visiting a malicious page or opening a malicious file.
Do this
- Inventory systems running PyTorch and identify where AOTInductor model packages are loaded.
- Restrict loading of AOTInductor model packages to trusted sources only until a fix or vendor position is available.
- Run PyTorch workloads under least-privilege accounts to limit impact of code execution.
- Monitor for unexpected file access outside expected model directories by processes that load PyTorch models.
Signals
- NoCISA KEV
- 24/100Priority
- 60%Confidence
Evidence
“The issue results from the lack of proper validation of a user-supplied path prior to using it in file operations.”
“09/15/26 - the vendor rejected the report as expected behavior and closed the advisory”
“Given the nature of the vulnerability, the only salient mitigation strategy is to restrict interaction with the product”
Sources
- Zero Day Initiative: published advisories
- Zero Day Initiative: published advisories
- Zero Day Initiative: published advisories
- Zero Day Initiative: published advisories
Affected / related
PyTorch, Directory traversal, PyTorch Foundation
Published 2026-11-24 06:00 UTC · updated 2026-11-24 18:35 UTC · AI-assisted summary, checked against quoted sources · How we score