LangChain serialization injection vulnerability CVE-2025-68664
LangChain
A serialization injection vulnerability in LangChain's dumps and dumpd functions fails to properly escape dictionaries with lc keys. This allows free-form data to be treated as legitimate LangChain objects during deserialization, enabling secret extraction.
disclosed CVENo confirmed exploitation, so this record is tracked as a disclosed vulnerability and not counted as an incident. It moves into the counts if CISA or the vendor confirms exploitation. Why
- CVSS
- 9.3
- EPSS
- 0.43 · top 2% · 2026-11-13
- fix status
- Fix status unknown
- first report
- 23 Dec 2025
- last update
- 23 Dec 2025
- CVE ids
Timeline · 2
Sources · 2
Advisories and databases
- 2025-12-23CVE-2025-68664: LangChain serialization injection vulnerability enables secret extraction in dumps/loads APIsGitHub Advisory Database · github.com/advisories/GHSA-c67j-w6g6-q2cm
- 2025-12-23CVE-2025-68664: LangChain is a framework for building agents and LLM-powered applications.NVD · nvd.nist.gov/vuln/detail/CVE-2025-68664
Titles and links belong to their publishers. The summary above is written by gcdRadar in its own words; data is CC BY-SA 4.0.
Classification
- lane
- Patch now
- AI role
- Attack on AI
- categories
- Infrastructure vulnerability
- severity
- 2 · Disclosed vulnerability
- fix status
- Fix status unknown
- targets
- Framework / tooling
- owasp llm top 10
- LLM03:2025 Supply Chain
- mitre atlas
- no technique for these categories
- dates
- happened 23 Dec 2025 · first reported 23 Dec 2025
- origin
- GitHub Advisory DatabaseVulnerability record from NVD / the GitHub Advisory Database. This product uses the NVD API but is not endorsed or certified by the NVD.
- record
- confidence 0.95 · created 2026-10-18 07:00Z · updated 2026-10-18 10:04Z
Lane, AI role, categories and severity come from the classifier; the OWASP and ATLAS rows are derived from the categories. How these are assigned
Copy a brief
This record as a short Markdown brief, for a ticket, a chat or a coding agent.
the brief as text
# LangChain serialization injection vulnerability CVE-2025-68664 https://gcdradar.vercel.app/incidents/langchain-serialization-injection-vulnerability-cve-2025-686 · AIR-2025-0388 · closed 2025-12-23 - Lane: Patch now - Severity: 2 (Disclosed vulnerability) - Fix status: Fix status unknown - First reported: 2025-12-23 - AI role: Attack on AI - Products: LangChain - CVE ids: CVE-2025-68664 - CVSS: 9.3 ## Summary A serialization injection vulnerability in LangChain's dumps and dumpd functions fails to properly escape dictionaries with lc keys. This allows free-form data to be treated as legitimate LangChain objects during deserialization, enabling secret extraction. ## What to do No action recorded; read the sources below and the vendor's advisory. ## Latest updates - 2025-12-23: CVE-2025-68664: LangChain is a framework for building agents and LLM-powered applications. (https://nvd.nist.gov/vuln/detail/CVE-2025-68664) - 2025-12-23: CVE-2025-68664: LangChain serialization injection vulnerability enables secret extraction in dumps/loads APIs (https://github.com/advisories/GHSA-c67j-w6g6-q2cm) ## Sources - 2025-12-23 GitHub Advisory Database: CVE-2025-68664: LangChain serialization injection vulnerability enables secret extraction in dumps/loads APIs https://github.com/advisories/GHSA-c67j-w6g6-q2cm - 2025-12-23 NVD: CVE-2025-68664: LangChain is a framework for building agents and LLM-powered applications. https://nvd.nist.gov/vuln/detail/CVE-2025-68664 Verify against the vendor's advisory before changing production. Data CC BY-SA 4.0, https://gcdradar.vercel.app.
Related
- closed8.7LangChain family CVE-2024-58340: LangChain MRKLOutputParser regular expression denial-of-service
Patch now · Disclosed · since 12 Jan 2026 · CVE-2024-58340
AI - closed5.1LangChain family CVE-2026-55443: LangChain: Path traversal and sandbox escape in file loaders
Patch now · Disclosed · since 16 Jun 2026 · updated 22 Jun 2026 · CVE-2026-55443
AI - closed8.2LangChain family CVE-2026-44843: LangChain vulnerable to unsafe deserialization
Patch now · Disclosed · since 8 May 2026 · updated 26 May 2026 · CVE-2026-44843
AI - closed3.1LangChain family LangChain langchain-openai TOCTOU DNS rebinding vulnerability
Patch now · Disclosed · since 24 Apr 2026 · CVE-2026-41488
AI - closed6.5LangChain family LangChain URL validation SSRF vulnerability in HTMLHeaderTextSplitter
Patch now · Disclosed · since 24 Apr 2026 · CVE-2026-41481
AI - closed5.3LangChain family CVE-2026-40087: LangChain incomplete f-string validation in prompt templates
Patch now · Disclosed · since 8 Apr 2026 · updated 9 Apr 2026 · CVE-2026-40087
AI