Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
🐍 PyPI

GHSA-95pq-hr8p-f5g7

HIGH

ComfyUI-Manager has an Unprotected Alternate Channel (CWE-420)

Also known asCVE-2025-67303PYSEC-2026-2422
Published
Jun 22, 2026
Updated
Jul 13, 2026
Affected
1 pkg
Patched
1 / 1
Exploits
None indexed

Blast Radius

1 pkg affected
🐍comfyui-manager

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects PyPI packages — download data is not available via public APIs for these ecosystems.

Description

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

ConfigurationRisk Level
Systems running with --listen 0.0.0.0 (externally exposed)HIGH
Systems behind reverse proxy without proper access controlMEDIUM
Local-only installations (default, localhost only)NOT AFFECTED

Patches

This issue has been patched in ComfyUI-Manager version 3.38.

Requirements

ComponentMinimum VersionNotes
ComfyUIv0.3.76+Required for System User Protection API
ComfyUI-Managerv3.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


Workarounds

If immediate upgrade is not possible, apply the following mitigations:

MitigationEffectivenessEffort
Remove --listen 0.0.0.0 flag (use localhost only)HIGHLow
Implement firewall rules to block external access to ComfyUI portsHIGHMedium
Use reverse proxy with authentication (e.g., nginx + basic auth)HIGHMedium
Restrict network access to trusted IPs onlyMEDIUMLow

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]

Affected Packages

1 total 1 fixed
EcosystemPackageVulnerable rangeFix
🐍PyPIcomfyui-managerall versions3.38

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for comfyui-manager. O3's reachability analysis confirms whether the vulnerable code path is actually invoked in your application, so you act on real exposure instead of every transitive match.

  2. Fix

    Update comfyui-manager to 3.38 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-95pq-hr8p-f5g7 is resolved across your whole dependency graph.

  3. Workarounds

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

  4. How O3 protects you

    O3 pinpoints whether GHSA-95pq-hr8p-f5g7 is reachable in your code and exactly where to fix it, then blocks exploitation in production at runtime until the patched version is deployed.

Tailored to GHSA-95pq-hr8p-f5g7. Runtime protection reduces exposure until a permanent patch is applied and verified — it complements patching, it doesn't replace it.

Frequently Asked Questions

### 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 s
O3 Security · Impact-Aware SCA

Is GHSA-95pq-hr8p-f5g7 in your dependencies?

O3 detects GHSA-95pq-hr8p-f5g7 across PyPI dependencies and uses function-level reachability to confirm whether the vulnerable code path is actually reachable — not just present. No false positives.