LangChain Vulnerable to Template Injection via Attribute Access in Prompt Templates
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| langchain-ai | langchain | affected |
|
No data.
No data.
| Vendor | Product | Versions |
|---|---|---|
| Langchain-ai | Langchain | — |
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-6qv9-48xg-fc7f | LangChain Vulnerable to Template Injection via Attribute Access in Prompt Templates |
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.524% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
threat_severity
|
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Langchain-ai
Langchain-ai langchain |
|
| Vendors & Products |
Langchain-ai
Langchain-ai langchain |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | LangChain Vulnerable to Template Injection via Attribute Access in Prompt Templates | |
| Weaknesses | CWE-1336 | |
| References |
| |
| Metrics |
cvssV4_0
|