PoC Monitor
← All CVEs
CVE-2025-6984published 4 Sep 2025 08:07 UTCData: JSON · API

Langchain-ai langchain-ai/langchain

Sensitive Information Disclosure Due to Insecure XML Parsing in langchain-ai/langchain

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.5high · scored by CNA · CWE-200
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record, GitHub Security Advisories and the vendor's references.

Affected

langchain-ai langchain-ai/langchain
  • >= unspecified, <= latest
langchain-community (PyPI)
  • < 0.3.27

Fixed in 0.3.27

from GitHub Security Advisory GHSA-pc6w-59fv-rh23

Mitigation

Upgrade langchain-community to 0.3.27 or later.

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published4 Sep 2025 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.