{"dataType": "CVE_RECORD", "dataVersion": "5.2", "cveMetadata": {"cveId": "CVE-2026-0768", "assignerOrgId": "99f1926a-a320-47d8-bbb5-42feb611262e", "state": "PUBLISHED", "assignerShortName": "zdi", "dateReserved": "2026-01-08T22:50:14.237Z", "datePublished": "2026-01-23T03:28:43.301Z", "dateUpdated": "2026-02-26T14:44:27.192Z"}, "containers": {"cna": {"providerMetadata": {"orgId": "99f1926a-a320-47d8-bbb5-42feb611262e", "shortName": "zdi", "dateUpdated": "2026-01-23T03:28:43.301Z"}, "title": "Langflow code Code Injection Remote Code Execution Vulnerability", "descriptions": [{"lang": "en", "value": "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."}], "affected": [{"vendor": "Langflow", "product": "Langflow", "versions": [{"version": "1.4.2", "status": "affected"}], "defaultStatus": "unknown"}], "problemTypes": [{"descriptions": [{"lang": "en", "cweId": "CWE-94", "description": "CWE-94: Improper Control of Generation of Code ('Code Injection')", "type": "CWE"}]}], "references": [{"url": "https://www.zerodayinitiative.com/advisories/ZDI-26-034/", "name": "ZDI-26-034", "tags": ["x_research-advisory"]}], "dateAssigned": "2026-01-08T22:50:14.262Z", "datePublic": "2026-01-09T16:37:42.023Z", "source": {"lang": "en", "value": "Peter Girnus (@gothburz), William Gamazo Sanchez, and Alfredo Oliveira of Trend Research"}, "metrics": [{"format": "CVSS", "cvssV3_0": {"version": "3.0", "vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "baseScore": 9.8, "baseSeverity": "CRITICAL"}}]}, "adp": [{"metrics": [{"other": {"type": "ssvc", "content": {"id": "CVE-2026-0768", "role": "CISA Coordinator", "options": [{"Exploitation": "none"}, {"Automatable": "yes"}, {"Technical Impact": "total"}], "version": "2.0.3", "timestamp": "2026-01-24T04:55:30.681699Z"}}}], "title": "CISA ADP Vulnrichment", "providerMetadata": {"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP", "dateUpdated": "2026-02-26T14:44:27.192Z"}}]}, "vulnerability-lookup:meta": {"epss": {"cve": "CVE-2026-0768", "date": "2026-09-20", "epss": "0.07775", "percentile": "0.94372"}, "nvd": "{\"cve\":{\"id\":\"CVE-2026-0768\",\"sourceIdentifier\":\"zdi-disclosures@trendmicro.com\",\"published\":\"2026-01-23T04:16:03.800\",\"lastModified\":\"2026-06-17T10:11:20.937\",\"vulnStatus\":\"Analyzed\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"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.\"},{\"lang\":\"es\",\"value\":\"Vulnerabilidad de inyecci\u00f3n de c\u00f3digo y ejecuci\u00f3n remota de c\u00f3digo en Langflow. Esta vulnerabilidad permite a atacantes remotos ejecutar c\u00f3digo arbitrario en instalaciones afectadas de Langflow. La autenticaci\u00f3n no es requerida para explotar esta vulnerabilidad.\\n\\nLa falla espec\u00edfica existe en el manejo del par\u00e1metro code proporcionado al endpoint validate. El problema resulta de la falta de validaci\u00f3n adecuada de una cadena proporcionada por el usuario antes de usarla para ejecutar c\u00f3digo Python. Un atacante puede aprovechar esta vulnerabilidad para ejecutar c\u00f3digo en el contexto de root. Fue ZDI-CAN-27322.\"}],\"affected\":[{\"source\":\"zdi-disclosures@trendmicro.com\",\"affectedData\":[{\"vendor\":\"Langflow\",\"product\":\"Langflow\",\"defaultStatus\":\"unknown\",\"versions\":[{\"version\":\"1.4.2\",\"status\":\"affected\"}]}]}],\"metrics\":{\"cvssMetricV30\":[{\"source\":\"zdi-disclosures@trendmicro.com\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.0\",\"vectorString\":\"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H\",\"baseScore\":9.8,\"baseSeverity\":\"CRITICAL\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":3.9,\"impactScore\":5.9}],\"ssvcV203\":[{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"ssvcData\":{\"timestamp\":\"2026-01-24T04:55:30.681699Z\",\"id\":\"CVE-2026-0768\",\"options\":[{\"exploitation\":\"none\"},{\"automatable\":\"yes\"},{\"technicalImpact\":\"total\"}],\"role\":\"CISA Coordinator\",\"version\":\"2.0.3\"}}]},\"weaknesses\":[{\"source\":\"zdi-disclosures@trendmicro.com\",\"type\":\"Secondary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-94\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:langflow:langflow:1.4.2:-:*:*:*:*:*:*\",\"matchCriteriaId\":\"81AAA7F9-843A-456C-89A1-B99D18AD4328\"}]}]}],\"references\":[{\"url\":\"https://www.zerodayinitiative.com/advisories/ZDI-26-034/\",\"source\":\"zdi-disclosures@trendmicro.com\",\"tags\":[\"Third Party Advisory\"]}]}}", "redhat_vex": {"current_release_date": "2026-03-27T08:13:29+00:00", "cve": "CVE-2026-0768", "id": "CVE-2026-0768", "initial_release_date": "2026-01-09T16:37:42.023000+00:00", "product_status:known_not_affected": "1", "source": "Red Hat CSAF VEX", "status": "final", "title": "Langflow code Code Injection Remote Code Execution Vulnerability", "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-0768.json", "version": "3"}, "vulnrichment": {"containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2026-0768\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"yes\"}, {\"Technical Impact\": \"total\"}], \"version\": \"2.0.3\", \"timestamp\": \"2026-01-24T04:55:30.681699Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2026-01-23T16:33:21.284Z\"}}], \"cna\": {\"title\": \"Langflow code Code Injection Remote Code Execution Vulnerability\", \"source\": {\"lang\": \"en\", \"value\": \"Peter Girnus (@gothburz), William Gamazo Sanchez, and Alfredo Oliveira of Trend Research\"}, \"metrics\": [{\"format\": \"CVSS\", \"cvssV3_0\": {\"version\": \"3.0\", \"baseScore\": 9.8, \"baseSeverity\": \"CRITICAL\", \"vectorString\": \"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H\"}}], \"affected\": [{\"vendor\": \"Langflow\", \"product\": \"Langflow\", \"versions\": [{\"status\": \"affected\", \"version\": \"1.4.2\"}], \"defaultStatus\": \"unknown\"}], \"datePublic\": \"2026-01-09T16:37:42.023Z\", \"references\": [{\"url\": \"https://www.zerodayinitiative.com/advisories/ZDI-26-034/\", \"name\": \"ZDI-26-034\", \"tags\": [\"x_research-advisory\"]}], \"dateAssigned\": \"2026-01-08T22:50:14.262Z\", \"descriptions\": [{\"lang\": \"en\", \"value\": \"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.\"}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-94\", \"description\": \"CWE-94: Improper Control of Generation of Code ('Code Injection')\"}]}], \"providerMetadata\": {\"orgId\": \"99f1926a-a320-47d8-bbb5-42feb611262e\", \"shortName\": \"zdi\", \"dateUpdated\": \"2026-01-23T03:28:43.301Z\"}}}", "cveMetadata": "{\"cveId\": \"CVE-2026-0768\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-02-26T14:44:27.192Z\", \"dateReserved\": \"2026-01-08T22:50:14.237Z\", \"assignerOrgId\": \"99f1926a-a320-47d8-bbb5-42feb611262e\", \"datePublished\": \"2026-01-23T03:28:43.301Z\", \"assignerShortName\": \"zdi\"}", "dataType": "CVE_RECORD", "dataVersion": "5.2"}}}
