Information disclosure in Langchain-Ai Langchain-Ai/langchain

CVE-2025-6984

The langchain-ai/langchain project, specifically the EverNoteLoader component, is vulnerable to XML External Entity (XXE) attacks due to insecure XML parsing. The affected version is 0.3.63. The vulnerability arises from the use of etree.iterparse() without disabling external entity references, which can lead to sensitive information disclosure. An attacker could exploit this by crafting a malicious XML payload that references local files, potentially exposing sensitive data such as /etc/passwd.

Vulnerability class: Information Disclosure

EPSS: 0.015 (72.2th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.5 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2025-6984?
CVE-2025-6984 is a high-severity vulnerability in Langchain-Ai Langchain-Ai/langchain, classified under Information Disclosure. CVSS score: 7.5/10. Published 2025-09-04.
How severe is CVE-2025-6984?
High severity. CVSS v3 base score is 7.5 out of 10.
Is CVE-2025-6984 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.