Skip to content
CriticalVulnerabilityLLM-specific

CVE-2025-46059: langchain-ai GmailToolkit indirect prompt injection via crafted email

Identifier
CVE-2025-46059
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.8%

Summary

CVE-2025-46059 describes an indirect prompt injection flaw in the GmailToolkit component of langchain-ai v0.3.51. According to the description, a crafted email message can lead attackers to execute arbitrary code and compromise the application. The supplier disputes the entry, stating that the code-execution issue comes from user-written code that does not follow LangChain security practices.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.