Sensitive Information Disclosure Due to Insecure XML Parsing in langchain-ai/langchain (langchain-ai langchain-ai/langchain)
At a glance
- Source
- NVD
- EPSS
- EPSS 1.65 % · percentile 76 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- @huntr_ai
- NVD status
- Deferred
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.
Weaknesses (CWE)
- CWE-200 — Exposure of Sensitive Information to an Unauthorized Actor
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| 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 | @huntr_ai |
| 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 | NVD · security@huntr.dev (Secondary) |
Advisories
- GHSA-pc6w-59fv-rh23 — Langchain Community Vulnerable to XML External Entity (XXE) Attacks
- PYSEC-2026-1515 — Langchain Community Vulnerable to XML External Entity (XXE) Attacks
European references
- ENISA EUVD · EUVD-2025-26850
- GCVE · GCVE-0-2025-6984
Affected products
| Product | Versions |
|---|---|
| langchain-ai · langchain-ai/langchain | affected unspecified ≤ latest |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |