{"id":"CVE-2025-46059","aliases":["CVE-2025-46059"],"related":[],"kind":"vulnerability","state":"published","title":"langchain-ai v0.3.51 was discovered to contain an indirect prompt injection vulnerability in the GmailToolkit component.","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2025-07-29T00:00:00.000Z","modified":"2026-06-17T09:25:54.267Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-94"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"}],"references":[{"url":"https://github.com/langchain-ai/langchain/issues/30833","tags":[],"sources":["cvelist","nvd"]},{"url":"https://github.com/Jr61-star/CVEs/blob/main/CVE-2025-46059.md","tags":[],"sources":["cvelist","nvd"]},{"url":"https://github.com/langchain-ai/langchain-community/issues/217#issuecomment-3144824471","tags":[],"sources":["cvelist","nvd"]},{"url":"https://python.langchain.com/docs/security/","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"total","date":"2025-07-29T14:55:27.105Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-46059","url":"https://www.cve.org/CVERecord?id=CVE-2025-46059","licence":"CVE Terms of Use","modified":"2025-08-03T23:20:43.149Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-46059","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-46059","licence":"Public domain","modified":"2026-06-17T09:25:54.267Z"}],"updatedAt":"2026-11-25T22:59:01.844Z","epss":{"score":0.01385,"percentile":0.72421,"date":"2026-11-30T12:00:22.000Z"}}