{
  "id": "CVE-2026-22777",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-22777",
  "published_at": "2026-01-10T06:43:21.579Z",
  "title": "ComfyUI-Manager is Vulnerable to CRLF Injection in Configuration Handler",
  "vendor": "Comfy-Org",
  "product": "ComfyUI-Manager",
  "cvss": {
    "score": 7.5,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2026-03-31T01:42:12Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 79.8,
    "repo": "wcnmwcis/CVE-2026-22777",
    "source": "github"
  },
  "poc_repo_count": 3,
  "exploit_count": 1,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-93",
  "cpes": [
    "cpe:2.3:a:comfy:comfyui-manager:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.5
  },
  "repos": [
    {
      "repo": "wcnmwcis/CVE-2026-22777",
      "url": "https://github.com/wcnmwcis/CVE-2026-22777",
      "created_at": "2026-03-31T01:42:12Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "listed by PoC Index",
      "suspicion_score": 15,
      "suspicious": false,
      "suspicion_reasons": [
        "owner account created less than 30 days before the repo"
      ],
      "status": "error",
      "owner_created_at": "2026-03-16T07:08:27Z"
    },
    {
      "repo": "Si13NTTT/CVE-2026-22777",
      "url": "https://github.com/Si13NTTT/CVE-2026-22777",
      "created_at": "2026-09-28T10:09:06Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2024-09-10T05:03:55Z"
    },
    {
      "repo": "e5dfdd568a75282b712b6d93a7a18e12/CVE-2026-22777",
      "url": "https://github.com/e5dfdd568a75282b712b6d93a7a18e12/CVE-2026-22777",
      "created_at": "2026-09-28T10:09:06Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2024-09-10T05:03:55Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "Comfy-Org",
        "product": "ComfyUI-Manager",
        "ranges": [
          "\u003e= 4.0.0, \u003c 4.0.5",
          "\u003c  3.39.2"
        ],
        "fixed_in": [
          "4.0.5",
          "3.39.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade ComfyUI-Manager to 4.0.5 or 3.39.2 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/Comfy-Org/ComfyUI-Manager/security/advisories/GHSA-562r-8445-54r2"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/Comfy-Org/ComfyUI-Manager/commit/f4fa394e0f03b013f1068c96cff168ad10bd0410"
      }
    ]
  },
  "exploit_refs": [
    {
      "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-22777.yaml",
      "source": "nuclei",
      "title": "nuclei template: ComfyUI-Manager \u003c 3.39.2 - CRLF Configuration Injection",
      "published_at": "2026-11-04T22:18:20Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    }
  ],
  "hunt_profile": [
    {
      "method": "GET",
      "path_template": "/api/manager/db_mode",
      "query_markers": [
        "value=test",
        "value="
      ],
      "ports": [
        8188,
        9099
      ],
      "protocol": "http",
      "repos": [
        "Si13NTTT/CVE-2026-22777",
        "e5dfdd568a75282b712b6d93a7a18e12/CVE-2026-22777"
      ],
      "repo_count": 2,
      "confidence": 0.7,
      "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"
      ]
    },
    {
      "method": "GET",
      "path_template": "/api/manager/reboot",
      "ports": [
        8188,
        9099
      ],
      "protocol": "http",
      "repos": [
        "Si13NTTT/CVE-2026-22777",
        "e5dfdd568a75282b712b6d93a7a18e12/CVE-2026-22777"
      ],
      "repo_count": 2,
      "confidence": 0.7,
      "evidence": [
        "Si13NTTT/CVE-2026-22777/autopwn.py:149",
        "e5dfdd568a75282b712b6d93a7a18e12/CVE-2026-22777/autopwn.py:149"
      ]
    },
    {
      "method": "GET",
      "path_template": "/api/manager/version",
      "ports": [
        8188,
        9099
      ],
      "protocol": "http",
      "repos": [
        "Si13NTTT/CVE-2026-22777",
        "e5dfdd568a75282b712b6d93a7a18e12/CVE-2026-22777"
      ],
      "repo_count": 2,
      "confidence": 0.7,
      "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"
      ]
    },
    {
      "method": "GET",
      "path_template": "/{var}.git/info/refs)",
      "ports": [
        8188,
        9099
      ],
      "protocol": "http",
      "repos": [
        "Si13NTTT/CVE-2026-22777",
        "e5dfdd568a75282b712b6d93a7a18e12/CVE-2026-22777"
      ],
      "repo_count": 2,
      "confidence": 0.7,
      "evidence": [
        "Si13NTTT/CVE-2026-22777/exploit.sh:94",
        "e5dfdd568a75282b712b6d93a7a18e12/CVE-2026-22777/exploit.sh:94"
      ]
    },
    {
      "method": "POST",
      "path_template": "/api/customnode/install/git_url",
      "body_markers": [
        "http://127.0.0.1/probe.git=",
        "http://127.0.0.1/probe.git",
        "http://"
      ],
      "content_type": "application/x-www-form-urlencoded",
      "ports": [
        8188,
        9099
      ],
      "protocol": "http",
      "repos": [
        "Si13NTTT/CVE-2026-22777",
        "e5dfdd568a75282b712b6d93a7a18e12/CVE-2026-22777"
      ],
      "repo_count": 2,
      "confidence": 0.7,
      "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"
      ]
    }
  ],
  "rules": []
}
