Vulnerability · CVE-2025-68665
LangChain is a framework for building LLM-powered applications.
Published Dec 23, 2025 · catalog updated Dec 24, 2025 · LangChain is a framework
Last checked Nov 2, 2026. A connected source was read within the last 7 days.
Check if you run it
No confirmed exploitation is on record for CVE-2025-68665. EPSS is 0.79%. Act only if a listed version of LangChain is a framework is installed.
Gaps on this record
- The stored product name is a package slug. The name on this page is taken from the title (LangChain is a framework).
- No vendor fix or required action is stored. Compare the linked advisory before you change production.
Same product and reporting
- CVE-2026-26019 · Medium
- Severity
- High8.6
- Known exploitation
- Not in CISA/VulnCheck KEV
- EPSS
- 0.79%
- Remediation
- Version ranges on file
- Affected products
- vendor langchain-ai langchainjs langchain 1.0.0, < 1.2.3
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 deserializ
Are you affected?
Enter the version you run. The result uses only the ranges stored on this record.
The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.
- vendor langchain-ai langchainjs langchain 1.0.0, < 1.2.3langchain 1.0.0, < 1.2.3
How to fix CVE-2025-68665
Upgrade
CVE-2025-68665 lists a fix boundary at 1.2.3. Compare the installed build with that boundary before you change production.
Version check
Affected < 1.2.3
Advisory
Open the cve_org record and follow its fix.
Official advisories
What to do
Three questions, each answered from this record only. Confirm the vendor advisory before you patch.
Should you patch?
No confirmed exploitation is on record for CVE-2025-68665. EPSS is 0.79%. Act only if a listed version of LangChain is a framework is installed.
Which versions are affected?
Compare what you have installed with langchain-ai langchainjs langchain 1.0.0, < 1.2.3 langchain 1.0.0, < 1.2.3. Compare the installed version with the linked vendor advisory before you change production.
What should an analyst verify?
No weakness class is stored. EPSS 0.79%. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.
Code
The project this record applies to. Exploit listings stay in References.
Timeline
Detection, updates, and resolution for this record.
Dec 23, 2025 · EUVD
Detected
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
Dec 24, 2025 · EUVD
Updated
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
Sources
- CVE.orgVulnerability recordCVE-2025-68665
Official CVE identifier
cve.org - FIRST EPSSExploitation probabilityCVE-2025-68665
30-day exploitation probability 0.79%
first.org - EUVDVulnerability recordEUVD-2025-204846
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-ify
euvd.enisa.europa.eu
References
Freshness
Last verified in this catalog Nov 2, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.
- FIRST EPSSNov 2, 2026
- CVE.orgNov 2, 2026
- EUVDNov 1, 2026