#VU122961 Improper Neutralization of Special Elements Used in a Template Engine in LangChain - CVE-2025-65106
Published: February 16, 2026
Vulnerability identifier: #VU122961
Vulnerability risk: High
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2025-65106
CWE-ID: CWE-1336
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerable software:
LangChain
LangChain
Software vendor:
LangChain
LangChain
Description
The vulnerability allows a remote attacker to gain access to potentially sensitive information.
The vulnerability exists due to template injection vulnerability in LangChain's prompt template system. A remote attacker can access Python object internals through template syntax.
Remediation
Install updates from vendor's website.