{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-51886","published":"2026-10-01T22:17:03.387000Z","last_modified":"2026-10-06T01:16:36.093000Z","status":"Awaiting Analysis","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","primary":false},"auth":false,"cwes":["CWE-94"],"cpes":[],"cpes_truncated":false,"vendors":[],"products":[],"ssvc":{"exploitation":"poc","automatable":"yes","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-w584-2h2r-2hvf","ecosystem":"PyPI","name":"langflow","purl":"pkg:pypi/langflow","ranges":[{"introduced":"1.7.2","fixed":"1.10.1"}],"versions":["1.10.0","1.10.0rc0","1.10.1rc0","1.10.1rc3","1.7.2","1.7.3","1.8.0","1.8.0rc0","1.8.0rc1","1.8.0rc2","1.8.0rc3","1.8.0rc4","1.8.0rc5","1.8.0rc6","1.8.1","1.8.2","1.8.3","1.8.3rc0","1.8.4","1.9.0","1.9.1","1.9.2","1.9.3","1.9.3rc0","1.9.4","1.9.5","1.9.6","1.9.6rc0"],"versions_truncated":false},{"advisory":"PYSEC-2026-4236","ecosystem":"PyPI","name":"langflow","purl":"pkg:pypi/langflow","ranges":[{"introduced":"1.7.2","fixed":"1.10.1"}],"versions":["1.10.0","1.10.0rc0","1.10.1rc0","1.10.1rc3","1.7.2","1.7.3","1.8.0","1.8.0rc0","1.8.0rc1","1.8.0rc2","1.8.0rc3","1.8.0rc4","1.8.0rc5","1.8.0rc6","1.8.1","1.8.2","1.8.3","1.8.3rc0","1.8.4","1.9.0","1.9.1","1.9.2","1.9.3","1.9.3rc0","1.9.4","1.9.5","1.9.6","1.9.6rc0"],"versions_truncated":false}],"severity":"critical","priority_score":74,"links":{"html_es":"/es/cve/CVE-2026-51886/","html_en":"/en/cve/CVE-2026-51886/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-51886","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-51886"},"untrusted":{"desc_en":"langflow-ai langflow v1.9.3 is affected by: Code Injection. The impact is: execute arbitrary code (remote). The component is: src/backend/base/langflow/api/v1/validate.py:validate-post_validate_code-a-real-authenticated-http-post-to-api-v1. The attack vector is: Attack surface: HTTP or browser-backed service path. A public-facing route accepts raw Python source and forwards it into a server-side compile/exec validation path without any visible entitlement guard. ¶¶ A weakness has been identified in langflow-ai langflow up to 1.9.3. langflow contains a code injection vulnerability in validate-post_validate_code-a-real-authenticated-http-post-to-api-v1 (src/backend/base/langflow/api/v1/validate.py:13). An authenticated attacker can execute arbitrary Python code on the server by submitting malicious code to the /api/v1/validate/code endpoint, which directly executes user-supplied code without sandboxing or security controls.","affected":[],"ai":{"model":"us.anthropic.claude-haiku-4-5-20251001-v1:0","prompt_version":"2","input_hash":"b824ca082c1f4c820255a8e0fdd9fd08","generated":"2026-11-26T23:29:05.844985Z","es":{"untrusted_title":"Inyección de código remoto sin autenticación en Langflow","untrusted_summary":"Langflow v1.9.3 y anteriores contienen una vulnerabilidad de inyección de código en el endpoint /api/v1/validate/code que permite ejecutar código Python arbitrario en el servidor. Un atacante sin autenticación puede enviar código malicioso que se ejecuta directamente sin validación ni aislamiento. La vulnerabilidad tiene una puntuación CVSS de 9.8, indicando riesgo crítico."},"en":{"untrusted_title":"Remote Code Injection without Authentication in Langflow","untrusted_summary":"Langflow v1.9.3 and earlier contain a code injection vulnerability in the /api/v1/validate/code endpoint that allows arbitrary Python code execution on the server. An unauthenticated attacker can submit malicious code that executes directly without validation or sandboxing. The vulnerability has a CVSS score of 9.8, indicating critical risk."},"remediation":{"status":"fix","fixed_versions":["1.10.1"],"untrusted_action_es":"Actualiza Langflow a la versión 1.10.1 o superior para aplicar el parche de seguridad.","untrusted_action_en":"Update Langflow to version 1.10.1 or later to apply the security patch.","vendor_url":"https://github.com/langflow-ai/langflow/issues/13336"},"reviewed":false},"references":[{"url":"https://gist.github.com/Ro1ME/c11b1e63e4e8fca6b25275144f25ec2a","tags":[]},{"url":"https://github.com/langflow-ai/langflow/issues/13336","tags":[]}]}}