The vulnerability, disclosed in January 2026 and affecting Langflow versions 1.4.2 and earlier, resides in the code validator of the platform's custom component editor. It allows attackers to execute arbitrary Python code without authentication, with root privileges. Trend Micro's Zero Day Initiative notes the flaw stems from improper validation of user-supplied strings before execution.
VulnCheck lead security researcher Caitlin Condon reported that exploitation attempts initially detected on honeypots in the U.K. over the weekend have increased significantly, with traffic primarily originating from Russia. As of Tuesday, the total number of observed attacks reached 360.
"Among other things, attacker requests are querying environment variables (LANGFLOW_SUPERUSER, OPENAI_API*, AWS_ACCESS*, AWS_SECRET*), reading /root/.cache/langflow/secret_key, and checking .ssh access and .bash_history size," Condon explained in a LinkedIn post.
This is not the first time Langflow has been targeted. In March, attackers exploited a separate critical code-injection flaw (CVE-2026-33017) within a day of its disclosure, harvesting .ENV and database files. Another vulnerability (CVE-2026-5027) was later used to write arbitrary files to vulnerable servers.
No public proof-of-concept exploit has been released for CVE-2026-0768, according to Condon. Organizations running Langflow are urged to update to patched versions immediately and audit their environments for signs of compromise.