Intel

AIKIDO-2026-306750

langflow is vulnerable to Server-Side Request Forgery (SSRF)

CVE-2026-3341Published Jul 20, 2026
July 20, 2026

54

CVE Score

Medium

Server-Side Request Forgery (SSRF)

Are you affected? Scan for Free

TL;DR

Langflow's SSRF protection validates a user-supplied URL by resolving its hostname with one DNS lookup, but the server-side HTTP client (httpx.AsyncClient) performs a separate DNS lookup when the request is actually sent. This time-of-check/time-of-use gap lets an attacker-controlled domain with a very low TTL rebind between the two lookups, returning a public IP during validation and a private address at request time. As a result the SSRF checks can be bypassed to reach localhost, internal networks, and cloud metadata endpoints such as 169.254.169.254, with the response body returned to the caller. The fix adds network-level DNS pinning so the validated IP is the exact address used for the request and enables SSRF protection by default.

How do I fix this?

Upgrade the langflow library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and use the API Request / URL data source component with an attacker-influenced URL.

Package

Versions

1.0.0 - 1.9.2

Fixed in 1.9.3

Background info

langflow is vulnerable to Server-Side Request Forgery (SSRF) in versions 1.0.0 - 1.9.2.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea