LangChain Core Flaw Revealed: Secrets at Risk from Serialization Injection
el-balad.com·1d
📚Rkyv
Preview
Report Post

A critical security vulnerability has been uncovered in LangChain Core, raising alarms about potential risks to sensitive secrets. This flaw can be exploited to manipulate large language model (LLM) responses through a technique known as serialization injection.

Details of the Vulnerability

The issue, designated as CVE-2025-68664, has been rated with a CVSS score of 9.3 out of 10. Security researcher Yarden Porat reported this vulnerability on December 4, 2025. Dubbed LangGrinch, it primarily affects the Python package known for its core functionality within the LangChain ecosystem.

This vulnerability lies within LangChain’s dumps() and dumpd() functions, which fail to properly escape dictionaries containing ‘lc’ keys when processing free-form dictionaries. These ‘lc’ ke…

Similar Posts

Loading similar posts...