CVE-2026-19371 Nikolaibibo claude-comfyui-mcp comfy_upload_image utils.ts copyFileSync path traversal

Medium 4.8 Published Updated

Local attackers can exploit path traversal in the image upload utility to read or modify arbitrary files on the system.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-19371?

CVE-2026-19371 is a medium-severity path traversal vulnerability in Nikolaibibo claude-comfyui-mcp, published on 9 Aug 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A vulnerability was identified in Nikolaibibo claude-comfyui-mcp 1.0.0. Affected is the function copyFileSync of the file src/tools/utils.ts of the component comfy_upload_image. Such manipulation of the argument image_path leads to path traversal. An attack has to be approached locally. The project was informed of the problem early through an issue report but has not responded yet.

Weakness: CWE-22

Which versions are affected by CVE-2026-19371?

How do I fix CVE-2026-19371?

No fix has been published for CVE-2026-19371 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2026-19371 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-19371 exists.

Sources

Also known as GHSA-g57q-682f-hr5f.

Is CVE-2026-19371 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free