CVE-2026-22777
published 2026-01-10CVE-2026-22777: 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…
PriorityP348high7.5CVSS 3.1
AVNACLPRNUINSUCNIHAN
EPSS
0.31%
22.8th percentile
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.
Affected
4 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| comfy-org | comfyui-manager | < 3.39.2 | 3.39.2 |
| comfy-org | comfyui-manager | — | — |
| comfy | comfyui-manager | < 3.39.2 | 3.39.2 |
| comfy | comfyui-manager | >= 4.0.3 < 4.0.5 | 4.0.5 |
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
ComfyUI-Manager is Vulnerable to CRLF Injection in Configuration Handler
osv·2026-01-13
CVE-2026-22777 [HIGH] ComfyUI-Manager is Vulnerable to CRLF Injection in Configuration Handler
ComfyUI-Manager is Vulnerable to CRLF Injection in Configuration Handler
## Impact
**Vulnerability Type**: CRLF Injection via ConfigParser
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.
**Affected Users**: Users running ComfyUI-Manager in environments where ComfyUI is configured with the `--listen` option to allow remote access.
**CVSS Score**: 7.5 (High)
## Patches
Fixed in the following versions:
- **3.39.2** (v3.x branch)
- **4.0.5** (v4.x branch)
Sanitization logic was added to the `write_config()` function to remove CRLF and NULL characters from all string values.
## Workarounds
If upgrading is not possible
GHSA
ComfyUI-Manager is Vulnerable to CRLF Injection in Configuration Handler
ghsa·2026-01-13
CVE-2026-22777 [HIGH] CWE-93 ComfyUI-Manager is Vulnerable to CRLF Injection in Configuration Handler
ComfyUI-Manager is Vulnerable to CRLF Injection in Configuration Handler
## Impact
**Vulnerability Type**: CRLF Injection via ConfigParser
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.
**Affected Users**: Users running ComfyUI-Manager in environments where ComfyUI is configured with the `--listen` option to allow remote access.
**CVSS Score**: 7.5 (High)
## Patches
Fixed in the following versions:
- **3.39.2** (v3.x branch)
- **4.0.5** (v4.x branch)
Sanitization logic was added to the `write_config()` function to remove CRLF and NULL characters from all string values.
## Workarounds
If upgrading is not possible
No detection rules found.
No public exploits indexed.
2026-01-10
Published