{"schemaVersion":3,"id":"CVE-2026-0768","aliases":[],"status":"published","duplicateOf":null,"title":null,"description":"Langflow code Code Injection 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 code parameter provided to the validate endpoint. The issue results from the lack of proper validation of a user-supplied string before using it to execute Python code. An attacker can leverage this vulnerability to execute code in the context of root.\n. Was ZDI-CAN-27322.","dates":{"published":"2026-01-23T03:28:43.301Z","modified":"2026-02-26T14:44:27.192Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.8,"severity":"critical","version":"3.0","versionLabel":"v3.0","source":"CVE.org","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"CVE.org","score":9.8,"severity":"critical","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.22915,"percentile":0.9774,"severity":"high","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":15.139999999999997,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.07775},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.0231,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.0231,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.07669,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.07669,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.07669,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.07669,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.07775,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.07775,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.07775,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.07775,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.08451,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.08451,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.08451,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.08451,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.08451,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.08451,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.08451,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.08451,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.08451,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.08451,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.08451,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.08451,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.08451,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.08451,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.08451,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.23227,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.23227,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.23227,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.23227,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.23227,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.23227,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.23227,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.23227,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.23227,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.23227,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.22915,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.22915,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.22915,"percentile":0.9774}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.07775,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.07775,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.07775,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.08451,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.08451,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.08451,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.08451,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.08451,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.08451,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.08451,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.08451,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.08451,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.08451,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.08451,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.08451,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.08451,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.08451,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.08451,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.23227,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.23227,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.23227,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.23227,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.23227,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.23227,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.23227,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.23227,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.23227,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.23227,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.22915,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.22915,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.22915,"percentile":0.9774}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"MSF_EXPLOIT_MULTI_HTTP_LANGFLOW_UNAUTH_RCE_CVE_2026_0768","name":"Langflow AI Validate Code Injection unauth RCE","source":"metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploit/multi/http/langflow_unauth_rce_cve_2026_0768.rb","maturity":"weaponized","reliabilityScore":1,"verified":true,"type":"remote","platforms":[],"requiresAuth":false,"exploitdb":null,"metasploit":{"fullname":"exploit/multi/http/langflow_unauth_rce_cve_2026_0768","rank":"600","rankName":"excellent","postAuth":false,"check":true,"stability":["crash-safe"],"sideEffects":["ioc-in-logs"],"reliability":["repeatable-session"]}}],"exploitCount":1,"weaknesses":[{"id":"CWE-94","name":"Improper Control of Generation of Code ('Code Injection')","description":"The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/94.html"}],"affected":[{"vendor":"langflow","product":"langflow","name":"Langflow","label":"langflow","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"1.4.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"1.4.2","eol":null,"hubHref":"/vendor/langflow/langflow"}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://www.zerodayinitiative.com/advisories/ZDI-26-034/","label":"www.zerodayinitiative.com/advisories/ZDI-26-034/","hostname":"www.zerodayinitiative.com","tags":["X Research Advisory","Third Party Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-01-23T03:28:43.301Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-02-26T14:44:27.192Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T03:21:41.453Z","stale":false,"partial":false}}