CVE-2025-46059
JSON

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 packageVersionsReported by
Unspecified productn/aCVE List

Classification

CWE-94

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

SourceRecordLicence
CVE ListCVE-2025-46059 changed 2025-08-03CVE Terms of Use
NVDCVE-2025-46059 changed 2026-06-17Public domain