Comfy-Org ComfyUI-Manager
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 4.0.0, < 4.0.5
- < 3.39.2
Fixed in 4.0.5, 3.39.2
Mitigation
Upgrade ComfyUI-Manager to 4.0.5 or 3.39.2 or later.
References
Timeline
Days relative to CVE publicationFirst public PoC 80 days after publication; not in CISA KEV. First PoC: wcnmwcis/CVE-2026-22777 (created 31 Mar 2026, found by us: backfilled).
PoC repositories
Found on GitHub.3 PoCs
PoCs 3
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| wcnmwcis/CVE-2026-22777 | 31 Mar 2026 +80 d | 0 | PoC via PoC Index
Flags · score 15
Below the suspicion threshold (50); does not change the assessment. |
| Si13NTTT/CVE-2026-22777 | 28 Sep 2026 +261 d | 0 | PoC |
| e5dfdd568a75282b712b6d93a7a18e12/CVE-2026-22777 | 28 Sep 2026 +261 d | 0 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| nuclei template | nuclei template: ComfyUI-Manager < 3.39.2 - CRLF Configuration Injection | 4 Nov 2026 | 14 Nov 2026 |
PoC characteristics
What to hunt for in your logs · from 3 PoC reposGET /api/manager/db_mode
- Query
value=testvalue=- Ports
- 8188, 9099
- Seen in
- 2 repos: Si13NTTT/CVE-2026-22777, e5dfdd568a75282b712b6d93a7a18e12/CVE-2026-22777
- Evidence
- Si13NTTT/CVE-2026-22777/README.md:79 Si13NTTT/CVE-2026-22777/autopwn.py:143 e5dfdd568a75282b712b6d93a7a18e12/CVE-2026-22777/README.md:79 e5dfdd568a75282b712b6d93a7a18e12/CVE-2026-22777/autopwn.py:143
GET /api/manager/reboot
- Ports
- 8188, 9099
- Seen in
- 2 repos: Si13NTTT/CVE-2026-22777, e5dfdd568a75282b712b6d93a7a18e12/CVE-2026-22777
- Evidence
- Si13NTTT/CVE-2026-22777/autopwn.py:149 e5dfdd568a75282b712b6d93a7a18e12/CVE-2026-22777/autopwn.py:149
GET /api/manager/version
- Ports
- 8188, 9099
- Seen in
- 2 repos: Si13NTTT/CVE-2026-22777, e5dfdd568a75282b712b6d93a7a18e12/CVE-2026-22777
- Evidence
- Si13NTTT/CVE-2026-22777/README.md:71 Si13NTTT/CVE-2026-22777/autopwn.py:190 e5dfdd568a75282b712b6d93a7a18e12/CVE-2026-22777/README.md:71 e5dfdd568a75282b712b6d93a7a18e12/CVE-2026-22777/autopwn.py:190
GET /{var}.git/info/refs)
- Ports
- 8188, 9099
- Seen in
- 2 repos: Si13NTTT/CVE-2026-22777, e5dfdd568a75282b712b6d93a7a18e12/CVE-2026-22777
- Evidence
- Si13NTTT/CVE-2026-22777/exploit.sh:94 e5dfdd568a75282b712b6d93a7a18e12/CVE-2026-22777/exploit.sh:94
POST /api/customnode/install/git_url
- Body markers
http://127.0.0.1/probe.git=http://127.0.0.1/probe.githttp://inapplication/x-www-form-urlencoded- Ports
- 8188, 9099
- Seen in
- 2 repos: Si13NTTT/CVE-2026-22777, e5dfdd568a75282b712b6d93a7a18e12/CVE-2026-22777
- Evidence
- Si13NTTT/CVE-2026-22777/README.md:86 Si13NTTT/CVE-2026-22777/autopwn.py:159 Si13NTTT/CVE-2026-22777/autopwn.py:178 e5dfdd568a75282b712b6d93a7a18e12/CVE-2026-22777/README.md:86 e5dfdd568a75282b712b6d93a7a18e12/CVE-2026-22777/autopwn.py:159 e5dfdd568a75282b712b6d93a7a18e12/CVE-2026-22777/autopwn.py:178
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/api/manager/db_mode\?(?:.*&)?value=test.*value=
(?i)^/api/manager/reboot(?:[?#].*)?$
(?i)^/api/manager/version(?:[?#].*)?$
(?i)^/[^/?#]*\.git/info/refs\)(?:[?#].*)?$
(?i)^/api/customnode/install/git_url(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [8188,9099] (msg:"GG PoC-Monitor CVE-2026-22777 Comfy-Org ComfyUI-Manager exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/api/manager/db_mode"; http.uri; content:"value=test"; http.uri; content:"value="; reference:url,poc.griffinguard.io/cve/CVE-2026-22777; classtype:web-application-attack; sid:9270518; rev:1;)
alert http any any -> $HOME_NET [8188,9099] (msg:"GG PoC-Monitor CVE-2026-22777 Comfy-Org ComfyUI-Manager exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/api/manager/reboot"; reference:url,poc.griffinguard.io/cve/CVE-2026-22777; classtype:web-application-attack; sid:9109207; rev:1;)
alert http any any -> $HOME_NET [8188,9099] (msg:"GG PoC-Monitor CVE-2026-22777 Comfy-Org ComfyUI-Manager exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/api/manager/version"; reference:url,poc.griffinguard.io/cve/CVE-2026-22777; classtype:web-application-attack; sid:9472250; rev:1;)
alert http any any -> $HOME_NET [8188,9099] (msg:"GG PoC-Monitor CVE-2026-22777 Comfy-Org ComfyUI-Manager exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:".git/info/refs)"; reference:url,poc.griffinguard.io/cve/CVE-2026-22777; classtype:web-application-attack; sid:9079709; rev:1;)
alert http any any -> $HOME_NET [8188,9099] (msg:"GG PoC-Monitor CVE-2026-22777 Comfy-Org ComfyUI-Manager exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/api/customnode/install/git_url"; http.request_body; content:"http://127.0.0.1/probe.git="; http.request_body; content:"http://127.0.0.1/probe.git"; http.request_body; content:"http://"; reference:url,poc.griffinguard.io/cve/CVE-2026-22777; classtype:web-application-attack; sid:9587770; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: Comfy-Org ComfyUI-Manager exploit attempt (CVE-2026-22777)
id: gg-pocmon-cve-2026-22777-9270518
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-22777. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-22777
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/api/manager/db_mode'
cs-uri-query|contains|all:
- 'value=test'
- 'value='
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.22777
title: Comfy-Org ComfyUI-Manager exploit attempt (CVE-2026-22777)
id: gg-pocmon-cve-2026-22777-9109207
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-22777. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-22777
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/api/manager/reboot'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.22777
title: Comfy-Org ComfyUI-Manager exploit attempt (CVE-2026-22777)
id: gg-pocmon-cve-2026-22777-9472250
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-22777. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-22777
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/api/manager/version'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.22777
title: Comfy-Org ComfyUI-Manager exploit attempt (CVE-2026-22777)
id: gg-pocmon-cve-2026-22777-9079709
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-22777. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-22777
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '.git/info/refs)'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.22777
title: Comfy-Org ComfyUI-Manager exploit attempt (CVE-2026-22777)
id: gg-pocmon-cve-2026-22777-9587770
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-22777. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-22777
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/api/customnode/install/git_url'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.22777