A critical security vulnerability has been uncovered in LangChain Core, raising alarms about potential risks to sensitive secrets. This flaw can be exploited to manipulate large language model (LLM) responses through a technique known as serialization injection.

Details of the Vulnerability

The issue, designated as CVE-2025-68664, has been rated with a CVSS score of 9.3 out of 10. Security researcher Yarden Porat reported this vulnerability on December 4, 2025. Dubbed LangGrinch, it primarily affects the Python package known for its core functionality within the LangChain ecosystem.

This vulnerability lies within LangChain’s dumps() and dumpd() functions, which fail to properly escape dictionaries containing ‘lc’ keys when processing free-form dictionaries. These ‘lc’ ke…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help