Cannot access "binding" due to security concerns

Describe the problem/error/question

Version: 1.123.12,
self hosted, docker
We suddenly start getting the message:
Cannot access “binding” due to security concerns
I get it in a set node when running a little script, there’s no bug in the script, it’s been running for a long time
{{ /* Flatten the values; note that val is an array of objects */
Object.entries($json.product.values).reduce((res, [key, val]) => {
res[key] = Object.fromEntries(val.map(v => [v.locale ?? “nl_NL” , v.data]))
return res
}, {}) }}

What is the error message (if any)?

Please share your workflow

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

Share the output returned by the last node

Information on your n8n setup

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

welcome to the n8n community @Jos_van_Uden2
This is a new security restriction in n8n 1.123.12 blocking “binding” (reserved JS). Use bracket notation if possible, or set env var N8N_BLOCK_ENV_ACCESS_IN_NODE=false in Docker & restart. Safer: Code node instead of Set. Works

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.