CVE-2025-67303: Comfyui manager ComfyUI-Manager Has An Unprotected Alternate Vulnerability
HIGHCVE-2025-67303 is a HIGH (CVSS 7.5) comfyui-manager has an unprotected alternate vulnerability (CWE-420: Unprotected Alternate Channel) affecting Comfyui manager libraries in the PyPI ecosystem. The issue involves comfyui-manager has an unprotected alternate channel (cwe-420). Remediation is available by upgrading affected packages to version 3.38.
CVE-2025-67303 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N).
How to Fix CVE-2025-67303
To remediate this vulnerability, upgrade all affected Comfyui manager dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install comfyui-manager>=3.38
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show comfyui-manager
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2025-67303, inspect your installed packages using pip:
pip show comfyui-manager
Analyze the terminal output to locate any version of Comfyui manager in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.38), your application is affected.
Note: The pip show comfyui-manager command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-420: Unprotected Alternate Channel, where the product protects a primary channel, but it does not use the same level of protection for an alternate channel. In Comfyui manager, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-67303 Affected Comfyui manager Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
comfyui-manager
|
PyPI |
< 3.38
|
3.38
|
References
Frequently Asked Questions
What is CVE-2025-67303?
Which Comfyui manager versions are affected?
What version fixes CVE-2025-67303?
Is comfyui-manager affected?
What is the CVSS score of CVE-2025-67303?
What CWE is associated with CVE-2025-67303?
How can I check PyPI dependencies for CVE-2025-67303?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-95pq-hr8p-f5g7",
"modified" : "2026-06-22T19:58:24Z",
"published" : "2026-06-22T19:58:24Z",
"aliases" : [ "CVE-2025-67303" ],
"summary" : "ComfyUI-Manager has an Unprotected Alternate Channel (CWE-420)",
"details" : "### Impact\n\nAn **Unprotected Alternate Channel (CWE-420)** vulnerability was discovered in ComfyUI-Manager versions prior to 3.38.\n\n#### Vulnerability Details\n\nIn 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.\n\n#### Potential Attack Scenarios\n\nAn attacker exploiting this vulnerability could:\n- **Modify security settings**: Lower the security level from \"strong\" to \"weak\" to enable more dangerous operations\n- **Tamper with custom node sources**: Add malicious custom node repositories\n- **Manipulate snapshot data**: Corrupt or alter system snapshots\n- **Change manager behavior**: Alter various manager configuration settings\n\n#### Affected Configurations\n\n| Configuration | Risk Level |\n|---------------|------------|\n| Systems running with `--listen 0.0.0.0` (externally exposed) | **HIGH** |\n| Systems behind reverse proxy without proper access control | **MEDIUM** |\n| Local-only installations (default, localhost only) | **NOT AFFECTED** |\n\n---\n\n### Patches\n\nThis issue has been patched in **ComfyUI-Manager version 3.38**.\n\n#### Requirements\n\n| Component | Minimum Version | Notes |\n|-----------|-----------------|-------|\n| ComfyUI | v0.3.76+ | Required for System User Protection API |\n| ComfyUI-Manager | v3.38+ | Contains the security fix |\n\n#### What the Patch Does\n\n1. **Path Migration**: Configuration files moved from unprotected `user/default/ComfyUI-Manager/` to protected `user/__manager/`\n2. **Protected Directory**: The new `__manager/` directory leverages ComfyUI's System User Protection API, which blocks external web API access\n3. **Security Level Enforcement**: Settings below \"normal\" are automatically raised to \"normal\" during migration\n4. **Legacy Backup**: Old data is backed up to `.legacy-manager-backup/` with startup reminders until manually deleted\n5. **Fallback Protection**: If ComfyUI < v0.3.76, Manager forces \"strong\" security mode, blocking new installations until ComfyUI is updated\n\n#### Patch Details\n\n- **Commit**: `aaed1dc`\n- **Pull Request**: [ComfyUI-Manager/#2338](https://github.com/Comfy-Org/ComfyUI-Manager/pull/2338) [ComfyUI/#10966](https://github.com/Comfy-Org/ComfyUI/pull/10966)\n- **Changes**: +780 lines, −61 lines across 13 files\n\n---\n\n### Workarounds\n\nIf immediate upgrade is not possible, apply the following mitigations:\n\n| Mitigation | Effectiveness | Effort |\n|------------|---------------|--------|\n| Remove `--listen 0.0.0.0` flag (use localhost only) | **HIGH** | Low |\n| Implement firewall rules to block external access to ComfyUI ports | **HIGH** | Medium |\n| Use reverse proxy with authentication (e.g., nginx + basic auth) | **HIGH** | Medium |\n| Restrict network access to trusted IPs only | **MEDIUM** | Low |\n\n**Note**: These are temporary mitigations. Upgrading to v3.38+ is strongly recommended.\n\n---\n\n### Resources\n\n- [NVD - CVE-2025-67303](https://nvd.nist.gov/vuln/detail/CVE-2025-67303)\n- [ComfyUI-Manager v3.38 Security Migration Guide](https://github.com/Comfy-Org/ComfyUI-Manager/blob/main/docs/en/v3.38-userdata-security-migration.md)\n- [Patch Pull Request ComfyUI-Manager/#2338](https://github.com/Comfy-Org/ComfyUI-Manager/pull/2338)\n - [Patch Pull Request ComfyUI/#10966](https://github.com/Comfy-Org/ComfyUI/pull/10966)\n\n---\n\n### Credit\n\nThis vulnerability was reported by **Ricter Zheng (ricterzheng / 郑杜涛)** from **Tencent Xuanwu Lab** <ricterzheng@tencent.com>",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "comfyui-manager"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.38"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/Comfy-Org/ComfyUI-Manager/security/advisories/GHSA-95pq-hr8p-f5g7"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-67303"
}, {
"type" : "WEB",
"url" : "https://github.com/Comfy-Org/ComfyUI-Manager/pull/2338/commits/e44c5cef58fb4973670b86433b9d24d077b44a26"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/Comfy-Org/ComfyUI-Manager"
}, {
"type" : "WEB",
"url" : "https://github.com/Comfy-Org/ComfyUI-Manager/blob/main/docs/en/v3.38-userdata-security-migration.md"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-420" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-06-22T19:58:24Z",
"nvd_published_at" : null
}
}