Skip to content
Heist/ feed
Back to feed
High

Langflow PythonFunction Code Injection Remote Code Execution Vulnerability

Type: advisorySources: OSV

Langflow PythonFunction Code Injection Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Langflow. Attack vectors and exploitability will vary depending on the configuration of the product. The specific flaw exists within the handling of Python function components. Depending upon product configuration, an attacker may be able to introduce custom Python code into a workflow. An attacker can leverage this vulnerability to execute code in the context of the application. Was ZDI-CAN-27497.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-0771
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 17:06 UTC · Revision 1

Source evidence

Langflow PythonFunction Code Injection Remote Code Execution Vulnerability

core-osv · Original source

Published 23 Jan 2026, 03:28 UTC

Langflow PythonFunction Code Injection Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Langflow. Attack vectors and exploitability will vary depending on the configuration of the product. The specific flaw exists within the handling of Python function components. Depending upon product configuration, an attacker may be able to introduce custom Python code into a workflow. An attacker can leverage this vulnerability to execute code in the context of the application. Was ZDI-CAN-27497.

osv:CVE-2026-0771
Complete source record
{
  "id": "e43855ad2f361d60a843d55abec4d4eea32172975bb6a91eb9862645218e231d",
  "url": "https://osv.dev/vulnerability/CVE-2026-0771",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Langflow PythonFunction Code Injection Remote Code Execution Vulnerability",
    "summary": "Langflow PythonFunction Code Injection Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Langflow. Attack vectors and exploitability will vary depending on the configuration of the product. The specific flaw exists within the handling of Python function components. Depending upon product configuration, an attacker may be able to introduce custom Python code into a workflow. An attacker can leverage this vulnerability to execute code in the context of the application. Was ZDI-CAN-27497.",
    "evidence": "osv:CVE-2026-0771",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-0771",
      "aliases": [
        "CVE-2026-0771"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/langflow-ai/langflow",
              "type": "GIT",
              "events": [
                {
                  "introduced": "4b580d15696334e4e9455cd12506732317d6a185"
                },
                {
                  "last_affected": "4b580d15696334e4e9455cd12506732317d6a185"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:langflow:langflow:1.4.2:-:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.4.2-NA"
                      },
                      {
                        "last_affected": "1.4.2-NA"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.4.2-NA",
            "1.4.2"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-0771.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:30.496630202Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/0xxx/CVE-2026-0771.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-0771",
        "https://www.zerodayinitiative.com/advisories/ZDI-26-037/"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-94"
        ],
        "cna_assigner": "zdi",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "1.4.2"
                  },
                  {
                    "last_affected": "1.4.2"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/0xxx/CVE-2026-0771.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-0771",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 497695,
  "published_at": "2026-01-23T03:28:56.528+00:00"
}