CVE-2025-6984
September 04, 2025
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.
Affected Packages
langchain-community (CONDA):
Affected version(s) >=0.0.2 <0.3.27Fix Suggestion:
Update to version 0.3.27https://github.com/langchain-ai/langchain-community.git (GITHUB):
Affected version(s) >=libs/community/v0.3.23 <libs/community/v0.3.27Fix Suggestion:
Update to version libs/community/v0.3.27langchain-community (PYTHON):
Affected version(s) >=0.0.1rc1 <0.3.27Fix Suggestion:
Update to version 0.3.27langchain-community (PYTHON):
Affected version(s) >=0.0.1 <0.3.27Fix Suggestion:
Update to version 0.3.27Related ResourcesĀ (5)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.7
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Weakness Type (CWE)
EPSS
Base Score:
1.92