SEVERITY AND EXPLOITATION CONTEXT

CVE-2025-68664: LangChain serialization injection vulnerability enables secret extraction in dumps/loads APIs

Review published vectors, EPSS probability and CISA KEV status independently.

Lookup reads saved CVE and CISA snapshots from this site and requests EPSS from FIRST. The CVE source is contacted when a saved record is unavailable or you request a refresh. External providers receive your IP address. Finding notes and saved assessments are not sent by this feature.

LangChain serialization injection vulnerability enables secret extraction in dumps/loads APIs

LangChain is a framework for building agents and LLM-powered applications. Prior to versions 0.3.81 and 1.2.5, a serialization injection vulnerability exists in LangChain's dumps() and dumpd() functions. The functions do not escape dictionaries with 'lc' keys when serializing free-form dictionaries. 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 versions 0.3.81 and 1.2.5.

Published CVE snapshot: 2026-10-22. Record last updated: 2025-12-24T14:40:58.427Z. The live panels refresh separately; this snapshot remains available if a source cannot be reached.

View the CVE Program source record

GitHub_M · CVSS 3.1: 9.3 Critical

Calculated from the published vector. Base score: 9.3. Provider-reported Base score: 9.3.

Vector and metric explanationsCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N
MetricValueMeaning
Attack vector (AV)NReachable across a network boundary, including internet or routed network paths.
Attack complexity (AC)LExploitation does not depend on special conditions beyond the attacker’s control.
Privileges required (PR)NThe attacker needs no privileges before exploiting the vulnerability.
User interaction (UI)NNo other user must participate for exploitation to succeed.
Scope (S)CConsequences extend to resources managed by a different security authority.
Confidentiality (C)HAll information is disclosed, or a limited disclosure has a direct, serious confidentiality consequence.
Integrity (I)LSome modification is possible, with limited scope or consequence.
Availability (A)NNo availability impact is demonstrated.

These definitions explain provider selections; they do not independently verify exploitation.

Review vector in calculator

Affected products reported by the provider

  • langchain-ai · langchain

Consult the advisory for affected version ranges, configurations and remediation. A product listing alone does not establish that your installation is vulnerable.

Source references (7)

Interpret severity and exploitation separately

CVSS measures technical severity. EPSS estimates exploitation probability over the next 30 days. CISA KEV lists known exploited vulnerabilities. A missing EPSS result is not zero probability, and absence from KEV does not prove no exploitation. Review your deployment and retain the version, vector and evidence when documenting a finding.

Browse CVEs from 2025 · All published CVEs · Calculation methodology