N8N_BLOCK_ENV_ACCESS_IN_NODE=true n8n start

Category: n8n & Workflow Automation

N8N_BLOCK_ENV_ACCESS_IN_NODE=true n8n start

Block nodes from reading environment variables

Prevents workflow expressions and the Code node from reading the host's environment variables, a hardening step for multi-user instances. The default false lets workflows see env vars, including secrets you may have exported. Enable it when untrusted users build workflows.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.