CVE-2025-68664
2 advisories.
PyPI/langchain-core CVE-2025-68664: critical 9.3
LangChain serialization injection vulnerability enables secret extraction in dumps/loads APIs
Action: Upgrade langchain-core to 0.3.81 or later.
pip install langchain-core==1.2.5pip install langchain-core==0.3.81Affected
| introduced | fixed | last affected |
|---|---|---|
| 1.0.0 | 1.2.5 | - |
| 0 | 0.3.81 | - |
Fixed versions
| 1.2.5 | 0.3.81 |
Sources
- osv: GHSA-c67j-w6g6-q2cm
- https://github.com/langchain-ai/langchain/security/advisories/GHSA-c67j-w6g6-q2cm
- https://nvd.nist.gov/vuln/detail/CVE-2025-68664
- https://github.com/langchain-ai/langchain/pull/34455
- https://github.com/langchain-ai/langchain/pull/34458
- https://github.com/langchain-ai/langchain/commit/5ec0fa69de31bbe3d76e4cf9cd65a6accb8466c8
- https://github.com/langchain-ai/langchain/commit/d9ec4c5cc78960abd37da79b0250f5642e6f0ce6
- https://github.com/langchain-ai/langchain
- https://github.com/langchain-ai/langchain/releases/tag/langchain-core%3D%3D0.3.81
- https://github.com/langchain-ai/langchain/releases/tag/langchain-core%3D%3D1.2.5
CVE-2025-68664 · published · modified · JSON
PyPI/langchain-core CVE-2025-68664: critical 9.3
LangChain serialization injection vulnerability enables secret extraction in dumps/loads APIs
Action: Upgrade langchain-core to 0.3.81 or later.
pip install langchain-core==0.3.81pip install langchain-core==1.2.5Affected
| introduced | fixed | last affected |
|---|---|---|
| 0 | 0.3.81 | - |
| 1.0.0 | 1.2.5 | - |
Fixed versions
| 0.3.81 | 1.2.5 |
Sources
- osv: PYSEC-2026-373
- https://github.com/langchain-ai/langchain/security/advisories/GHSA-c67j-w6g6-q2cm
- https://nvd.nist.gov/vuln/detail/CVE-2025-68664
- https://github.com/langchain-ai/langchain/pull/34455
- https://github.com/langchain-ai/langchain/pull/34458
- https://github.com/langchain-ai/langchain/commit/5ec0fa69de31bbe3d76e4cf9cd65a6accb8466c8
- https://github.com/langchain-ai/langchain/commit/d9ec4c5cc78960abd37da79b0250f5642e6f0ce6
- https://github.com/langchain-ai/langchain
- https://github.com/langchain-ai/langchain/releases/tag/langchain-core%3D%3D0.3.81
- https://github.com/langchain-ai/langchain/releases/tag/langchain-core%3D%3D1.2.5
- https://pypi.org/project/langchain-core
- https://github.com/advisories/GHSA-c67j-w6g6-q2cm
CVE-2025-68664 · published · modified · JSON