CVE-2026-5022 Langflow - Missing Authorization on download_image Endpoint

Medium 6.3 Published Updated

Unauthenticated attackers can download images from any flow by guessing flow IDs and file names, exposing sensitive data.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-5022?

CVE-2026-5022 is a medium-severity missing authorization vulnerability in Langflow Langflow, published on 27 Mar 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The '/api/v1/files/images/{flow_id}/{file_name}' endpoint does not enforce any authentication or authorization checks, allowing any unauthenticated user to download images belonging to any flow by knowing (or guessing) the flow ID and file name.

Weakness: CWE-862

Which versions are affected by CVE-2026-5022?

It affects 1 product.

Products include Langflow Langflow.

How do I fix CVE-2026-5022?

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

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2026-5022 being exploited?

There is no known exploitation of CVE-2026-5022 in the wild and no public exploit code.

All Langflow Langflow vulnerabilities

Sources

Also known as GHSA-jvx2-jcjj-x36h.

Is CVE-2026-5022 in your software?

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

Check your SBOMs for free