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.
Advisories
Source ID Title
EUVD EUVD EUVD-2025-23002 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.
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Sun, 03 Aug 2025 23:30:00 +0000

Type Values Removed Values Added
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. 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.
References

Wed, 30 Jul 2025 15:15:00 +0000

Type Values Removed Values Added
First Time appeared Langchain
Langchain langchain
Langchain-ai
Langchain-ai langchain
Vendors & Products Langchain
Langchain langchain
Langchain-ai
Langchain-ai langchain

Wed, 30 Jul 2025 00:15:00 +0000

Type Values Removed Values Added
Title langchain-core: Langchain indirect propmpt injection
References
Metrics threat_severity

None

threat_severity

Important


Tue, 29 Jul 2025 15:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-94
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Tue, 29 Jul 2025 14:45:00 +0000

Type Values Removed Values Added
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.
References

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2025-08-03T23:20:43.149Z

Reserved: 2025-04-22T00:00:00.000Z

Link: CVE-2025-46059

cve-icon Vulnrichment

Updated: 2025-07-29T14:55:47.444Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2025-07-29T15:15:35.003

Modified: 2025-08-04T00:15:29.423

Link: CVE-2025-46059

cve-icon Redhat

Severity : Important

Publid Date: 2025-07-29T00:00:00Z

Links: CVE-2025-46059 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2025-07-30T15:04:14Z