Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2025-46059 Details

ANALYZED


This CVE record has been analyzed and enriched by NVDAPI.com as an independent party.

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.

Metrics

CVSS 3.x Severity and Vector Strings:

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

Weakness Enumeration

CWE-IDCWE NameSource
CWE-94Improper Control of Generation of Code ('Code Injection')CISA-ADP

Affected Products

ProductVersions
langchain-ai/langchain
<v0.3.51 (semver)

CPE

  • cpe:2.3:a:langchain:langchain:*:*:*:*:*:*:*:*

Remediation

  • Upgrade: 0.3.52moderate effort

Change History

5 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2025-46059
NVD Published Date:
Jul 29, 2025
NVD Last Modified:
Jun 17, 2026
Source:
[email protected]
CVE-2025-46059 Details - Not Deferred