CVE-2025-65106
Last modified
CVE-2025-65106 is a high-severity vulnerability rated 8.3/10 on the CVSS scale. LangChain is a framework for building agents and LLM-powered applications. From versions 0.3.79 and prior and 1.0.0 to 1.0.6, a template injection vulnerability exists in LangChain's prompt template system that allows attackers to access Python object internals through template syntax. EPSS estimates a 0.47% chance of exploitation in the next 30 days.
Description
LangChain is a framework for building agents and LLM-powered applications. From versions 0.3.79 and prior and 1.0.0 to 1.0.6, a template injection vulnerability exists in LangChain's prompt template system that allows attackers to access Python object internals through template syntax. This vulnerability affects applications that accept untrusted template strings (not just template variables) in ChatPromptTemplate and related prompt template classes. This issue has been patched in versions 0.3.80 and 1.0.7.
Metrics
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:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2025-65106?
How severe is CVE-2025-65106?
How do I fix CVE-2025-65106?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-6510A vulnerability was found in Netgear EX6100 1.0.2.28_1.1.138…8.8
- CVE-2025-65100Isar is an integration system for automated root filesystem …6.9
- CVE-2025-65102PJSIP is a free and open source multimedia communication lib…8.7
- CVE-2025-65103OpenSTAManager is an open source management software for tec…8.8
- CVE-2025-65104Firebird is an open-source relational database management sy…7.5
- CVE-2025-65105Apptainer is an open source container platform. In Apptainer…5.3
- CVE-2025-65107Langfuse is an open source large language model engineering …6.5
- CVE-2025-65108md-to-pdf is a CLI tool for converting Markdown files to PDF…10
- CVE-2025-65109Minder is an open source software supply chain security plat…8.5
- CVE-2025-6511A vulnerability classified as critical has been found in Net…8.8
- CVE-2025-65110Vega is a visualization grammar, a declarative format for cr…9.3
- CVE-2025-65111SpiceDB is an open source database system for creating and m…5.3
Are you affected by CVE-2025-65106?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
