{"answers":{"affected":"3 open source packages ship an affected version, including langflow. It affects 1 product.","exploited":"Yes. Attackers have exploited CVE-2026-0770 in the wild since at least 21 Jul 2026.","fix":"No fix has been published for CVE-2026-0770 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 24 Jul 2026.","what":"CVE-2026-0770 is a critical code injection vulnerability in Langflow Langflow, published on 23 Jan 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-0770 and fix it if it is affected.\n\nWhat it is: CVE-2026-0770 is a critical code injection vulnerability in Langflow Langflow, published on 23 Jan 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: Yes. Attackers have exploited CVE-2026-0770 in the wild since at least 21 Jul 2026.\n\nAffected packages and fixed versions:\n- langflow (PyPI): affected all versions up to 1.7.3; no fix listed\n- langflow (PyPI): affected all versions up to 1.7.3; no fix listed\n- langflow (PyPI): affected all versions up to 1.7.3; no fix listed\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-0770/ (Markdown: https://insights.sbomify.com/CVE-2026-0770/index.md)","id":"CVE-2026-0770","markdown":"https://insights.sbomify.com/CVE-2026-0770/index.md","name":"CVE-2026-0770","record":{"aliases":["GHSA-g22f-v6f7-2hrh","PYSEC-2026-1525"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"Langflow AI platform","requires_auth":"none","summary":"Remote attackers can execute arbitrary code as root via the validate endpoint without authentication, requiring immediate patching.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"zdi","cpe":[{"product":"langflow","vendor":"langflow"}],"cvss":{"score":9.8,"severity":"critical","source":"cna","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-829","name":"Inclusion of Functionality from Untrusted Control Sphere"}],"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.","ecosystems":["PyPI"],"exploits":{"exploitdb":1,"first_seen":"2026-02-07","github_poc":7,"max_poc_stars":6,"metasploit":1,"nuclei":1,"refs":[{"date":"2026-02-07T23:31:48Z","kind":"github_poc","ref":"https://github.com/affix/CVE-2026-0770-PoC","stars":6,"title":"Proof of Concept for CVE-2026-0770 - Langflow Remote Code Execution"},{"date":"2026-02-24T20:28:03Z","kind":"github_poc","ref":"https://github.com/0xgh057r3c0n/CVE-2026-0770","stars":1,"title":"Langflow Remote Code Execution (RCE) Proof-of-Concept"},{"date":"2026-04-03T07:15:10Z","kind":"github_poc","ref":"https://github.com/0xredash/CVE-2026-0770","stars":1,"title":"CVE-2026-0770"},{"date":"2026-03-08T10:07:18Z","kind":"github_poc","ref":"https://github.com/Yetazyyy/CVE-2026-0770","stars":0,"title":null},{"date":"2026-05-15T06:49:53Z","kind":"github_poc","ref":"https://github.com/Ez4rd1x1/CVE-2026-0770","stars":0,"title":"LangFlow RCE | CVE-2026-0770 | Proof-Of-Concept"},{"date":"2026-05-23","kind":"metasploit","ref":"exploit/multi/http/langflow_rce_cve_2026_0770","stars":null,"title":"Langflow Unauthenticated RCE (validate endpoint)"},{"date":"2026-05-23T21:26:41Z","kind":"github_poc","ref":"https://github.com/diamorphine666/CVE-2026-0770","stars":0,"title":"Langflow remote code execution exploit"},{"date":"2026-05-29","kind":"exploitdb","ref":"52597","stars":null,"title":"Langflow 1.3.0 - Remote Code Execution"}],"tier":"exploited"},"has_fix":false,"headline":"Langflow Inclusion of Functionality from Untrusted Control Sphere","id":"CVE-2026-0770","indexable":true,"kev":{"dateAdded":"2026-07-21","dueDate":"2026-07-24","knownRansomwareCampaignUse":"Unknown","product":"Langflow","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.","vendorProject":"Langflow","vulnerabilityName":"Langflow Inclusion of Functionality from Untrusted Control Sphere Vulnerability"},"kind":"cve","links":{"ecosystem":"PyPI","product":"langflow:langflow","products":["langflow:langflow"],"type":"code_injection","year":"2026"},"n_packages":3,"n_references":1,"next":{"headline":"Langflow PythonFunction Code Injection Remote Code Execution Vulnerability","id":"CVE-2026-0771"},"packages":[{"ecosystem":"PyPI","fixed":[],"introduced":["0"],"last_affected":["1.7.3"],"package":"langflow","purl":null,"source":"GHSA-g22f-v6f7-2hrh"},{"ecosystem":"PyPI","fixed":[],"introduced":["0"],"last_affected":["1.7.3"],"package":"langflow","purl":"pkg:pypi/langflow","source":"GHSA-g22f-v6f7-2hrh"},{"ecosystem":"PyPI","fixed":[],"introduced":["0"],"last_affected":["1.7.3"],"package":"langflow","purl":"pkg:pypi/langflow","source":"PYSEC-2026-1525"}],"prev":{"headline":"Langflow eval_custom_component_code Eval Injection Remote Code Execution Vulnerability","id":"CVE-2026-0769"},"products":["Langflow"],"published":"2026-01-23","related":[{"cvss_score":9.8,"headline":"IBM Langflow Code Injection","id":"CVE-2026-9198","kev_date_added":"2026-08-04","published":"2026-07-17"},{"cvss_score":9.8,"headline":"Langflow Missing Authentication","id":"CVE-2025-3248","kev_date_added":"2025-05-05","published":"2025-04-07"},{"cvss_score":9.4,"headline":"Langflow Origin Validation Error","id":"CVE-2025-34291","kev_date_added":"2026-05-21","published":"2025-12-05"},{"cvss_score":9.3,"headline":"Langflow Code Injection","id":"CVE-2026-33017","kev_date_added":"2026-03-25","published":"2026-03-20"},{"cvss_score":8.4,"headline":"Langflow Authorization Bypass Through User-Controlled Key","id":"CVE-2026-55255","kev_date_added":"2026-07-07","published":"2026-06-23"},{"cvss_score":10,"headline":"Unauthenticated Server-Side RCE via PythonCodeStructuredTool in Public Flows","id":"CVE-2026-10134","kev_date_added":null,"published":"2026-06-30"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"open","licence":"CC0 1.0","name":"CISA KEV"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"BSD-3-Clause","name":"Metasploit"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"active","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-07-22","vendors":["Langflow"]},"summary":"Remote attackers can execute arbitrary code as root via the validate endpoint without authentication, requiring immediate patching.","url":"https://insights.sbomify.com/CVE-2026-0770/"}