An unauthenticated remote code execution flaw exists in the custom component editor's code validation logic. The issue occurs because the application fails to properly validate a user-supplied string in the `code` parameter provided to the `/api/v1/validate` endpoint before using it to execute Python code. This allows a remote attacker to execute arbitrary code in the context of root.
Real-world exploitation has been observed, with over 360 attempts detected by honeypots. Attackers are using this flaw to perform system reconnaissance and harvest sensitive credentials from environment variables and the filesystem, specifically targeting `OPENAI API*`, `AWS ACCESS*`, `AWS SECRET*`, `LANGFLOW SUPERUSER`, `/root/.cache/langflow/secret key`, `.ssh` directories, and `.bash history` files.