CVE Tools
Home/Vulnerability/CVE-2025-68664

CVE-2025-68664

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

Published: Dec 23, 2025Updated: Jan 13, 2026 Sources: CVE List NVD GHSA
9.3CVSS
CRITICAL

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.

EPSS Score
2.6%
Top 13.9%
CISA KEV
Not in KEV
Exploits
1 Known
Remediation
Patch Available

CVSS Vector Breakdown

AV:NAC:LPR:NUI:NS:CC:HI:LA:N
Exploitability
AV:NAttack Vector
Network
AC:LAttack Complexity
Low
PR:NPrivileges Required
None
UI:NUser Interaction
None
Scope
S:CScope
Changed
Impact
C:HConfidentiality
High
I:LIntegrity
Low
A:NAvailability
None

Weaknesses

Affected Products

langchain
langchain-ai
AI / ML / ai-agent-tooling
langchain core
langchain
AI / ML / ml-framework
langchain-core
PyPI
OSS Libraries / pypi
langchain-aioss-projectAI / MLaka langchain, langgraph, langchain-ai/langchain
langchainoss-projectAI / MLaka langchain-experimental, langchain core
pypipackage-ecosystemOSS Libraries

Attack Graph

Products CVE Techniques Tactics

Click technique nodes to view MITRE ATT&CK details. Scroll to zoom, drag to pan.

Exploitability

1 exploit source identified

Exploit details including PoC links, Metasploit modules, and scanner templates are available after registration.

View exploit details
Official Patch Available

MITRE ATT&CK

3 techniques
Execution
Initial Access
View detailed technique mapping

References

and 6 more references View all →

Timeline

Published
Dec 23, 2025
Last Updated
Jan 13, 2026
1

Unlock Complete Vulnerability Intelligence

Get the full picture for CVE-2025-68664 and every CVE in our database. Create a free account — no credit card required.

Create Free Account
Plain-language analysis
Impact assessment and exploitation scenario in plain English
Attack graph visualization
Interactive attack path and kill chain mapping
Exploit details & PoC links
ExploitDB, Metasploit, GitHub PoCs with direct links
Nuclei scanner templates
Ready-to-use vulnerability scanner templates
Full remediation guide
Patch instructions, workarounds, and compliance impact
Interactive AI chat
Ask questions about this vulnerability in natural language
Related vulnerabilities
Semantically similar CVEs and attack patterns
REST API & MCP access
Integrate vulnerability data into your workflows