N8N · GHSA-9qx8-fhxv-w794 · AI agents & MCP
FIX → >= 2.46.1 +2
When n8n's Browser Use feature is enabled, the browser_upload tool accepted absolute file paths and let Playwright read them from the n8n server. An authenticated member can have files readable by the n8n process, including instance configuration files, delivered into the page the assistant drives.
first public Oct 28, 2026 · 1 source
Could this affect your app?
Free first check from your website. Connect your repo for the full answer.
Only instances where the Browser Use feature is explicitly enabled with N8N_INSTANCE_AI_BROWSER_USE_ENABLED=true are exploitable. The attacker must be an authenticated member (global:member or higher) who connects their own browser session. Instances with Browser Use left off or unset are not affected.
Not affected if browser-use-disabled, default-config, members-trusted
Who cares ai-agents, browser-use, n8n, self-hosted
N8N_INSTANCE_AI_BROWSER_USE_ENABLED is set to true in the n8n environmentn8n --version against the fixed ranges belowWhen the Browser Use feature is enabled, the browser_upload tool accepted absolute file paths and passed them to Playwright. Because the browser session is connected remotely, Playwright resolved and read those paths on the n8n server rather than on the user's machine. An authenticated member who connects their own browser session could supply arbitrary absolute paths and have the file contents delivered into the page the assistant drives, where they could be retrieved. The approval prompt shown to the user named only the active page host; the file path was never surfaced or gated. Files readable by the n8n process user, including instance configuration files, were within scope.
Exploitation requires that Browser Use is explicitly enabled on the instance (N8N_INSTANCE_AI_BROWSER_USE_ENABLED=true).
The issue has been fixed in n8n versions 2.46.1, 2.45.5 and 3.0.1. Users should upgrade to one of these versions or later to remediate the vulnerability.
If upgrading is not immediately possible, administrators should consider the following temporary mitigations:
N8N_INSTANCE_AI_BROWSER_USE_ENABLED=false or leaving it unset.global:member access from any users who are not fully trusted until the instance is patched.These workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.
Check it with your coding agent
It reads this page and tells you if your code is affected.
Are you affected?
Ask from here. InfraStack checks the affected versions against your stack and answers in your inbox.
InfraStack checks the affected versions against your stack and answers in Slack, with the evidence and the fix.
Upgrade to >= 2.46.1 +2