High severity · published Sep 4, 2025
CVE-2025-6984
Sensitive Information Disclosure Due to Insecure XML Parsing in langchain-ai/langchain
7.5
CVSS
1.6%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
None
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.6% · higher than 76% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
LA
langchain-ai/langchain · langchain-ai
through latest · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-6984
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-6984
huntr.com
https://huntr.com/bounties/a6b521cf-258c-41c0-9edb-d8ef976abb2a
More from langchain-ai/langchain
10.0
CVE-2025-2828
SSRF Vulnerability in RequestsToolkit in langchain-ai/langchain
7.5
CVE-2025-6985
XXE Vulnerability in langchain-ai/langchain
7.3
CVE-2025-8709
SQL Injection in langchain-ai/langchain
