GHSA-r399-636x-v7f6 · Severity: high · Ecosystem: npm — LangChain serialization injection vulnerability enables secret extraction
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
Conclusion & alert: CVE-2025-68665 is rated Moderate Risk (41.6/100): CVSS High severity, with low exploitation likelihood (EPSS 0.07%). Mandatory action: Review affected assets and schedule remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-05-22 | 0.04% | 0.07% | +0.02% |
| 2 | 2026-05-21 | 0.06% | 0.04% | -0.02% |
| 3 | 2026-04-24 | — | 0.06% | — |
Full EPSS history (6 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 8.6 | 3.1 | HIGH |
|
3.9 | 4.0 | [email protected] |
| 9.1 | 3.1 | CRITICAL |
|
3.9 | 5.2 | [email protected] |
GHSA-r399-636x-v7f6 · Severity: high · Ecosystem: npm — LangChain serialization injection vulnerability enables secret extraction
| vendor | priority | summary | link |
|---|---|---|---|
redhat
|
high | — | https://access.redhat.com/security/cve/CVE-2025-68665 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| langchain | langchain.js | < 0.3.37 | cpe:2.3:a:langchain:langchain.js:*:*:*:*:*:*:*:* |
| langchain | langchain.js | >= 1.0.0, < 1.2.3 | cpe:2.3:a:langchain:langchain.js:*:*:*:*:*:*:*:* |
| langchain | langchain\/core | < 0.3.80 | cpe:2.3:a:langchain:langchain\/core:*:*:*:*:*:node.js:*:* |
| langchain | langchain\/core | >= 1.0.0, < 1.1.8 | cpe:2.3:a:langchain:langchain\/core:*:*:*:*:*:node.js:*:* |