# CVE-2025-6984: Sensitive Information Disclosure Due to Insecure XML Parsing in langchain-ai/langchain

- Priority: **Prioritise**
- Reason: Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 2% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2025-09-04 · Modified: 2025-09-04
- Aliases: GHSA-pc6w-59fv-rh23, PYSEC-2026-1515, CGA-56x3-73gf-682q, CGA-6jr4-2qm2-qmp7, CGA-f3r7-rc7p-9gv8, CGA-xvqc-g844-vmj8
- Record: https://cvemate.com/vulnerability/CVE-2025-6984 · JSON: https://cvemate.com/vulnerability/CVE-2025-6984/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.0, CVE.org) CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- EPSS: 1.748%, percentile 78.609%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- chainguard open-webui (Chainguard): \< 0.6.27-r0
- chainguard open-webui-compat (Chainguard): \< 0.6.27-r0
- wolfi open-webui (Wolfi): \< 0.6.27-r0
- wolfi open-webui-compat (Wolfi): \< 0.6.27-r0
- langchain-ai langchain-ai/langchain: ≥ unspecified, ≤ latest
- PyPI langchain-community (PyPI): \< 0.3.27

## References

- <https://huntr.com/bounties/a6b521cf-258c-41c0-9edb-d8ef976abb2a>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-6984>
- <https://github.com/langchain-ai/langchain-community/commit/e842452108089524e22c3a2ced851c021884556f>
- <https://github.com/langchain-ai/langchain-community>
- <https://github.com/langchain-ai/langchain/blob/d79b5813a0b3b243c612b77013768995e46c4337/libs/langchain/langchain/document_loaders/evernote.py#L1-L23>
- <https://pypi.org/project/langchain-community>
- <https://github.com/advisories/GHSA-pc6w-59fv-rh23>

---

Data as of 2026-12-05T13:03:16.254Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
