CVE-2025-6984 – langchain-community
Package
Manager: pip
Name: langchain-community
Vulnerable Version: >=0 <0.3.27
Severity
Level: High
CVSS v3.1: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
EPSS: 0.0004 pctl0.11063
Details
Langchain Community Vulnerable to XML External Entity (XXE) Attacks The langchain-ai/langchain project, specifically the EverNoteLoader component, is vulnerable to XML External Entity (XXE) attacks due to insecure XML parsing. 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. This issue has been fixed in 0.3.27 of langchain-community.
Metadata
Created: 2025-09-04T12:30:42Z
Modified: 2025-09-05T15:28:25Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/09/GHSA-pc6w-59fv-rh23/GHSA-pc6w-59fv-rh23.json
CWE IDs: ["CWE-200", "CWE-611"]
Alternative ID: GHSA-pc6w-59fv-rh23
Finding: F083
Auto approve: 0