CVE-2025-46059

CRITICAL EPSS 47.4%
Published Jul 29, 202511mo ago · Modified Jun 17, 20261w ago
9.8 CVSS 3.1
Critical
Find Similar
Published Jul 29, 2025 11mo ago
Last Modified Jun 17, 2026 1w ago

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.

CVSS Details

Base Score
9.8
Exploitability
3.9
Impact
5.9
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality High
Integrity High
Availability High

Threat Intelligence

EPSS Exploit Probability
47.4% percentile
Exploit & Patch Status
No Known Exploit
No Patch Available

Weaknesses 1

CWE-94 Improper Control of Generation of Code (Code Injection) Injection

References 4

  • github.com https://github.com/Jr61-star/CVEs/blob/main/CVE-2025-46059.md
  • github.com https://github.com/langchain-ai/langchain-community/issues/217#issuecomment-3144824471
  • github.com https://github.com/langchain-ai/langchain/issues/30833
  • python.langchain.com https://python.langchain.com/docs/security/

Remediation

No remediation data recorded yet

Check vendor advisories and the NVD entry for patch availability.