CRLF Injection Affecting comfyui-manager package, versions [,4.0.5)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.32% (25th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about CRLF Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-COMFYUIMANAGER-14928094
  • published15 Jan 2026
  • disclosed13 Jan 2026
  • credit李存义, D0n9 Li, Swings, Osword

Introduced: 13 Jan 2026

CVE-2026-22777  (opens in a new tab)
CWE-93  (opens in a new tab)

How to fix?

Upgrade comfyui-manager to version 4.0.5 or higher.

Overview

comfyui-manager is a ComfyUI-Manager provides features to install and manage custom nodes for ComfyUI, as well as various functionalities to assist with ComfyUI.

Affected versions of this package are vulnerable to CRLF Injection via the write_config function. An attacker can alter configuration settings by injecting special characters into HTTP query parameters, which are then written to the configuration file.

Note: This is only exploitable if the application is run with the --listen option enabled, allowing remote access.

Workaround

This vulnerability can be mitigated by running the application only on trusted networks, blocking external access via firewall, or running on localhost only without the --listen option.

CVSS Base Scores

version 4.0
version 3.1