CVE-2025-68477 Langflow vulnerable to Server-Side Request Forgery

High 7.7 Published Updated

Attackers can exploit an API component to perform Server-Side Request Forgery, accessing internal resources and metadata services via crafted URLs.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2025-68477?

CVE-2025-68477 is a high-severity server-side request forgery vulnerability in Langflow Langflow, published on 19 Dec 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Langflow is a tool for building and deploying AI-powered agents and workflows. Prior to version 1.7.0, Langflow provides an API Request component that can issue arbitrary HTTP requests within a flow. This component takes a user-supplied URL, performs only normalization and basic format checks, and then sends the request using a server-side httpx client. It does not block private IP ranges (127[.]0[.]0[.]1, the 10/172/192 ranges) or cloud metadata endpoints (169[.]254[.]169[.]254), and it returns the response body as the result. Because the flow execution endpoints (/api/v1/run, /api/v1/run/advanced) can be invoked with just an API key, if an attacker can control the API Request URL in a flow, non-blind SSRF is possible—accessing internal resources from the server’s network context. This enables requests to, and collection of responses from, internal administrative endpoints, metadata services, and internal databases/services, leading to information disclosure and providing a foothold for further attacks. Version 1.7.0 contains a patch for this issue.

Weakness: CWE-918

Which versions are affected by CVE-2025-68477?

3 open source packages ship an affected version, including langflow. It affects 1 product.

PackageAffectedFixed in
langflow PyPIAll versions1.7.1
langflow PyPIAll versions1.7.1
langflow PyPIAll versions1.7.1

Products include Langflow Langflow.

How do I fix CVE-2025-68477?

Upgrade langflow to 1.7.1 or later.

Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.

Is CVE-2025-68477 being exploited?

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

All Langflow Langflow vulnerabilities

Sources

Also known as GHSA-5993-7p27-66g5, PYSEC-2026-1522.

Is CVE-2025-68477 in your software?

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

Check your SBOMs for free