CVE-2025-6984langchain-ai/langchain
High 7.5 No auth needed
Follow: this CVE · langchain-ai · langchain-ai/langchain We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.0
- 7.5
- EPSS
- —
- Auth required
- No
- Published
- Sep 4, 2025
- Updated
- Oct 19, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-200
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for langchain-ai/langchain.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | langchain-community |
< 0.3.27 |
0.3.27 |
pip install "langchain-community>=0.3.27" |
| PyPI | langchain-community |
< 0.3.27 |
0.3.27 |
pip install "langchain-community>=0.3.27" |
Per OSV / GitHub Advisories (GHSA-pc6w-59fv-rh23, PYSEC-2026-1515). Check the version in your lockfile before upgrading.
Affected products
- langchain-ai · langchain-ai/langchain
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.