CVE-2025-6984 Sensitive Information Disclosure Due to Insecure XML Parsing in langchain-ai/langchain
HighCVSS 7.5
EPSS 2.2%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| langchain-ai/langchain | <= latest | after latest | Fixed |
| pypi langchain-community(PyPI) | < 0.3.27; = 0.0.1; = 0.0.1rc1; = 0.0.1rc2 +87 more | 0.3.27 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi langchain-community(PyPI) | < 0.3.27 | 0.3.27 |
| pypi langchain-community(PyPI) | = 0.0.1 | No fix listed |
| pypi langchain-community(PyPI) | = 0.0.10 | No fix listed |
| pypi langchain-community(PyPI) | = 0.0.11 | No fix listed |
| pypi langchain-community(PyPI) | = 0.0.12 | No fix listed |
| pypi langchain-community(PyPI) | = 0.0.13 | No fix listed |
| pypi langchain-community(PyPI) | = 0.0.14 | No fix listed |
| pypi langchain-community(PyPI) | = 0.0.15 | No fix listed |
| pypi langchain-community(PyPI) | = 0.0.16 | No fix listed |
| pypi langchain-community(PyPI) | = 0.0.17 | No fix listed |
| pypi langchain-community(PyPI) | = 0.0.18 | No fix listed |
| pypi langchain-community(PyPI) | = 0.0.19 | No fix listed |
| pypi langchain-community(PyPI) | = 0.0.1rc1 | No fix listed |
| pypi langchain-community(PyPI) | = 0.0.1rc2 | No fix listed |
| pypi langchain-community(PyPI) | = 0.0.2 | No fix listed |
| pypi langchain-community(PyPI) | = 0.0.20 | No fix listed |
| pypi langchain-community(PyPI) | = 0.0.21 | No fix listed |
| pypi langchain-community(PyPI) | = 0.0.22 | No fix listed |
| pypi langchain-community(PyPI) | = 0.0.23 | No fix listed |
| pypi langchain-community(PyPI) | = 0.0.24 | No fix listed |
| pypi langchain-community(PyPI) | = 0.0.25 | No fix listed |
| pypi langchain-community(PyPI) | = 0.0.26 | No fix listed |
| pypi langchain-community(PyPI) | = 0.0.27 | No fix listed |
| pypi langchain-community(PyPI) | = 0.0.28 | No fix listed |
| pypi langchain-community(PyPI) | = 0.0.29 | No fix listed |
Show 67 more
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi langchain-community(PyPI) | = 0.0.3 | No fix listed |
| pypi langchain-community(PyPI) | = 0.0.30 | No fix listed |
| pypi langchain-community(PyPI) | = 0.0.31 | No fix listed |
| pypi langchain-community(PyPI) | = 0.0.32 | No fix listed |
| pypi langchain-community(PyPI) | = 0.0.33 | No fix listed |
| pypi langchain-community(PyPI) | = 0.0.34 | No fix listed |
| pypi langchain-community(PyPI) | = 0.0.35 | No fix listed |
| pypi langchain-community(PyPI) | = 0.0.36 | No fix listed |
| pypi langchain-community(PyPI) | = 0.0.37 | No fix listed |
| pypi langchain-community(PyPI) | = 0.0.38 | No fix listed |
| pypi langchain-community(PyPI) | = 0.0.4 | No fix listed |
| pypi langchain-community(PyPI) | = 0.0.5 | No fix listed |
| pypi langchain-community(PyPI) | = 0.0.6 | No fix listed |
| pypi langchain-community(PyPI) | = 0.0.7 | No fix listed |
| pypi langchain-community(PyPI) | = 0.0.8 | No fix listed |
| pypi langchain-community(PyPI) | = 0.0.9 | No fix listed |
| pypi langchain-community(PyPI) | = 0.2.0 | No fix listed |
| pypi langchain-community(PyPI) | = 0.2.0rc1 | No fix listed |
| pypi langchain-community(PyPI) | = 0.2.1 | No fix listed |
| pypi langchain-community(PyPI) | = 0.2.10 | No fix listed |
| pypi langchain-community(PyPI) | = 0.2.11 | No fix listed |
| pypi langchain-community(PyPI) | = 0.2.12 | No fix listed |
| pypi langchain-community(PyPI) | = 0.2.13 | No fix listed |
| pypi langchain-community(PyPI) | = 0.2.14 | No fix listed |
| pypi langchain-community(PyPI) | = 0.2.15 | No fix listed |
| pypi langchain-community(PyPI) | = 0.2.16 | No fix listed |
| pypi langchain-community(PyPI) | = 0.2.17 | No fix listed |
| pypi langchain-community(PyPI) | = 0.2.18 | No fix listed |
| pypi langchain-community(PyPI) | = 0.2.19 | No fix listed |
| pypi langchain-community(PyPI) | = 0.2.2 | No fix listed |
| pypi langchain-community(PyPI) | = 0.2.3 | No fix listed |
| pypi langchain-community(PyPI) | = 0.2.4 | No fix listed |
| pypi langchain-community(PyPI) | = 0.2.5 | No fix listed |
| pypi langchain-community(PyPI) | = 0.2.6 | No fix listed |
| pypi langchain-community(PyPI) | = 0.2.7 | No fix listed |
| pypi langchain-community(PyPI) | = 0.2.9 | No fix listed |
| pypi langchain-community(PyPI) | = 0.3.0 | No fix listed |
| pypi langchain-community(PyPI) | = 0.3.0.dev1 | No fix listed |
| pypi langchain-community(PyPI) | = 0.3.0.dev2 | No fix listed |
| pypi langchain-community(PyPI) | = 0.3.1 | No fix listed |
| pypi langchain-community(PyPI) | = 0.3.10 | No fix listed |
| pypi langchain-community(PyPI) | = 0.3.11 | No fix listed |
| pypi langchain-community(PyPI) | = 0.3.12 | No fix listed |
| pypi langchain-community(PyPI) | = 0.3.13 | No fix listed |
| pypi langchain-community(PyPI) | = 0.3.14 | No fix listed |
| pypi langchain-community(PyPI) | = 0.3.15 | No fix listed |
| pypi langchain-community(PyPI) | = 0.3.16 | No fix listed |
| pypi langchain-community(PyPI) | = 0.3.17 | No fix listed |
| pypi langchain-community(PyPI) | = 0.3.17rc1 | No fix listed |
| pypi langchain-community(PyPI) | = 0.3.18 | No fix listed |
| pypi langchain-community(PyPI) | = 0.3.19 | No fix listed |
| pypi langchain-community(PyPI) | = 0.3.2 | No fix listed |
| pypi langchain-community(PyPI) | = 0.3.20 | No fix listed |
| pypi langchain-community(PyPI) | = 0.3.21 | No fix listed |
| pypi langchain-community(PyPI) | = 0.3.22 | No fix listed |
| pypi langchain-community(PyPI) | = 0.3.23 | No fix listed |
| pypi langchain-community(PyPI) | = 0.3.24 | No fix listed |
| pypi langchain-community(PyPI) | = 0.3.25 | No fix listed |
| pypi langchain-community(PyPI) | = 0.3.26 | No fix listed |
| pypi langchain-community(PyPI) | = 0.3.3 | No fix listed |
| pypi langchain-community(PyPI) | = 0.3.4 | No fix listed |
| pypi langchain-community(PyPI) | = 0.3.5 | No fix listed |
| pypi langchain-community(PyPI) | = 0.3.6 | No fix listed |
| pypi langchain-community(PyPI) | = 0.3.7 | No fix listed |
| pypi langchain-community(PyPI) | = 0.3.8 | No fix listed |
| pypi langchain-community(PyPI) | = 0.3.9 | No fix listed |
| langchain-ai/langchain | <= latest | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com product
- github.com
- huntr.com exploit
- pypi.org product
- github.com vendor-advisory