PortGate

Advisories · AI & LLMs

CVE-2025-3248 Critical CVSS 9.8 Actively exploited

Langflow unauthenticated code execution

Disclosed 2025 · Last reviewed 2 Dec 2026

An unauthenticated caller could run code through the code-validation API.

What happened

The validate endpoint compiled and executed the submitted code without an authentication check.

Affected and patched versions

Affected
Langflow before 1.3.0.
Patched
Langflow 1.3.0 and later.

How to check your server

Check

curl -s http://127.0.0.1:7860/api/v1/version

How to fix and harden

  1. Read the version from localhost.
  2. Upgrade to 1.3.0 or later.
  3. Do not publish port 7860. The API is an admin surface even after the upgrade.

Fix

curl -s http://127.0.0.1:7860/api/v1/version

Sources

Version ranges and fixes follow the vendor advisory. When a distribution backports a fix, trust its security tracker over the upstream version number. New advisories: RSS · JSON