{"id":74776,"date":"2025-12-24T02:45:44","date_gmt":"2025-12-23T23:15:44","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2025-68664-langchain-serialization-injection-vulnerability-enables-secret-extraction-in-dumps-loads-apis\/"},"modified":"2025-12-24T02:45:44","modified_gmt":"2025-12-23T23:15:44","slug":"cve-2025-68664-langchain-serialization-injection-vulnerability-enables-secret-extraction-in-dumps-loads-apis","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2025-68664-langchain-serialization-injection-vulnerability-enables-secret-extraction-in-dumps-loads-apis\/","title":{"rendered":"CVE-2025-68664 &#8211; LangChain serialization injection vulnerability enables secret extraction in dumps\/loads APIs"},"content":{"rendered":"<p>CVE ID : CVE-2025-68664<\/p>\n<p>Published :  Dec. 23, 2025, 11:15 p.m. | 5\u00a0hours, 5\u00a0minutes ago<\/p>\n<p>Description : 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&#8217;s dumps() and dumpd() functions. The functions do not escape dictionaries with &#8216;lc&#8217; keys when serializing free-form dictionaries. The &#8216;lc&#8217; 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.<\/p>\n<p>Severity: 9.3 | CRITICAL<\/p>\n<p>Visit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID : CVE-2025-68664 Published : Dec. 23, 2025, 11:15 p.m. | 5\u00a0hours, 5\u00a0minutes ago Description : 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&#8217;s dumps() and dumpd() functions. The functions do not escape dictionaries with &#8216;lc&#8217; keys when serializing [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-74776","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/74776","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=74776"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/74776\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=74776"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=74776"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=74776"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}