Chainguard: multiple py3-langchain packages: security update to 1.2.6-r0

high Tenable Cloud Security Plugin ID 491668

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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's dumps() and dumpd() functions. The
functions do not escape dictionaries with 'lc' keys when serializing free-form dictionaries. The 'lc' 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. (CVE-2025-68664)

Solution

Update the py3-langchain library and its related packages to version 1.2.6-r0 or later.

Plugin Details

Severity: High

ID: 491668

Version: Revision 1.1

Type: Local

Published: 12/2/2026

Updated: 12/2/2026

Risk Information

VPR

Risk Factor: Medium

Score: 6.2

Percentile: 96.3

CVSS v2

Risk Factor: High

Base Score: 8.5

Temporal Score: 6.7

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:P/A:N

CVSS Score Source: CVE-2025-68664

CVSS v3

Risk Factor: High

Base Score: 8.2

Temporal Score: 7.4

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Vulnerability Publication Date: 12/23/2025

Reference Information

CVE: CVE-2025-68664