Body Background
TrendAI™ Zero Day Initiative™ Logo

Tencent MedicalNet generate_model Deserialization of Untrusted Data Remote Code Execution Vulnerability

December 1st, 2025

Vulnerability Details

This vulnerability allows remote attackers to execute arbitrary code on affected installations of Tencent MedicalNet. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.

The specific flaw exists within the generate_model function. The issue results from the lack of proper validation of user-supplied data, which can result in deserialization of untrusted data. An attacker can leverage this vulnerability to execute code in the context of root.

Additional Details

Tencent has issued an update to correct this vulnerability. More details can be found at:
https://github.com/Tencent/MedicalNet/commit/1679f7ced8fd3e9ce1acc3b86cd840b5abdaa836

Disclosure Timeline

  • 2025-05-22 - Vulnerability reported to vendor
  • 2025-12-01 - Coordinated public release of advisory
  • 2025-12-01 - Advisory Updated

Credit

Peter Girnus (@gothburz) of Trend Zero Day Initiative

Back to Advisories

Hero Background

Stand at the front line of proactive security

Trend ZDI connects the experts who discover, remediate, and defend.
Add your voice to the work that pushes attackers back.