{"id":"CVE-2025-46059","sourceIdentifier":"cve@mitre.org","published":"2025-07-29T15:15:35.003","lastModified":"2026-06-17T09:25:54.267","vulnStatus":"Deferred","cveTags":[{"sourceIdentifier":"cve@mitre.org","tags":["disputed"]}],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":"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."}],"affected":[{"source":"cve@mitre.org","affectedData":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":9.8,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":3.9,"impactScore":5.9}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2025-07-29T14:55:27.105160Z","id":"CVE-2025-46059","options":[{"exploitation":"poc"},{"automatable":"yes"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","description":[{"lang":"en","value":"CWE-94"}]}],"references":[{"url":"https://github.com/Jr61-star/CVEs/blob/main/CVE-2025-46059.md","source":"cve@mitre.org"},{"url":"https://github.com/langchain-ai/langchain-community/issues/217#issuecomment-3144824471","source":"cve@mitre.org"},{"url":"https://github.com/langchain-ai/langchain/issues/30833","source":"cve@mitre.org"},{"url":"https://python.langchain.com/docs/security/","source":"cve@mitre.org"}]}