LangChain Experimental versions prior to 0.0.52 contain a critical vulnerability (CVE-2024-27444) that allows attackers to bypass previous fixes and execute arbitrary code by exploiting certain Python attributes. This flaw affects langchain_experimental before 0.0.52 and the broader LangChain before 0.1.8. The vulnerability arises because attributes such as __import__, __subclasses__, __builtins__, and others are not properly restricted, enabling code execution.