Submit #590921: ComfyUI v0.3.40 Improperly Controlled Modification of Object Prototype Attributeinfo

TitleComfyUI v0.3.40 Improperly Controlled Modification of Object Prototype Attribute
DescriptionComfyUI is vulnerable to python class pollution vulnerability. When a malicious controlLora model, containing the dotted pollution path in its state dict, is loaded via the controlNet loader, ComfyUI unconditionally patch model parameters based on the polluted key and their value, which can be abused leading to arbitrary internal state modification, thus achieving DoS attack.
Source⚠️ https://gist.github.com/superboy-zjc/f71b84ed074260a5e459581caa2f1fb2
User
 Gavin Zhong (UID 84092)
Submission06/05/2025 21:12 (1 Year ago)
Moderation06/15/2025 11:47 (10 days later)
StatusAccepted
VulDB entry312576 [comfyanonymous comfyui 0.3.40 /comfy/utils.py set_attr dynamically-determined object attributes]
Points19

Might our Artificial Intelligence support you?

Check our Alexa App!