Skip to content
AgentProv

2025-12 · 2025-Q4

LangChain "LangGrinch" Serialization Injection

Who wrote the file that runs on open?

The question layer 5 asks, and failed here.
Fixable
Vendor patch
Vendor response
Patched
In the wild
No
Actor
Attacker

Target

LangChain Core (before 0.3.81)

Impact

Secret exfiltration and potential RCE via LLM-influenced metadata containing reserved 'lc' key

Root cause

dumps()/dumpd() did not escape user-controlled dicts with reserved serialization marker

CVE

Sources

Catalog

Cite this: AgentProv incident record: LangChain "LangGrinch" Serialization Injection (2025-12). https://agentprov.com/incidents/2025-12-langchain-langgrinch-serialization-injection