CVE-2025-56265 is a high-severity (CVSS 8.8) Unrestricted File Upload vulnerability in @n8n/n8n-nodes-langchain. A fix is available for @n8n/n8n-nodes-langchain — see the affected versions and patch details below.
N8N's Chat Trigger component is vulnerable to XSS
Exploitation Status
Proof-of-concept exploit code exists
- CISA’s SSVC triage found public proof-of-concept exploit code for this CVE, though no confirmed active exploitation.
- A successful exploit gives an attacker total control of the affected component, not partial access.
Exploitation and automatability from CISA’s SSVC triage for CVE-2025-56265.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
How broadly this vulnerability is actually deployed: weekly install volume shows current usage, and reverse-dependency count shows how many other packages break if it stays unpatched.
@n8n/n8n-nodes-langchainnpmDescription
An arbitrary file upload vulnerability in the Chat Trigger component of N8N v1.95.3, v1.100.1, and v1.101.1 allows attackers to execute arbitrary code via uploading a crafted HTML file.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 📦npm | @n8n/n8n-nodes-langchain | all versions | 1.107.0npm install @n8n/n8n-nodes-langchain@1.107.0 |
Affected Products
n8nn8nDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for @n8n/n8n-nodes-langchain, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update @n8n/n8n-nodes-langchain to 1.107.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2025-56265 is resolved across your whole dependency graph.
Workarounds
Treat uploaded files as untrusted until proven otherwise: validate the actual content type rather than the supplied extension, store uploads outside the web root on a volume mounted without execute permission, and rename them to server-generated identifiers so an attacker cannot choose the path a request will later resolve.
Frequently Asked Questions
Is CVE-2025-56265 in your dependencies?
Find it across npm, including transitive dependencies.