9.8critical
langchain-ai v0.3.51 was discovered to contain an indirect prompt injection vulnerability in the GmailToolkit component.
- Severity
- 9.8critical CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 1.39% (higher than 72% of CVEs)
- Published
- Last changed
- Assigned by
- mitre
Description
langchain-ai v0.3.51 was discovered to contain an indirect prompt injection vulnerability in the GmailToolkit component. This vulnerability allows attackers to execute arbitrary code and compromise the application via a crafted email message. NOTE: this is disputed by the Supplier because the code-execution issue was introduced by user-written code that does not adhere to the LangChain security practices.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
Classification
SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total.
What each source says
CVE List
langchain-ai v0.3.51 was discovered to contain an indirect prompt injection vulnerability in the GmailToolkit component. This vulnerability allows attackers to execute arbitrary code and compromise the application via a crafted email message. NOTE: this is disputed by the Supplier because the code-execution issue was introduced by user-written code that does not adhere to the LangChain security practices.
NVD (es)
Se descubrió que langchain-ai v0.3.51 contenía una vulnerabilidad de inyección indirecta de mensajes en el componente GmailToolkit. Esta vulnerabilidad permite a los atacantes ejecutar código arbitrario y comprometer la aplicación mediante un mensaje de correo electrónico manipulado.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-46059 changed 2025-08-03 | CVE Terms of Use |
| NVD | CVE-2025-46059 changed 2026-06-17 | Public domain |