Langflow is affected by remote code execution due to multiple unauthenticated and insufficiently authorized API endpoints (IBM Langflow OSS)

CVE-2026-12940
CRITICAL 9.8

At a glance

Source
NVD
EPSS
EPSS 0.94 % · percentile 61 ()
State
PUBLISHED
Published
Updated
Assigner
ibm
NVD status
Analyzed

Description

IBM Langflow OSS 1.0.0 through 1.10.1  are vulnerable to unauthenticated remote code execution via environment variable injection in the MCP (Model Context Protocol) stdio launcher. The vulnerability exists in src/lfx/src/lfx/base/mcp/util.py where the DANGEROUS_ENV_VARS blocklist fails to include SHELLOPTS , BASHOPTS , and PS4 environment variables.

Weaknesses (CWE)

  • CWE-78 — Improper Neutralization of Special Elements used in an OS Command

References

Scores

VersionScoreVectorScored by
CVSS 3.1CRITICAL 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:Hibm
CVSS 3.1CRITICAL 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HNVD · psirt@us.ibm.com (Secondary)

European references

Affected configurations (NVD CPE)

Affected products

ProductVersions
IBM · Langflow OSSaffected 1.0.0 ≤ 1.10.1

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD