CVE-2025-67303: Comfyui manager ComfyUI-Manager Has An Unprotected Alternate Vulnerability

HIGH
Advisory Identifier: GHSA-95pq-hr8p-f5g7
CVSS 7.5
CWE-420
Published
Advisory Summary

CVE-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

CVE Identifier CVE-2025-67303
GHSA Identifier GHSA-95pq-hr8p-f5g7
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification CWE-420: Unprotected Alternate Channel
Affected Product Comfyui manager
Package Ecosystem PyPI
Published Date
Last Updated

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).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity High (I:H)
Availability None (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.

comfyui-manager fixed: 3.38
pip install comfyui-manager>=3.38
Verify Direct and Transitive Dependencies

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

### 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: - **Modify security settings**: Lower the security level from "strong" to "weak" to enable more dangerous operations - **Tamper with custom node sources**: Add malicious custom node repositories - **Manipulate snapshot data**: Corrupt or alter system snapshots - **Change manager behavior**: Alter various manager configuration settings #### 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 1. **Path Migration**: Configuration files moved from unprotected `user/default/ComfyUI-Manager/` to protected `user/__manager/` 2. **Protected Directory**: The new `__manager/` directory leverages ComfyUI's System User Protection API, which blocks external web API access 3. **Security Level Enforcement**: Settings below "normal" are automatically raised to "normal" during migration 4. **Legacy Backup**: Old data is backed up to `.legacy-manager-backup/` with startup reminders until manually deleted 5. **Fallback Protection**: If ComfyUI < v0.3.76, Manager forces "strong" security mode, blocking new installations until ComfyUI is updated #### Patch Details - **Commit**: `aaed1dc` - **Pull Request**: [ComfyUI-Manager/#2338](https://github.com/Comfy-Org/ComfyUI-Manager/pull/2338) [ComfyUI/#10966](https://github.com/Comfy-Org/ComfyUI/pull/10966) - **Changes**: +780 lines, −61 lines across 13 files --- ### 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 - [NVD - CVE-2025-67303](https://nvd.nist.gov/vuln/detail/CVE-2025-67303) - [ComfyUI-Manager v3.38 Security Migration Guide](https://github.com/Comfy-Org/ComfyUI-Manager/blob/main/docs/en/v3.38-userdata-security-migration.md) - [Patch Pull Request ComfyUI-Manager/#2338](https://github.com/Comfy-Org/ComfyUI-Manager/pull/2338) - [Patch Pull Request ComfyUI/#10966](https://github.com/Comfy-Org/ComfyUI/pull/10966) --- ### Credit This vulnerability was reported by **Ricter Zheng (ricterzheng / 郑杜涛)** from **Tencent Xuanwu Lab** <ricterzheng@tencent.com>

CVE-2025-67303 Affected Comfyui manager Versions

1 component(s)
Fixed Versions:
3.38
Product / Package Ecosystem Affected Versions Fixed Version
comfyui-manager
PyPI
< 3.38
3.38

References

Frequently Asked Questions

What is CVE-2025-67303?
CVE-2025-67303 is a security vulnerability in Comfyui manager involving ComfyUI-Manager has an Unprotected Alternate Channel (CWE-420) under CWE-420: Unprotected Alternate Channel.
Which Comfyui manager versions are affected?
Affected versions include releases prior to 3.38 across affected packages: comfyui-manager.
What version fixes CVE-2025-67303?
Upgrading to 3.38 (or the latest patched release for your respective branch) resolves the vulnerability.
Is comfyui-manager affected?
Yes, comfyui-manager is affected in releases prior to 3.38. Upgrade your dependency to 3.38 or later.
What is the CVSS score of CVE-2025-67303?
CVE-2025-67303 has a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N.
What CWE is associated with CVE-2025-67303?
CVE-2025-67303 is classified under CWE-420: Unprotected Alternate Channel (The product protects a primary channel, but it does not use the same level of protection for an alternate channel.).
How can I check PyPI dependencies for CVE-2025-67303?
Run the dependency tree command: 'pip show comfyui-manager'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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
  }
}