CVE-2025-6984 json
Sensitive Information Disclosure Due to Insecure XML Parsing in langchain-ai/langchain
published 2025-09-04 14 mo ago modified 2026-10-19 20 d ago also GHSA-pc6w-59fv-rh23 , PYSEC-2026-1515 , EUVD-2025-26850
- cvss
- 7.5
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.6%
- EPSS 1.6% chance of exploitation in 30 days, percentile 76%
- public exploits
- 0
- none known
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.
Patch / fix
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-6984 updated cvss 7.5
langchain-community: Langchain-community insecure XML parsing
-
Red Hat OpenShift Lightspeed openshift-lightspeed/lightspeed-service-api-rhel9affected: workaround, no fix available
-
Red Hat Ansible Automation Platform 2.5 for RHEL 8 ansible-automation-platform-25/lightspeed-chatbot-rhel8 2.5.250924-1fixed: vendor fix RHSA-2025:16514
-
Red Hat Ansible Automation Platform 2 ansible-automation-platform/ee-minimal-rhel8, ansible-automation-platform/ee-minimal-rhel9, ansible-automation-platform-24/de-minimal-rhel8, ansible-automation-platform-24/de-minimal-rhel9, ansible-automation-platform-24/ee-minimal-rhel8, ansible-automation-platform-24/ee-minimal-rhel9, +15 more Red Hat Ansible Automation Platform 2.5 for RHEL 8 ansible-automation-platform-25/hub-rhel8 4.10.8-1, ansible-automation-platform-25/hub-web-rhel8 4.10.8-1, ansible-automation-platform-25/receptor-rhel8 1.5.7-7, ansible-automation-platform-25/de-minimal-rhel8 1.1.7-13, ansible-automation-platform-25/controller-rhel8 4.6.20-13, ansible-automation-platform-25/ee-minimal-rhel8 1.0.0-969, +26 more Red Hat Ansible Automation Platform 2.5 for RHEL 9 ansible-automation-platform-25/de-minimal-rhel9 1.1.7-12, ansible-automation-platform-25/ee-minimal-rhel9 1.0.0-968, ansible-automation-platform-25/de-supported-rhel9 1.1.7-11, ansible-automation-platform-25/ee-supported-rhel9 1.0.0-1090, ansible-automation-platform-25/ansible-builder-rhel9 3.1.0-254, ansible-automation-platform-25/ee-cloud-services-rhel9 1.0.0-315, +2 more Red Hat Enterprise Linux AI (RHEL AI) rhelai1/bootc-amd-rhel9, rhelai1/bootc-intel-rhel9, rhelai1/bootc-nvidia-rhel9, rhelai1/bootc-azure-amd-rhel9, rhelai1/instructlab-amd-rhel9, rhelai1/bootc-aws-nvidia-rhel9, +4 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 14 mo ago
Exploit prediction
1.65% chance of exploitation in the next 30 days, higher than 76% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | langchain-community | <0.3.27 |
0.3.27 |
Affected products
- langchain-ai langchain-ai/langchain
Classification
References
-
github.com
/langchain-ai/langchain-community/commit/e842452108089524e22c3a2ced851c021884556f
web
-
huntr.com
/bounties/a6b521cf-258c-41c0-9edb-d8ef976abb2a
web
-
nvd.nist.gov
/vuln/detail/CVE-2025-6984
advisory
-
github.com
/langchain-ai/langchain-community
package
-
github.com
/langchain-ai/langchain/blob/d79b5813a0b3b243c612b77013768995e46c4337/libs/langchain/langchain/document_loader
web
-
pypi.org
/project/langchain-community
package
-
github.com
/advisories/GHSA-pc6w-59fv-rh23
advisory
Sources
- CVE List CVE-2025-6984
- GitHub Advisory GHSA-pc6w-59fv-rh23
- NVD CVE-2025-6984
- OSV PYSEC-2026-1515
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.