PoC Monitor
← All CVEs
CVE-2025-68664published 23 Dec 2025 22:47 UTCData: JSON · API

LangChain

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.

First public PoC 3.3 daysafter publication · 27 Dec 2025
Public PoCs43 on GitHub · 1 Exploit-DB, Metasploit or nuclei · +1 suspicious, not counted
CVSS9.3critical · scored by CNA · CWE-502
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

langchain-ai langchain
  • >= 1.0.0, < 1.2.5
  • < 0.3.81

Fixed in 1.2.5, 0.3.81

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published23 Dec 2025 · t = 0First public PoC27 Dec 2025 · t+3.3d

First public PoC 3.3 days after publication; not in CISA KEV. First PoC: Ak-cybe/CVE-2025-68664-LangGrinch-PoC (created 27 Dec 2025, found by us: backfilled).

PoC repositories

Found on GitHub.

3 PoCs · 1 pending · 1 informational · 1 suspicious or fake

PoCs 3
RepositoryCreatedStarsAssessment
Ak-cybe/CVE-2025-68664-LangGrinch-PoC 27 Dec 2025 +3.3 d 3 PoC
ssoranno-lacework/LangGrinch_Vuln_Example 22 Apr 2026 +120 d 0 PoC via PoC Index
unhackable-demobeta/LangGrinch_Vuln_Example 8 May 2026 +136 d 0 PoC via PoC Index
Pending 1
RepositoryCreatedStarsAssessment
Johnnyzhou666/langgrinch-cve-2025-68664-analysis 10 May 2026 +137 d 0 Pending · mkdir /quarantine/Johnnyzhou666__langgrinch-cve-2025-68664-analysis-408de4d2cbb9: permission denied
Informational 1
RepositoryCreatedStarsAssessment
comerc/CVE-2025-68664 10 Jan 2026 +18 d 0 Informational · write-up
Suspicious or fake 1
RepositoryCreatedStarsAssessment
t-sorger/cve-2025-68664-langgrinch 6 Sep 2026 +256 d 0 Suspicious · score 100
Why suspicious
  • pipes a download into a shell / encoded PowerShell in Dockerfile
  • pipes a download into a shell / encoded PowerShell in scripts/attack.sh

Only PoCs count toward the first-PoC date and the characteristics below. Suspicious repositories (score ≥ 50) never count. Do not run PoC code from unknown sources.

Other public exploits

Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.
SourceTitlePublishedFound by us
Exploit-DBLangChain Core 1.2.4 - SSTI/RCE29 Apr 202614 Nov 2026