Incident report
ComfyUI-Manager CRLF Injection Overwriting config.ini Security Settings
CVE-2026-22777 (CVSS 7.5, published January 9, 2026) disclosed a CRLF configuration injection vulnerability in ComfyUI-Manager prior to versions `3.39.2` and `4.0.5`. By embedding carriage-return and line-feed characters into HTTP query parameters processed by configuration update routes, remote attackers could inject arbitrary directives into `config.ini`, weakening security levels to allow remote custom-node code execution. Exposed GPU workstations running generative media pipelines were rapidly targeted by automated botnet scanners. Maintainers patched input sanitization in v3.39.2 and v4.0.5.
Incident record
- Reported
- Severity
- High
- Vector
- Exposed Infrastructure
- Affected system type
- Modular Node-Based Diffusion & AI Workflow Runtimes
- Reference
CVE-2026-22777- Reference URI
https://nvd.nist.gov/vuln/detail/CVE-2026-22777
Defensive lesson
Strip CR/LF control characters from all INI/YAML configuration write parameters and require authentication on all local AI workflow management routes.
Referenced techniques
- Exploit Public-Facing Application AML.T0049
- Modify AI Agent Configuration AML.T0081
- Exploitation for Defense Evasion AML.T0107
- Misconfigured or Publicly Exposed AI Services AML.T0132