-
Notifications
You must be signed in to change notification settings - Fork 11.1k
Closed
Labels
Potential BugUser is reporting a bug. This should be tested.User is reporting a bug. This should be tested.
Description
Expected Behavior
This is the reference document of pytorch. Use the safe parameter weights_only=True

Actual Behavior




default to set safe_load=False which leading to pickle deserialization vulnerability
Steps to Reproduce
- Comfyui provides a rich set of node nodes, and there are many interfaces that can download models from remote locations such as huggingface, github, etc. to the server.
- When a malicious model is constructed and uploaded to the server, and then the checkpointloadersimple node is used, remote code execution can occur, causing serious network security hazards.
Debug Logs
refer to steps to reproduceOther
As a very influential open source project, we suggest you enable the Security Policy feature of GitHub. For sensitive information, you can communicate through other channels instead of issues.
Metadata
Metadata
Assignees
Labels
Potential BugUser is reporting a bug. This should be tested.User is reporting a bug. This should be tested.
