Indonesia Healthcare Corporation IHC ICT Cybersecurity emblem
Theme
Language
0-Day / ZDI 0-Day High · CVSS 7.8

ZDI-26-1054: (0Day) PyTorch Foundation PyTorch FileSystemReader Deserialization of Untrusted Data Remote Code Execution Vulnerability

24 November 2026 ·CVE-2026-136432

Summary

This security advisory covers a Zero-Day (0-Day) Remote Code Execution (RCE) vulnerability in the FileSystemReader class of PyTorch (CVE-2026-136432 / ZDI-26-1054). The issue stems from the deserialization of untrusted data due to the lack of proper validation of user-supplied inputs. An attacker can leverage this flaw to execute arbitrary code within the context of the running process. The vendor (PyTorch Foundation) rejected the report as expected behavior, resulting in the public release of this advisory as a zero-day.

Affected Products

  • PyTorch Foundation PyTorch

Technical Details

The specific flaw exists within the FileSystemReader class in the PyTorch library. The issue results from improper validation of user-supplied data, leading to the deserialization of untrusted data.

While exploitation requires interaction with the library and user interaction (CVSS v3.1 score 7.8 with vector AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H), attack vectors may vary depending on the application's implementation. An attacker exploiting this deserialization vulnerability can achieve arbitrary code execution in the context of the current running process.

Impact

Successful exploitation allows remote attackers to execute arbitrary code on affected PyTorch installations.

  • Confidentiality: High — Attackers can gain access to read sensitive data and memory contents within the context of the running process.
  • Integrity: High — Attackers can modify data, alter files, or execute unauthorized commands.
  • Availability: High — Attackers can cause application crashes or denial of service conditions.

Mitigation & Remediation Recommendations

Given that the vendor rejected the vulnerability report as expected behavior and released no fix, the primary mitigation strategy is:

  • Restrict and strictly control interaction with the product, specifically untrusted data passed to the FileSystemReader class in PyTorch.
  • Ensure that files or model artifacts loaded into PyTorch originate exclusively from verified and trusted sources.
  • Apply the principle of least privilege to processes executing PyTorch to limit the scope of potential exploitation.

References

Advisory ini disajikan tim ICT Cybersecurity PT Pertamina Bina Medika IHC sebagai informasi kesadaran keamanan. Verifikasi pada sumber resmi sebelum tindakan.

Advisory Lain