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

- Severity: High 7.5 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.75%, higher than 78% of CVEs (2026-12-02)
- Published: 2025-09-04T08:07:41.996Z
- Modified: 2026-10-19T17:10:00.173Z
- Also known as: GHSA-pc6w-59fv-rh23, PYSEC-2026-1515
- Weaknesses: CWE-200, CWE-611
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: @huntr_ai

## Description

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.

(As written by CVE List.)

## Affected

- langchain-ai langchain-ai/langchain: from unspecified up to latest
- langchain-community (PyPI): before 0.3.27

## Every score

- @huntr_ai: CVSS:3.0 7.5 High `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.0 7.5 High `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- PyPA Advisory Database: CVSS:3.0 7.5 High `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

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

## Sources

- CVE List: [CVE-2025-6984](https://www.cve.org/CVERecord?id=CVE-2025-6984), CVE Terms of Use, modified 2025-09-04
- GitHub Advisory Database: [GHSA-pc6w-59fv-rh23](https://github.com/advisories/GHSA-pc6w-59fv-rh23), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2025-6984](https://nvd.nist.gov/vuln/detail/CVE-2025-6984), Public domain, modified 2026-10-19
- PyPA Advisory Database: [PYSEC-2026-1515](https://osv.dev/vulnerability/PYSEC-2026-1515), CC-BY-4.0, modified 2026-07-07

---

Page: https://cve.day/CVE-2025-6984 · Whole record: https://cve.day/CVE-2025-6984.json · Rebuilt by cve.day 2026-11-25T22:59:04.104Z
