{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2025-68665","published":"2025-12-23T23:15:45.097000Z","last_modified":"2026-10-19T22:10:00.130000Z","status":"Analyzed","cvss":{"version":"3.1","score":9.1,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-502"],"cpes":[{"criteria":"cpe:2.3:a:langchain:langchain.js:*:*:*:*:*:*:*:*","part":"a","vendor":"langchain","product":"langchain.js","version_end_excluding":"0.3.37"},{"criteria":"cpe:2.3:a:langchain:langchain.js:*:*:*:*:*:*:*:*","part":"a","vendor":"langchain","product":"langchain.js","version_start_including":"1.0.0","version_end_excluding":"1.2.3"},{"criteria":"cpe:2.3:a:langchain:langchain\\/core:*:*:*:*:*:node.js:*:*","part":"a","vendor":"langchain","product":"langchain/core","version_end_excluding":"0.3.80"},{"criteria":"cpe:2.3:a:langchain:langchain\\/core:*:*:*:*:*:node.js:*:*","part":"a","vendor":"langchain","product":"langchain/core","version_start_including":"1.0.0","version_end_excluding":"1.1.8"}],"cpes_truncated":false,"vendors":["langchain"],"products":["langchain/langchain.js","langchain/langchain-core"],"ssvc":{"exploitation":"poc","automatable":"yes","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-r399-636x-v7f6","ecosystem":"npm","name":"@langchain/core","purl":"pkg:npm/%40langchain/core","ranges":[{"introduced":"1.0.0","fixed":"1.1.8"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-r399-636x-v7f6","ecosystem":"npm","name":"@langchain/core","purl":"pkg:npm/%40langchain/core","ranges":[{"introduced":"0","fixed":"0.3.80"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-r399-636x-v7f6","ecosystem":"npm","name":"langchain","purl":"pkg:npm/langchain","ranges":[{"introduced":"1.0.0","fixed":"1.2.3"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-r399-636x-v7f6","ecosystem":"npm","name":"langchain","purl":"pkg:npm/langchain","ranges":[{"introduced":"0","fixed":"0.3.37"}],"versions":[],"versions_truncated":false}],"severity":"critical","priority_score":70,"links":{"html_es":"/es/cve/CVE-2025-68665/","html_en":"/en/cve/CVE-2025-68665/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-68665","cve_org":"https://www.cve.org/CVERecord?id=CVE-2025-68665"},"untrusted":{"vendor_name":"Langchain","product_name":"Langchain.js","desc_en":"LangChain is a framework for building LLM-powered applications. Prior to @langchain/core versions 0.3.80 and 1.1.8, and prior to langchain versions 0.3.37 and 1.2.3, a serialization injection vulnerability exists in LangChain JS's toJSON() method (and subsequently when string-ifying objects using JSON.stringify(). The method did not escape objects with 'lc' keys when serializing free-form data in kwargs. The 'lc' key is used internally by LangChain to mark serialized objects. When user-controlled data contains this key structure, it is treated as a legitimate LangChain object during deserialization rather than plain user data. This issue has been patched in @langchain/core versions 0.3.80 and 1.1.8, and langchain versions 0.3.37 and 1.2.3","affected":[{"untrusted_vendor":"langchain-ai","untrusted_product":"langchainjs","versions":[]}],"references":[{"url":"https://github.com/langchain-ai/langchainjs/commit/e5063f9c6e9989ea067dfdff39262b9e7b6aba62","tags":["Patch"]},{"url":"https://github.com/langchain-ai/langchainjs/releases/tag/%40langchain%2Fcore%401.1.8","tags":["Release Notes"]},{"url":"https://github.com/langchain-ai/langchainjs/releases/tag/langchain%401.2.3","tags":["Release Notes"]},{"url":"https://github.com/langchain-ai/langchainjs/security/advisories/GHSA-r399-636x-v7f6","tags":["Vendor Advisory"]}]}}