Known CVEnpm/@langchain/core
CVE-2025-68665: LangChain.js serialization injection exposes secrets
High
The JavaScript twin of CVE-2025-68664: objects with an 'lc' key are revived on load, which can extract secrets. Fixed in @langchain/core 0.3.80 and 1.1.8, langchain 0.3.37 and 1.2.3.
Affected and fixed versions
Affected: @langchain/core < 0.3.80; @langchain/core >= 1.0.0, < 1.1.8; langchain < 0.3.37; langchain >= 1.0.0, < 1.2.3. Fixed in @langchain/core 0.3.80, @langchain/core 1.1.8, langchain 0.3.37, langchain 1.2.3.
Sources
See every known CVE, and the ones in the news, in the Learning Center