Lucene search
+L

CVE-2026-12940

🗓️ 30 Jul 2026 16:41:54Reported by ibmType 
cve
 cve
🔗 web.nvd.nist.gov👁 146 Views🌐 WEB

Langflow remote code execution via unauthenticated endpoints and environment variable injection in MCP.

Related
Detection
Affected
Refs
Paths
NVD
Vulners
Node
langflowlangflowRange1.0.0–1.10.2
[
  {
    "vendor": "IBM",
    "product": "Langflow OSS",
    "versions": [
      {
        "status": "affected",
        "version": "1.0.0",
        "lessThanOrEqual": "1.10.1",
        "versionType": "semver"
      }
    ],
    "cpes": [
      "cpe:2.3:a:ibm:langflow_oss:1.0.0:*:*:*:*:*:*:*",
      "cpe:2.3:a:ibm:langflow_oss:1.10.1:*:*:*:*:*:*:*"
    ]
  }
]
ParameterPositionPathDescriptionCWE
env.SHELLOPTSrequest body/api/v2/mcp/servers/{name}Unauthenticated remote code execution via environment variable injection in the MCP stdio launcher. The application fails to block dangerous environment variables like SHELLOPTS, BASHOPTS, and PS4, allowing command substitution in the PS4 variable to execute arbitrary shell commands.CWE-78
env.BASHOPTSrequest body/api/v2/mcp/servers/{name}Unauthenticated remote code execution via environment variable injection in the MCP stdio launcher. The application fails to block dangerous environment variables like SHELLOPTS, BASHOPTS, and PS4, allowing command substitution in the PS4 variable to execute arbitrary shell commands.CWE-78
env.PS4request body/api/v2/mcp/servers/{name}Unauthenticated remote code execution via environment variable injection in the MCP stdio launcher. The application fails to block dangerous environment variables like SHELLOPTS, BASHOPTS, and PS4, allowing command substitution in the PS4 variable to execute arbitrary shell commands.CWE-78
action_countquery param/api/v2/mcp/serversEndpoint used to trigger the MCP launcher. When combined with a previously registered malicious MCP server via /api/v2/mcp/servers/{name}, this request triggers the execution of the injected shell commands.CWE-78

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

23 Oct 2026 22:10Current
6.5Medium risk
Vulners AI Score6.5
CVSS 3.19.8
EPSS0.00943
SSVC
146