Exposure of Sensitive System Information via ImagePromptTemplate in langchain-ai/langchain
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-ai/langchain | affected |
|
No data.
No data.
| Vendor | Product | Versions |
|---|---|---|
| Langchain-ai | Langchain | — |
| Source | ID | Title |
|---|---|---|
EUVD |
EUVD-2025-7069 | langchain-core allows unauthorized users to read arbitrary files from the host file system |
Github GHSA |
GHSA-5chr-fjjv-38qv | langchain-core allows unauthorized users to read arbitrary files from the host file system |
No CVSS v4.0
No CVSS v3.1
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.396% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
threat_severity
|
threat_severity
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | A vulnerability in langchain-core versions >=0.1.17,<0.1.53, >=0.2.0,<0.2.43, and >=0.3.0,<0.3.15 allows unauthorized users to read arbitrary files from the host file system. The issue arises from the ability to create langchain_core.prompts.ImagePromptTemplate's (and by extension langchain_core.prompts.ChatPromptTemplate's) with input variables that can read any user-specified path from the server file system. If the outputs of these prompt templates are exposed to the user, either directly or through downstream model outputs, it can lead to the exposure of sensitive information. | |
| Title | Exposure of Sensitive System Information via ImagePromptTemplate in langchain-ai/langchain | |
| Weaknesses | CWE-497 | |
| References |
| |
| Metrics |
cvssV3_0
|