Custom Node Testing
Expected Behavior
Requesting the /api/queue endpoint should only return basic information about the pending image generation requests.
Actual Behavior
It returns the users API key or JWT token if they are signed into ComfyUI's paid external node provider. This could result in monetary losses against publicly exposed ComfyUI instances, as a malicious actor could replay a legitimate users token against a paid node provider.
Steps to Reproduce
- Sign in to your comfyUI account
- Generate an image that will take a significant amount of time to generate
- Load http://comfyui-ip-address/api/queue in a new tab
- Note that your API key or JWT token is exposed depending on how you signed in
Debug Logs
Other
