{"id":"CVE-2025-6984","aliases":["CVE-2025-6984","GHSA-pc6w-59fv-rh23","PYSEC-2026-1515"],"related":[],"kind":"vulnerability","state":"published","title":"Sensitive Information Disclosure Due to Insecure XML Parsing in langchain-ai/langchain","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"The langchain-ai/langchain project, specifically the EverNoteLoader component, is vulnerable to XML External Entity (XXE) attacks due to insecure XML parsing. 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. This issue has been fixed in 0.3.27 of langchain-community.","format":"markdown","source":"ghsa"},{"lang":"es","text":"El proyecto langchain-ai/langchain, específicamente el componente EverNoteLoader, es vulnerable a ataques de Entidad Externa XML (XXE) debido a un análisis XML inseguro. La versión afectada es 0.3.63. La vulnerabilidad surge del uso de etree.iterparse() sin deshabilitar las referencias a entidades externas, lo que puede llevar a la revelación de información sensible. Un atacante podría explotar esto creando una carga útil XML maliciosa que haga referencia a archivos locales, exponiendo potencialmente datos sensibles como /etc/p4ssd.","source":"nvd"}],"published":"2025-09-04T08:07:41.996Z","modified":"2026-10-19T17:10:00.173Z","severity":{"scorer":"@huntr_ai","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"@huntr_ai","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"}],"cwes":["CWE-200","CWE-611"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","lastAffected":"latest","status":"affected"}],"vendor":"langchain-ai","product":"langchain-ai/langchain","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.3.27"}],"ecosystem":"PyPI","package":"langchain-community","purl":"pkg:pypi/langchain-community","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.3.27"}],"ecosystem":"PyPI","package":"langchain-community","purl":"pkg:pypi/langchain-community","source":"pysec"}],"references":[{"url":"https://huntr.com/bounties/a6b521cf-258c-41c0-9edb-d8ef976abb2a","tags":["web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-6984","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/langchain-ai/langchain-community/commit/e842452108089524e22c3a2ced851c021884556f","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/langchain-ai/langchain-community","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://github.com/langchain-ai/langchain/blob/d79b5813a0b3b243c612b77013768995e46c4337/libs/langchain/langchain/document_loaders/evernote.py#L1-L23","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/langchain-community","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-pc6w-59fv-rh23","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"@huntr_ai","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2025-09-04T20:07:23.933Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-6984","url":"https://www.cve.org/CVERecord?id=CVE-2025-6984","licence":"CVE Terms of Use","modified":"2025-09-04T20:07:31.531Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-pc6w-59fv-rh23","url":"https://github.com/advisories/GHSA-pc6w-59fv-rh23","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:28.568Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-6984","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-6984","licence":"Public domain","modified":"2026-10-19T17:10:00.173Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-1515","url":"https://osv.dev/vulnerability/PYSEC-2026-1515","licence":"CC-BY-4.0","modified":"2026-07-07T17:46:46.938Z"}],"updatedAt":"2026-11-25T22:59:04.104Z","epss":{"score":0.01748,"percentile":0.7852,"date":"2026-12-02T12:00:21.000Z"}}