{"id":"CVE-2025-46059","published":"2025-07-29T00:00:00Z","modified":"2025-08-03T23:20:43Z","title":"langchain-ai v0.3.51 was discovered to contain an indirect prompt injection vulnerability in the GmailToolkit component","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00839,"percentile":0.58722,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://github.com/langchain-ai/langchain/issues/30833","tags":[]},{"url":"https://github.com/Jr61-star/CVEs/blob/main/CVE-2025-46059.md","tags":[]},{"url":"https://github.com/langchain-ai/langchain-community/issues/217#issuecomment-3144824471","tags":[]},{"url":"https://python.langchain.com/docs/security/","tags":[]}],"priority":{"score":18.6,"factors":[{"name":"EPSS percentile","points":11.74},{"name":"CVSS severity","points":6.86}]},"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2025-07-29T14:55:27.105160Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-23002","exploited":false,"provenance":"source"}}