langflow is vulnerable to Server-Side Request Forgery (SSRF)
54
CVE Score
Medium
Server-Side Request Forgery (SSRF)
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.
Upgrade the langflow library to the patch version.
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.
1.0.0 - 1.9.2
Fixed in 1.9.3langflow is vulnerable to Server-Side Request Forgery (SSRF) in versions 1.0.0 - 1.9.2.
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.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.