{"id":143,"date":"2026-10-29T07:09:15","date_gmt":"2026-10-29T07:09:15","guid":{"rendered":"https:\/\/bugskan.com\/?p=143"},"modified":"2026-10-29T07:09:16","modified_gmt":"2026-10-29T07:09:16","slug":"langchain-core-serialization-flaw-could-turn-user-data-into-trusted-objects","status":"publish","type":"post","link":"https:\/\/bugskan.com\/index.php\/2026\/10\/29\/langchain-core-serialization-flaw-could-turn-user-data-into-trusted-objects\/","title":{"rendered":"LangChain Core serialization flaw could turn user data into trusted objects"},"content":{"rendered":"<p>LangChain\u2019s advisory describes a serialization-injection flaw in langchain-core. User-controlled dictionaries containing an internal object marker could survive serialization and be interpreted as LangChain objects when later loaded.<\/p>\n<p>Consequences included secret extraction under the earlier environment-secret default and side effects from permitted serializable classes. The advisory does not describe unrestricted loading of arbitrary classes outside trusted namespaces.<\/p>\n<p>Affected ranges are below 0.3.81 and from 1.0.0 below 1.2.5. Upgrade to the corresponding fixed branch or a maintained release, and review loading behavior: the fix also changes security defaults that may affect existing integrations.<\/p>\n<p><a href=\"https:\/\/github.com\/advisories\/GHSA-c67j-w6g6-q2cm\">Read the original source<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE-2025-68664 affected serialization and loading paths; the advisory lists fixes in the 0.3 and 1.x branches.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"bugskan_incident_id":"inc_c1947fb7f3ec7d","bugskan_event_type":"vulnerability","bugskan_response":"REVIEW","bugskan_technical_severity":"","bugskan_technical_severity_source":"","bugskan_evidence_quality":"high","bugskan_affected_scope":"langchain-core =1.0.0,&lt;1.2.5.","bugskan_recommended_next_step":"Upgrade the affected branch and test integrations against the hardened loading defaults.","bugskan_who_should_check":"","bugskan_material_updated_at":"2025-12-23T00:00:00Z","bugskan_reviewer_name":"","bugskan_reviewed_at":"","bugskan_legacy_state":"mapped","bugskan_featured":false,"bugskan_sample":false,"footnotes":""},"categories":[1],"tags":[],"bugskan_format":[2],"bugskan_technology":[44],"class_list":["post-143","post","type-post","status-publish","format-standard","hentry","category-uncategorized","bugskan_format-security-brief","bugskan_technology-langchain-core"],"_links":{"self":[{"href":"https:\/\/bugskan.com\/index.php\/wp-json\/wp\/v2\/posts\/143","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bugskan.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bugskan.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bugskan.com\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/bugskan.com\/index.php\/wp-json\/wp\/v2\/comments?post=143"}],"version-history":[{"count":1,"href":"https:\/\/bugskan.com\/index.php\/wp-json\/wp\/v2\/posts\/143\/revisions"}],"predecessor-version":[{"id":354,"href":"https:\/\/bugskan.com\/index.php\/wp-json\/wp\/v2\/posts\/143\/revisions\/354"}],"wp:attachment":[{"href":"https:\/\/bugskan.com\/index.php\/wp-json\/wp\/v2\/media?parent=143"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bugskan.com\/index.php\/wp-json\/wp\/v2\/categories?post=143"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bugskan.com\/index.php\/wp-json\/wp\/v2\/tags?post=143"},{"taxonomy":"bugskan_format","embeddable":true,"href":"https:\/\/bugskan.com\/index.php\/wp-json\/wp\/v2\/bugskan_format?post=143"},{"taxonomy":"bugskan_technology","embeddable":true,"href":"https:\/\/bugskan.com\/index.php\/wp-json\/wp\/v2\/bugskan_technology?post=143"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}