{"id":"CVE-2026-0770","published":"2026-01-23T04:16:04Z","modified":"2026-07-22T05:17:08Z","title":"Langflow Inclusion of Functionality from Untrusted Control Sphere Vulnerability","vendor":"Langflow","product":"Langflow","tier":"core","eol":null,"description":{"text":"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.","provenance":"source","from":"NVD"},"summary":{"text":"A flaw in the handling of the exec_globals parameter sent to the validate endpoint of Langflow lets the product include a resource from an untrusted control sphere. An remote attacker who can reach the affected installation without authentication can execute arbitrary code in the context of root.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-23T07:09:57Z"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"NVD"},"epss":{"score":0.62562,"percentile":0.99189,"date":"2026-10-31","provenance":"source"},"kev":{"dateAdded":"2026-07-21","dueDate":"2026-07-24","ransomware":false,"requiredAction":"Apply mitigations in accordance with vendor instructions, ensuring compliance with CISA’s BOD 26-04 Prioritizing Security Updates Based on Risk (see URL in Notes) guidance and CISA’s “Forensics Triage Requirements” (see URL in Notes). Follow applicable BOD 26-04 guidance for cloud services or discontinue use of the product if mitigations are unavailable. Stakeholders are responsible for evaluating each asset's internet exposure and ensuring adherence to BOD 26-04 patching guidelines.","notes":"https://github.com/langflow-ai/langflow/releases/tag/v1.9.0 ; BOD 26-04: https://www.cisa.gov/news-events/directives/bod-26-04-prioritizing-security-updates-based-risk ; Forensics Triage Requirements: https://www.cisa.gov/news-events/directives/bod-26-04-implementation-guidance-prioritizing-security-updates-based-risk ; https://nvd.nist.gov/vuln/detail/CVE-2026-0770 ","provenance":"source"},"vulncheckKev":{"dateAdded":"2026-02-14","exploitedFirstSeen":"2026-02-14","ransomware":false,"evidence":[{"url":"https://www.labs.greynoise.io/grimoire/2026-02-13-weekly-oast-report/","date":"2026-02-14"},{"url":"https://www.labs.greynoise.io/grimoire/2026-02-20-weekly-oast-report/","date":"2026-02-22"},{"url":"https://blog.previdian.com/cve-2026-0770-exploited-in-the-wild-langflow-rce-added-to-cisa-kev/","date":"2026-07-21"},{"url":"https://previdian.com/CVE-2026-0770","date":"2026-07-21"},{"url":"https://www.cisa.gov/sites/default/files/feeds/known_exploited_vulnerabilities.json","date":"2026-07-21"},{"url":"https://www.resecurity.com/es/blog/article/exploiting-langflows-validatecode-endpoint-for-remote-code-execution","date":"2026-07-29"},{"url":"https://www.recordedfuture.com/blog/july-2026-cve-landscape","date":"2026-08-07"},{"url":"https://www.acn.gov.it/portale/documents/20119/1300791/Operational_Summary_lug26_CLEAR.pdf/88b05799-3e4c-f3ed-4a42-d9e68e080604?t=1787220905144","date":"2026-08-20"},{"url":"https://expel.com/blog/the-ai-cve-exploitation-evidence-story-headlines-are-scarier-than-reality/","date":"2026-08-27"},{"url":"https://www.vulncheck.com/blog/pwning-the-ai-stack","date":"2026-08-28"}],"evidenceTotal":10,"provenance":"source"},"exploited":true,"otx":null,"cwes":[{"id":"CWE-829","name":"Inclusion of Functionality from Untrusted Control Sphere"}],"references":[{"url":"https://www.zerodayinitiative.com/advisories/ZDI-26-036/","tags":["Third Party Advisory"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-0770","tags":["US Government Resource"]}],"techniques":[{"id":"T1190","name":"Exploit Public-Facing Application","tactics":["initial-access"],"provenance":"ai","basis":"ai-mapping","bases":["ai-mapping"],"basisDetail":"claude-haiku-5-5: Unauthenticated remote exploitation of public-facing application","mappingType":"exploitation_technique","evidence":[{"from":"description","quote":"remote attackers to execute arbitrary code on affected installations of Langflow","start":142,"end":222}],"model":"claude-haiku-5-5","confidence":"medium","confidenceNote":"AI-mapped from the description (quote-validated, not expert-reviewed)"},{"id":"T1059","name":"Command and Scripting Interpreter","tactics":["execution"],"provenance":"ai","basis":"ai-mapping","bases":["ai-mapping"],"basisDetail":"claude-haiku-5-5: Arbitrary code execution as root","mappingType":"primary_impact","evidence":[{"from":"description","quote":"An attacker can leverage this vulnerability to execute code in the context of root","start":482,"end":564}],"model":"claude-haiku-5-5","confidence":"medium","confidenceNote":"AI-mapped from the description (quote-validated, not expert-reviewed)"}],"reports":[],"affected":[{"ecosystem":"PyPI","package":"langflow","vulnerableRanges":["<=1.7.3"],"patched":[],"from":["GHSA-g22f-v6f7-2hrh","PYSEC-2026-1525"],"provenance":"source"}],"advisories":[{"id":"GHSA-g22f-v6f7-2hrh","url":"https://github.com/advisories/GHSA-g22f-v6f7-2hrh","severity":"HIGH","ecosystem":"PyPI","package":"langflow","vulnerableRanges":["<=1.7.3"],"patched":[],"provenance":"source","from":"GHSA"}],"euvd":{"id":"EUVD-2026-4466","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-4466","exploited":true,"exploitedSince":"2026-07-21","provenance":"source"},"exploits":[{"id":52597,"url":"https://www.exploit-db.com/exploits/52597","title":"Langflow 1.3.0 - Remote Code Execution","type":"webapps","platform":"multiple","date":"2026-05-29","verified":false,"provenance":"source"}],"exploitSources":{"exploitdb":{"count":1,"earliest":"2026-05-29"},"pocGithub":{"count":6,"skipped":1,"earliest":"2026-02-07","earliestUrl":"https://github.com/affix/CVE-2026-0770-PoC","repos":[{"name":"affix/CVE-2026-0770-PoC","url":"https://github.com/affix/CVE-2026-0770-PoC","stars":6,"created":"2026-02-07"},{"name":"0xgh057r3c0n/CVE-2026-0770","url":"https://github.com/0xgh057r3c0n/CVE-2026-0770","stars":1,"created":"2026-02-24"},{"name":"0xBlackash/CVE-2026-0770","url":"https://github.com/0xBlackash/CVE-2026-0770","stars":1,"created":"2026-04-03"},{"name":"Ez4rd1x1/CVE-2026-0770","url":"https://github.com/Ez4rd1x1/CVE-2026-0770","stars":0,"created":"2026-05-15"},{"name":"diamorphine666/CVE-2026-0770","url":"https://github.com/diamorphine666/CVE-2026-0770","stars":0,"created":"2026-05-23"}]},"metasploit":[{"name":"Langflow Unauthenticated RCE (validate endpoint)","module":"exploit/multi/http/langflow_rce_cve_2026_0770","type":"exploit","disclosureDate":"2026-05-23","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/langflow_rce_cve_2026_0770.rb"}],"nuclei":[{"id":"CVE-2026-0770","name":"Langflow < 1.3.0 - Remote Code Execution via validate_code() exec()","severity":"critical","path":"http/cves/2026/CVE-2026-0770.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-0770.yaml"}],"first":{"date":"2026-02-07","source":"PoC-in-GitHub","url":"https://github.com/affix/CVE-2026-0770-PoC"},"provenance":"source"},"exploitRefs":["https://github.com/affix/CVE-2026-0770-PoC"],"flow":[{"stage":"exploitation","techniques":["T1190"],"provenance":"ai"},{"stage":"primary","techniques":["T1059"],"provenance":"ai"}],"timeline":[{"date":"2026-01-23","kind":"published","label":"Published (NVD)","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-0770","provenance":"source"},{"date":"2026-02-07","kind":"exploit-public","label":"First public exploit: PoC-in-GitHub; later: Metasploit 2026-05-23, Exploit-DB 2026-05-29","url":"https://github.com/affix/CVE-2026-0770-PoC","provenance":"source"},{"date":"2026-02-14","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://www.labs.greynoise.io/grimoire/2026-02-13-weekly-oast-report/","provenance":"source"},{"date":"2026-07-21","kind":"kev","label":"Added to CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","provenance":"source"},{"date":"2026-07-21","kind":"euvd-exploited","label":"ENISA EUVD: exploited","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-4466","provenance":"source"}],"speed":{"daysToPublicExploit":15,"firstExploitFrom":"PoC-in-GitHub","daysToKev":179},"priority":{"score":71.7,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in CISA KEV and VulnCheck KEV"},{"name":"Recent KEV listing","points":5.0,"detail":"added 260 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.84,"detail":"percentile 0.9919"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 Exploit-DB entry; 1 advisory exploit reference; 6 PoC-in-GitHub repos; 1 Metasploit module; 1 nuclei template"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":6.86,"detail":"base score 9.8"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}