Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2025-68664

70
FAUCET Score

CVE-2025-68664 is a serialization injection vulnerability affecting LangChain and LangChain Core versions prior to 0.3.81 and 1.2.5. The vulnerability arises because the dumps() and dumpd() functions fail to properly escape dictionaries containing the internal 'lc' key when serializing free-form user data. This allows specially crafted user input to be misinterpreted as legitimate LangChain objects during deserialization. This vulnerability carries a CVSS score of 8.2 (HIGH), indicating a critical severity. It is a network-exploitable vulnerability with low attack complexity, requiring no user interaction. A successful exploit could lead to high confidentiality impact (data disclosure) and low integrity impact. While there is no evidence of active exploitation, nor publicly available exploit code in Metasploit, Nuclei, or ExploitDB, the vulnerability has garnered significant community attention with 16 mentions, including discussions on GitHub and Mastodon regarding its critical nature and potential for secret exposure.

Impacted Technologies

VendorProductVersion(s)CPE
< 0.3.81CPE matchmatch criteria
cpe:2.3:a:langchain:langchain_core:*:*:*:*:*:python:*:*
>= 1.0.0, < 1.2.5CPE matchmatch criteria
cpe:2.3:a:langchain:langchain_core:*:*:*:*:*:python:*:*

CVSS Data

CVSS version used by this source: 3.1

9.3CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N

Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
CHANGED
Confidentiality Impact
HIGH
Integrity Impact
LOW
Availability Impact
NONE
Exploitability Score
3.9
Impact Score
4.7
CvssVersion
3.1

Exploit Intelligence

EPSS Score
41.45%
Probability of exploitation in next 30 days
EPSS Percentile
98.5%
Percentile rank of EPSS score among Peer Group
As of 2026-07-26
Model: v2026.06.15
ExploitDB: EDB-52514 · Apr 29, 2026
This CVE's current EPSS score of 0.4145 is in the 97th percentile among its peer group of 51,485 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.0 Reddit, 0.1 Bluesky, 0.1 Mastodon, and 0.4 GitHub mentions.

Media Mentions

The average CVE in this peer group has 0.1 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (8)

github_advisorypatch availablevia nvd_reference
View patch
pippatch availablevia ghsa
Product: langchain-coreFixed in: 1.2.5
pippatch availablevia ghsa
Product: langchain-coreFixed in: 0.3.81
redhatpatch availablevia redhat_api
Product: Red Hat Ansible Automation Platform 2.4Fixed in: ansible-automation-platform-24/lightspeed-rhel8:sha256:c119e0c4cb1cca9081a30abfec209ae540e8966645c2815703390a654993fe3c
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Ansible Automation Platform 2.5Fixed in: ansible-automation-platform-25/lightspeed-chatbot-rhel8:sha256:15673bc003799f7c9d2252e2d25c0e0dbdec1833a276f98064a32b15cdfc2073
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Ansible Automation Platform 2.5Fixed in: ansible-automation-platform-25/lightspeed-rhel8:sha256:59f4514d088de4f33eb355f4cac4e2340736d7229097a5522cb6fde51c585c53
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Ansible Automation Platform 2.6Fixed in: ansible-automation-platform-26/lightspeed-rhel9:sha256:f9e4c3d17b5e09fa11e8489ef3cfe9b6ec1ca68539ab4a2d2851317a8bf8813e
View patch
redhatpatch availablevia redhat_api
Product: Red Hat OpenShift Lightspeed 1.0.10Fixed in: openshift-lightspeed/lightspeed-service-api-rhel9:sha256:23af5c023d054ad9f607f4a8df270c01607a7ace1acd328b5c3702e32dccb621
View patch

Vendor Advisories (2)

redhatCVE-2025-68664Critical

langchain-core: LangChain: Arbitrary code execution via serialization injection

Dec 23, 2025
pipGHSA-c67j-w6g6-q2cmcritical

LangChain serialization injection vulnerability enables secret extraction in dumps/loads APIs

Dec 23, 2025

References

github.com / langchain-ai/langchain/commit/5ec0fa69de31bbe3d76e4cf9cd65a6accb8466c8
Patch
github.com / langchain-ai/langchain/commit/d9ec4c5cc78960abd37da79b0250f5642e6f0ce6
Patch
github.com / langchain-ai/langchain/pull/34455
Issue TrackingPatch
github.com / langchain-ai/langchain/pull/34458
Issue TrackingPatch
github.com / langchain-ai/langchain/releases/tag/langchain-core%3D%3D0.3.81
Release Notes
github.com / langchain-ai/langchain/releases/tag/langchain-core%3D%3D1.2.5
Release Notes
github.com / langchain-ai/langchain/security/advisories/GHSA-c67j-w6g6-q2cm
ExploitVendor Advisory