{
  "id": "CVE-2026-12940",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-12940",
  "published_at": "2026-07-30T16:41:54.216Z",
  "title": "Langflow is affected by remote code execution due to multiple unauthenticated and insufficiently authorized API endpoints",
  "vendor": "IBM",
  "product": "Langflow OSS",
  "cvss": {
    "score": 9.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-78",
  "cpes": [
    "cpe:2.3:a:langflow:langflow:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 9.8
  },
  "repos": [
    {
      "repo": "BiiTts/CVE-2026-12940-Langflow-Unauth-RCE",
      "url": "https://github.com/BiiTts/CVE-2026-12940-Langflow-Unauth-RCE",
      "created_at": "2026-08-03T03:11:39Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 4,
      "is_poc": "no",
      "kind": "detection",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2023-10-29T04:28:01Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "IBM",
        "product": "Langflow OSS",
        "ranges": [
          "\u003e= 1.0.0, \u003c= 1.10.1"
        ],
        "fixed_in": null
      }
    ],
    "solutions": [
      "IBM strongly recommends addressing the vulnerability now by upgrading  Langflow OSS to version 1.10.2 https://pypi.org/project/langflow/"
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://www.ibm.com/support/pages/node/7279995"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
