Skip to main content
← All vulnerabilities
CVE-2025-6984PYSEC-2026-1515GHSA-PC6W-59FV-RH23

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.3.27
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • langchain-ai langchain-ai/langchain

    Version range not reported

  • langchain-communityPyPI

    fixed in 0.3.27

References 1

huntr.com