CVE Explorer
CVE-2026-56671
ComfyUI is a modular diffusion model GUI, api and backend with a graph/nodes interface. Prior to 0.28.0, get_model_preview in app/model_manager.py joins an unrestricted filename route capture to a selected model directory without a containment check, allowing an unauthenticated remote attacker to use traversal, encoded traversal, absolute paths, or an unbounded path_index to read image-decodable files and enumerate host paths. get_model_preview (app/model_manager.py) built the path with os.path.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"ComfyUI","vendor":"Comfy-Org","versions":[{"status":"affected","version":"< 0.28.0"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:e6af500ebc4fbdf256fa5d5ae63a80a85b2acec1fb48470a42942f7ea6ccb487 · sha256:90fdf93fb71a937d… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:e6af500ebc4fbdf256fa5d5ae63a80a85b2acec1fb48470a42942f7ea6ccb487 · sha256:90fdf93fb71a937d… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-22","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:e6af500ebc4fbdf256fa5d5ae63a80a85b2acec1fb48470a42942f7ea6ccb487 · sha256:90fdf93fb71a937d… · /containers/cna/problemTypes/0/descriptions/0
Source references
3 source assertions{"name":"https://github.com/Comfy-Org/ComfyUI/pull/14734","tags":["x_refsource_MISC"],"url":"https://github.com/Comfy-Org/ComfyUI/pull/14734"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:e6af500ebc4fbdf256fa5d5ae63a80a85b2acec1fb48470a42942f7ea6ccb487 · sha256:90fdf93fb71a937d… · /containers/cna/references/1
{"name":"https://github.com/Comfy-Org/ComfyUI/releases/tag/v0.28.0","tags":["x_refsource_MISC"],"url":"https://github.com/Comfy-Org/ComfyUI/releases/tag/v0.28.0"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:e6af500ebc4fbdf256fa5d5ae63a80a85b2acec1fb48470a42942f7ea6ccb487 · sha256:90fdf93fb71a937d… · /containers/cna/references/2
{"name":"https://github.com/Comfy-Org/ComfyUI/security/advisories/GHSA-pj59-g5vv-74q4","tags":["x_refsource_CONFIRM"],"url":"https://github.com/Comfy-Org/ComfyUI/security/advisories/GHSA-pj59-g5vv-74q4"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:e6af500ebc4fbdf256fa5d5ae63a80a85b2acec1fb48470a42942f7ea6ccb487 · sha256:90fdf93fb71a937d… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.