{
  "id": "CVE-2026-0770",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-0770",
  "published_at": "2026-01-23T03:28:52.286Z",
  "title": "Langflow exec_globals Inclusion of Functionality from Untrusted Control Sphere Remote Code Execution Vulnerability",
  "vendor": "Langflow",
  "product": "Langflow",
  "cvss": {
    "score": 9.8,
    "source": "cna",
    "vector": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": true,
    "added_at": "2026-07-21",
    "known_ransomware_campaign_use": "Unknown",
    "days_after_publication": 179
  },
  "first_poc": {
    "created_at": "2026-02-07T23:31:48Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 15.8,
    "repo": "affix/CVE-2026-0770-PoC",
    "source": "github"
  },
  "poc_repo_count": 6,
  "exploit_count": 3,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Langflow exec_globals Inclusion of Functionality from Untrusted Control Sphere Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Langflow. Authentication is not required to exploit this vulnerability.\n\nThe specific flaw exists within the handling of the exec_globals parameter provided to the validate endpoint. The issue results from the inclusion of a resource from an untrusted control sphere. An attacker can leverage this vulnerability to execute code in the context of root. Was ZDI-CAN-27325.",
  "cwe": "CWE-829",
  "cpes": [
    "cpe:2.3:a:langflow:langflow:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 9.8
  },
  "repos": [
    {
      "repo": "samael0x4/CVE-2026",
      "url": "https://github.com/samael0x4/CVE-2026",
      "created_at": "2026-01-15T20:48:07Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 1,
      "is_poc": "no",
      "kind": "list",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2021-07-03T20:44:11Z"
    },
    {
      "repo": "affix/CVE-2026-0770-PoC",
      "url": "https://github.com/affix/CVE-2026-0770-PoC",
      "created_at": "2026-02-07T23:31:48Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 7,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2010-01-18T02:02:01Z"
    },
    {
      "repo": "0xgh057r3c0n/CVE-2026-0770",
      "url": "https://github.com/0xgh057r3c0n/CVE-2026-0770",
      "created_at": "2026-02-24T20:28:03Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 1,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2023-09-05T03:10:16Z"
    },
    {
      "repo": "Yetazyyy/CVE-2026-0770",
      "url": "https://github.com/Yetazyyy/CVE-2026-0770",
      "created_at": "2026-03-08T10:07:18Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2025-02-18T12:50:40Z"
    },
    {
      "repo": "0xBlackash/CVE-2026-0770",
      "url": "https://github.com/0xBlackash/CVE-2026-0770",
      "created_at": "2026-04-03T07:15:10Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 1,
      "is_poc": "no",
      "kind": "detection",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2026-02-06T16:11:55Z"
    },
    {
      "repo": "0xredash/CVE-2026-0770",
      "url": "https://github.com/0xredash/CVE-2026-0770",
      "created_at": "2026-04-03T07:15:10Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 1,
      "is_poc": "no",
      "kind": "detection",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2026-02-06T16:11:55Z"
    },
    {
      "repo": "ashrafzaryouh/CVE-2026-0770",
      "url": "https://github.com/ashrafzaryouh/CVE-2026-0770",
      "created_at": "2026-04-03T07:15:10Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 1,
      "is_poc": "no",
      "kind": "detection",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2026-02-06T16:11:55Z"
    },
    {
      "repo": "Ez4rd1x1/CVE-2026-0770",
      "url": "https://github.com/Ez4rd1x1/CVE-2026-0770",
      "created_at": "2026-05-15T06:49:53Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2025-09-22T11:20:57Z"
    },
    {
      "repo": "diamorphine666/CVE-2026-0770",
      "url": "https://github.com/diamorphine666/CVE-2026-0770",
      "created_at": "2026-05-23T21:26:41Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2022-12-19T18:48:28Z"
    },
    {
      "repo": "razureink/cve-2026-0770-langflow_rce_reproduction",
      "url": "https://github.com/razureink/cve-2026-0770-langflow_rce_reproduction",
      "created_at": "2026-07-23T03:46:10Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2025-02-22T08:39:00Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "Langflow",
        "product": "Langflow",
        "ranges": [
          "1.4.2"
        ],
        "fixed_in": null
      },
      {
        "vendor": "",
        "product": "langflow",
        "ranges": [
          "\u003c= 1.7.3"
        ],
        "fixed_in": null,
        "ecosystem": "PyPI",
        "advisory": "GHSA-g22f-v6f7-2hrh"
      }
    ]
  },
  "exploit_refs": [
    {
      "url": "https://www.exploit-db.com/exploits/52597",
      "source": "exploitdb",
      "title": "Langflow 1.3.0 - Remote Code Execution",
      "published_at": "2026-05-29T00:00:00Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/langflow_rce_cve_2026_0770.rb",
      "source": "metasploit",
      "title": "Metasploit exploit: Langflow Unauthenticated RCE (validate endpoint) (exploit/multi/http/langflow_rce_cve_2026_0770)",
      "published_at": "2026-09-06T07:38:52Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-0770.yaml",
      "source": "nuclei",
      "title": "nuclei template: Langflow \u003c 1.3.0 - Remote Code Execution via validate_code() exec()",
      "published_at": "2026-02-20T08:24:46Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    }
  ],
  "hunt_profile": [
    {
      "method": "POST",
      "path_template": "/api/v1/login",
      "body_markers": [
        "username=langflow",
        "password=langflow",
        "username=",
        "password="
      ],
      "content_type": "application/x-www-form-urlencoded",
      "ports": [
        7860
      ],
      "protocol": "https",
      "repos": [
        "0xgh057r3c0n/CVE-2026-0770",
        "affix/CVE-2026-0770-PoC",
        "diamorphine666/CVE-2026-0770"
      ],
      "repo_count": 3,
      "confidence": 0.85,
      "evidence": [
        "0xgh057r3c0n/CVE-2026-0770/CVE-2026-0770.py:70",
        "0xgh057r3c0n/CVE-2026-0770/CVE-2026-0770.yaml:33",
        "affix/CVE-2026-0770-PoC/nuclei-template/CVE-2026-0770.yaml:33",
        "affix/CVE-2026-0770-PoC/poc.py:23",
        "diamorphine666/CVE-2026-0770/CVE-2026-0770.py:30"
      ]
    },
    {
      "method": "POST",
      "path_template": "/api/v1/validate/code",
      "headers": [
        {
          "name": "Authorization",
          "value": "Bearer {var}"
        },
        {
          "name": "Authorization",
          "value": "Bearare {var}"
        }
      ],
      "body_markers": [
        "\"code\":\"'\"",
        "\"code\"",
        "\"username\"",
        "\"password\""
      ],
      "content_type": "application/json",
      "ports": [
        7860
      ],
      "protocol": "https",
      "repos": [
        "0xgh057r3c0n/CVE-2026-0770",
        "affix/CVE-2026-0770-PoC",
        "diamorphine666/CVE-2026-0770"
      ],
      "repo_count": 3,
      "confidence": 0.85,
      "evidence": [
        "0xgh057r3c0n/CVE-2026-0770/CVE-2026-0770.py:115",
        "0xgh057r3c0n/CVE-2026-0770/CVE-2026-0770.yaml:39",
        "affix/CVE-2026-0770-PoC/nuclei-template/CVE-2026-0770.yaml:39",
        "affix/CVE-2026-0770-PoC/poc.py:53",
        "diamorphine666/CVE-2026-0770/CVE-2026-0770.py:46",
        "diamorphine666/CVE-2026-0770/CVE-2026-0770.py:68"
      ]
    },
    {
      "method": "GET",
      "path_template": "/api/v1/auto_login",
      "ports": [
        7860
      ],
      "protocol": "http",
      "repos": [
        "diamorphine666/CVE-2026-0770"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "diamorphine666/CVE-2026-0770/CVE-2026-0770.py:57"
      ]
    },
    {
      "method": "POST",
      "path_template": "/api/v1/validate",
      "content_type": "application/json",
      "protocol": "http",
      "repos": [
        "razureink/cve-2026-0770-langflow_rce_reproduction"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "razureink/cve-2026-0770-langflow_rce_reproduction/exploit.py:57"
      ]
    }
  ],
  "rules": []
}
