CVE-2025-6984 Details
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.
A vulnerability in the EverNoteLoader component of the langchain-ai/langchain project, specifically in version 0.3.63, allows for XML External Entity (XXE) attacks. This issue arises from insecure XML parsing, as the etree.iterparse() function is used without disabling external entity references. An attacker could exploit this vulnerability by crafting a malicious XML payload that references local files, potentially disclosing sensitive information such as the /etc/passwd file.
To address this vulnerability, update the XML parsing code in the EverNoteLoader component to include the resolve_entities=False parameter in the etree.iterparse() function. This change will disable the processing of external entity references, mitigating the risk of XXE attacks.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 4, 2025CISA-ADP
Assessed Sep 4, 2025References 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.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://huntr.com/bounties/a6b521cf-258c-41c0-9edb-d8ef976abb2a | [email protected] | ExploitTechnical Description |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-200 | Exposure of Sensitive Information to an Unauthorized Actor | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| langchain-ai/langchain | 0.3.63 (semver) |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 19, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Sep 4, 2025 | New CVE Received | [email protected] |
Volerion