CVE-2026-22777
ComfyUI-Manager is Vulnerable to CRLF Injection in Configuration Handler
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- High
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used
7.5
ComfyUI-Manager is Vulnerable to CRLF Injection in Configuration Handler
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.
- Record
CVE-2026-22777- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - Weakness
- CWE-93
- Updated
- 2026-11-02
EUVDEUVD-2026-1864
7.5
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.
- Record
EUVD-2026-1864- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-562r-8445-54r2
7.5
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:
- Run ComfyUI-Manager only on trusted networks
- Block external access via firewall
- Run on localhost only without the
--listenoption
References
Credit
This vulnerability was reported by:
- 李存义 [email protected]
- D0n9 Li [email protected]
- Swings [email protected]
- Osword from SGLAB of Legendsec at Qi'anxin Group [email protected]
- Record
GHSA-562r-8445-54r2- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - Weakness
- CWE-93
- Updated
- 2026-11-02
NVD
7.5
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.
- Record
CVE-2026-22777- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - Weakness
- CWE-93
- Updated
- 2026-11-02
OSV
7.5
ComfyUI-Manager is Vulnerable to CRLF Injection in Configuration Handler
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.
- Record
CVE-2026-22777- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - Weakness
- CWE-93
- Updated
- 2026-11-02
OSVGHSA-562r-8445-54r2
7.5
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:
- Run ComfyUI-Manager only on trusted networks
- Block external access via firewall
- Run on localhost only without the
--listenoption
References
Credit
This vulnerability was reported by:
- 李存义 [email protected]
- D0n9 Li [email protected]
- Swings [email protected]
- Osword from SGLAB of Legendsec at Qi'anxin Group [email protected]
- Record
GHSA-562r-8445-54r2- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - Weakness
- CWE-93
- Updated
- 2026-11-02
OSVPYSEC-2026-1260
7.5
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:
- Run ComfyUI-Manager only on trusted networks
- Block external access via firewall
- Run on localhost only without the
--listenoption
References
Credit
This vulnerability was reported by:
- 李存义 [email protected]
- D0n9 Li [email protected]
- Swings [email protected]
- Osword from SGLAB of Legendsec at Qi'anxin Group [email protected]
- Record
PYSEC-2026-1260- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
comfy-cliPyPI |
4.0.0 to 4.0.4 | 4.0.5 |
comfy-cliPyPI |
before 3.39.2 | 3.39.2 |
comfy-cliPyPI |
4.0.0 up to 4.0.5 | 4.0.5 |
comfy-cliPyPI |
before 3.39.2, plus listed versions 0.0.100.0.110.0.120.0.130.0.14 Show 45 moreShow less0.0.150.0.160.0.170.0.180.0.190.0.200.0.20.dev00.0.20.dev10.0.210.0.21.dev00.0.21.dev10.0.21.dev130.0.21.dev140.0.21.dev20.0.21.dev30.0.21.dev40.0.21.dev80.0.21.dev90.0.220.0.230.0.240.0.250.0.260.0.280.0.290.0.310.0.320.0.80.0.91.0.321.0.331.0.341.0.351.0.361.1.01.1.11.1.21.1.31.1.41.1.51.1.61.1.71.1.81.10.01.10.1 |
3.39.2 |
comfy-cliPyPI |
before 3.39.2, 4.0.0 up to 4.0.5, plus listed versions 0.0.100.0.110.0.120.0.130.0.14 Show 45 moreShow less0.0.150.0.160.0.170.0.180.0.190.0.200.0.20.dev00.0.20.dev10.0.210.0.21.dev00.0.21.dev10.0.21.dev130.0.21.dev140.0.21.dev20.0.21.dev30.0.21.dev40.0.21.dev80.0.21.dev90.0.220.0.230.0.240.0.250.0.260.0.280.0.290.0.310.0.320.0.80.0.91.0.321.0.331.0.341.0.351.0.361.1.01.1.11.1.21.1.31.1.41.1.51.1.61.1.71.1.81.10.01.10.1 |
3.39.24.0.5 |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| PoC in GitHub | Si13NTTT/CVE-2026-22777 | 2026-09-28 |
| Nuclei | ComfyUI-Manager < 3.39.2 - CRLF Configuration Injection |
History
| Recorded | Changed | Sources |
|---|---|---|
| exploits, facts | Nuclei | |
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV, PoC in GitHub |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2026-22777 is a high vulnerability (CVSS 7.5) in Comfy Comfyui-manager, published January 10, 2026. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 0.87%, the 58th percentile. Fixed in comfy-cli 4.0.5.
References
github.com/Comfy-Org/ComfyUI-Manager/security/advisories/GHSA-562r-8445-54r2
github.com/Comfy-Org/ComfyUI-Manager/commit/f4fa394e0f03b013f1068c96cff168ad10bd0410
nvd.nist.gov/vuln/detail/CVE-2026-22777
github.com/Comfy-Org/ComfyUI-Manager/commit/ef8703a3d7ab4e6ecda8f96e0c5816c23d1cb262
github.com/advisories/GHSA-562r-8445-54r2
github.com/CVEProject/cvelistV5/tree/main/cves/2026/22xxx/CVE-2026-22777.json
github.com/Comfy-Org/ComfyUI-Manager
pypi.org/project/comfy-cli
Left out here: 90 versions. The JSON record has them.