CVE-2025-6984
HIGH 7.5CVSS 3.0Langchain Community Vulnerable to XML External Entity (XXE) Attacks
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.
- Published
- 4 Sep 2025
- Last modified
- 19 Oct 2026
- Assigned by
- security@huntr.dev
- NVD status
- Deferred
- Weakness
- CWE-200CWE-611
- Also known as
- GHSA-pc6w-59fv-rh23PYSEC-2026-1515
- Sources
- NVDJSONOSV GHSA-pc6w-59fv-rh23JSONOSV PYSEC-2026-1515JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security@huntr.dev (Secondary) | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | PyPA | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | langchain-community | < 0.3.27 | 0.3.27 |
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
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 4 Sep 2025)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 4 Sep 2025)