CVE-2025-46059

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.
CVSS

No CVSS.

Configurations

No configuration.

History

04 Aug 2025, 00:15

Type Values Removed Values Added
References
  • () https://github.com/langchain-ai/langchain-community/issues/217#issuecomment-3144824471 -
  • () https://python.langchain.com/docs/security/ -
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. 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.

29 Jul 2025, 15:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-07-29 15:15

Updated : 2025-08-04 00:15


NVD link : CVE-2025-46059

Mitre link : CVE-2025-46059


JSON object : View

Products Affected

No product.

CWE

No CWE.