CVE-2025-6984

High

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.

SeverityHigh
CVSS7.5
Exploit probability—
ProductLangchain-community
PublishedSep 4, 2025
First seenSep 4, 2025

How to fix

Update
  • langchain-community0.3.27 or later

Affected products

ProductAffected versionsFixed in
langchain-communityPyPIv < 0.3.270.3.27

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.