CVE-2025-6984
Published: 04 September 2025
Summary
CVE-2025-6984 is a high-severity Exposure of Sensitive Information to an Unauthorized Actor (CWE-200) vulnerability. Its CVSS base score is 7.5 (High).
Operationally, exploitation aligns with the MITRE ATT&CK technique /etc/passwd and /etc/shadow (T1003.008); ranked in the top 16.3% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.
This vulnerability is AI-related — categorised as NLP and Transformers; in the Privacy and Disclosure risk domain.
Deeper analysis
The langchain-ai/langchain project version 0.3.63 contains an XML External Entity vulnerability in its EverNoteLoader component. The issue stems from use of etree.iterparse() without disabling external entity resolution, allowing crafted XML input to trigger disclosure of local files under CWE-200. The flaw carries a CVSS 7.5 rating reflecting network attackability with no required credentials or user interaction and high impact to confidentiality.
An unauthenticated remote attacker can supply a malicious XML document that references arbitrary local paths such as /etc/passwd, causing the parser to retrieve and potentially return the referenced content. Exploitation requires only the ability to invoke the EverNoteLoader with attacker-controlled input.
The sole public reference is a Huntr bounty report that describes the finding; no vendor advisory or patch information is provided in the available data. The associated EPSS scores remain low, with a current value of 0.0192 and a peak of 0.0321.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2025-26850
Vulnerability details
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…
more
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.
- CWE(s)
AI Security AnalysisAI
- AI Category
- NLP and Transformers
- Risk Domain
- Privacy and Disclosure
- OWASP Top 10 for LLMs 2025
- None mapped
- Classification Reason
- Matched keywords: ai, langchain
Related Threats
MITRE ATT&CK Enterprise TechniquesAI
Why these techniques?
The XXE vulnerability in EverNoteLoader enables reading local sensitive files like /etc/passwd via malicious XML payloads, directly facilitating OS credential dumping from /etc/passwd and /etc/shadow.
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.
Automated marking applies security attributes to system outputs, making it harder for attackers to exploit unmarked sensitive information leading to unauthorized exposure.
Proper attribute retention and permitted-value enforcement limits unauthorized actors from accessing sensitive information lacking correct labels.
Prevents unauthorized exposure of sensitive information by prohibiting untrusted external systems from processing or storing it.
By enforcing authorization matching prior to sharing, the control reduces the risk of exposing sensitive information to unauthorized actors.
Review and removal of nonpublic information from publicly accessible systems directly prevents exposure of sensitive data to unauthorized actors.
Data mining protection mechanisms detect and block unauthorized bulk extraction of sensitive data, directly mitigating exposure to unauthorized actors.
Literacy training teaches users to recognize and avoid actions that result in unauthorized exposure of sensitive information.
Retaining and monitoring training records confirms personnel have completed privacy and security awareness training on handling sensitive data, reducing the chance of unauthorized exposure due to lack of knowledge.