Bug 2393073 (CVE-2025-6984) - CVE-2025-6984 langchain-community: Langchain-community insecure XML parsing
Summary: CVE-2025-6984 langchain-community: Langchain-community insecure XML parsing
Keywords:
Status: NEW
Alias: CVE-2025-6984
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-09-04 09:01 UTC by OSIDB Bzimport
Modified: 2025-09-23 18:18 UTC (History)
32 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2025:16514 0 None None None 2025-09-23 18:18:10 UTC

Description OSIDB Bzimport 2025-09-04 09:01:35 UTC
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.

Comment 2 errata-xmlrpc 2025-09-23 18:18:06 UTC
This issue has been addressed in the following products:

  Red Hat Ansible Automation Platform 2.5 for RHEL 8
  Red Hat Ansible Automation Platform 2.5 for RHEL 9

Via RHSA-2025:16514 https://access.redhat.com/errata/RHSA-2025:16514


Note You need to log in before you can comment on or make changes to this bug.