comfyui-manager
Affected
- introduced
0, fixed3.38(ecosystem)
Fixed versions
3.38
Fix
- Fixed version
3.38pip install --upgrade comfyui-manager==3.38
Advisory
Also known as: CVE-2025-67303, GHSA-95pq-hr8p-f5g7
ComfyUI-Manager has an Unprotected Alternate Channel (CWE-420)
Impact
An Unprotected Alternate Channel (CWE-420) vulnerability was discovered in ComfyUI-Manager versions prior to 3.38.
Vulnerability Details
In affected versions, ComfyUI-Manager stored its configuration in the user/default/ComfyUI-Manager/ directory, which was accessible via ComfyUI's web APIs without proper access control. This unprotected alternate channel allowed remote attackers to read and manipulate configuration files and critical data through the web interface.
Potential Attack Scenarios
An attacker exploiting this vulnerability could:
Affected Configurations
| Configuration | Risk Level |
|---------------|------------|
| Systems running with --listen 0.0.0.0 (externally exposed) | HIGH |
| Systems behind reverse proxy without proper access control | MEDIUM |
| Local-only installations (default, localhost only) | NOT AFFECTED |
---
Patches
This issue has been patched in ComfyUI-Manager version 3.38.
Requirements
| Component | Minimum Version | Notes |
|-----------|-----------------|-------|
| ComfyUI | v0.3.76+ | Required for System User Protection API |
| ComfyUI-Manager | v3.38+ | Contains the security fix |
What the Patch Does
user/default/ComfyUI-Manager/ to protected user/__manager/__manager/ directory leverages ComfyUI's System User Protection API, which blocks external web API access.legacy-manager-backup/ with startup reminders until manually deletedPatch Details
aaed1dc---
Workarounds
If immediate upgrade is not possible, apply the following mitigations:
| Mitigation | Effectiveness | Effort |
|------------|---------------|--------|
| Remove --listen 0.0.0.0 flag (use localhost only) | HIGH | Low |
| Implement firewall rules to block external access to ComfyUI ports | HIGH | Medium |
| Use reverse proxy with authentication (e.g., nginx + basic auth) | HIGH | Medium |
| Restrict network access to trusted IPs only | MEDIUM | Low |
Note: These are temporary mitigations. Upgrading to v3.38+ is strongly recommended.
---
Resources
---
Credit
This vulnerability was reported by Ricter Zheng (ricterzheng / 郑杜涛) from Tencent Xuanwu Lab <[email protected]>
High Basis: CVSS v3 score 7.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
0, fixed 3.38 (ecosystem)3.38
3.38pip install --upgrade comfyui-manager==3.38Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: PyPA Advisory Database · CC BY 4.0