CVE-2025-65106: LangChain Vulnerable to Template Injection via Attribute Access
Attack on AI2 Disclosed vulnerabilityInfrastructure vulnerability
A template injection vulnerability in LangChain allows attackers to access Python object internals through template syntax in prompt templates. A patch has been provided by the maintainers.
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
Details
- type
- Attack on AIAn AI model, agent or AI-powered product was the thing exploited, abused or leaked.
- categories
- Infrastructure vulnerabilityCVEs and advisories in AI frameworks, inference servers, MCP servers, AI developer tools and hosting stacks.
- Infrastructure vulnerability
- owasp llm top 10
- mitre atlas
- no technique for these categoriesBoth rows are derived from the type and categories (OWASP 2025 edition, ATLAS release 2026.09), not classified per record. How
- severity
- 2 · Disclosed vulnerabilityCVE or vendor advisory, patched or patchable, no confirmed exploitation.
- targets
- Framework / tooling
- products
- LangChain
- incident date
- 20 Nov 2025
- first reported
- 20 Nov 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.
- classifier confidence
- 0.95 · published at or above 0.80; see the methodology
- tags
- CVE-2025-65106 · template-injection · langchain
- record
- created 2026-10-18 07:00Z · updated 2026-10-18 10:04Z · json
Sources · 2
- 2025-11-20CVE-2025-65106: LangChain Vulnerable to Template Injection via Attribute Access in Prompt TemplatesGitHub Advisory Database · github.com/advisories/GHSA-6qv9-48xg-fc7f
- 2025-11-21CVE-2025-65106: LangChain is a framework for building agents and LLM-powered applications.NVD · nvd.nist.gov/vuln/detail/CVE-2025-65106
Titles and links belong to their publishers. The summary above is written by GCD AI RADAR in its own words; data is CC BY-SA 4.0.
Related incidents
- 2026-05-08CVE-2026-44843: LangChain vulnerable to unsafe deserialization2 Disclosedon AIInfra vulnSupply chain2 src
- 2026-04-24LangChain langchain-openai TOCTOU DNS rebinding vulnerability2 Disclosedon AIInfra vuln1 src
- 2026-04-24LangChain URL validation SSRF vulnerability in HTMLHeaderTextSplitter2 Disclosedon AIInfra vuln1 src
- 2026-04-08CVE-2026-40087: LangChain incomplete f-string validation in prompt templates2 Disclosedon AIInfra vuln2 src
- 2026-03-31RCE Vulnerabilities in LLM-Integrated Applications via Prompt Injection1 Researchon AIPrompt inj.Infra vuln3 src
- 2026-03-27CVE-2026-34070: LangChain Core Has Path Traversal Vulnerabilities in load_prompt2 Disclosedon AIInfra vuln2 src