CVE-2026-22777

ComfyUI-Manager is Vulnerable to CRLF Injection in Configuration Handler

Published Jan 10, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
ComfyUI-Manager is an extension designed to enhance the usability of ComfyUI. Prior to versions 3.39.2 and 4.0.5, an attacker can inject special characters into HTTP query parameters to add arbitrary configuration values to the config.ini file. This can lead to security setting tampering or modification of application behavior. This issue has been patched in versions 3.39.2 and 4.0.5.

Analysis

AI-generated

Technical impact

An injection flaw in the configuration handler of the ComfyUI‑Manager extension allows an attacker who can manipulate HTTP query parameters to embed malformed or malicious characters. When the handler processes these parameters it writes the values directly to the config.ini file, enabling arbitrary configuration entries to be added or existing ones overridden. The result is tampering with security settings or altering application behavior, potentially compromising confidentiality, integrity, or availability of the system that relies on those configurations.

Affected Systems

Vendors affected include Comfy‑Org’s ComfyUI‑Manager extension. Versions prior to 3.39.2 for the 3.x line and prior to 4.0.5 for the 4.x line are vulnerable.

Risk and Exploitability

The flaw is evaluated with a CVSS score of 7.5, indicating a high severity. Exploitation probability, measured by EPSS, is reported as less than 1%, suggesting that active attacks are rare but not impossible. The vulnerability is not listed in CISA’s KEV catalog. Attackers would need network access to send crafted HTTP requests to the manager’s configuration endpoint, making the vector network-based. If successful, they could modify system behaviour or subvert security controls without needing privileged local access.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade ComfyUI‑Manager to version 3.39.2 or later, or 4.0.5 or later, as the issue is fixed in these releases.
  • Restrict access to the configuration endpoint through network controls or authentication mechanisms.
  • Validate and sanitize all HTTP query parameters before processing them.

Generated by OpenCVE AI on April 18, 2026 at 16:30 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-562r-8445-54r2 ComfyUI-Manager is Vulnerable to CRLF Injection in Configuration Handler
History
Type Values Removed Values Added
First Time appeared Comfy comfyui-manager
CPEs cpe:2.3:a:comfy:comfyui-manager:*:*:*:*:*:*:*:*
Vendors & Products Comfy comfyui-manager
Type Values Removed Values Added
First Time appeared Comfy
Comfy comfyui
Vendors & Products Comfy
Comfy comfyui
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description ComfyUI-Manager is an extension designed to enhance the usability of ComfyUI. Prior to versions 3.39.2 and 4.0.5, an attacker can inject special characters into HTTP query parameters to add arbitrary configuration values to the config.ini file. This can lead to security setting tampering or modification of application behavior. This issue has been patched in versions 3.39.2 and 4.0.5.
Title ComfyUI-Manager is Vulnerable to CRLF Injection in Configuration Handler
Weaknesses CWE-93
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N'}

Weaknesses
  • CWE-93

    Improper Neutralization of CRLF Sequences ('CRLF Injection')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jan 12, 2026, 1:22 PM
Reserved
Jan 9, 2026, 6:27 PM
Status
Analyzed
Published
Jan 10, 2026, 7:16 AM
Modified
Jun 17, 2026, 10:20 AM