Security

How do you keep the builder role in an internal tool platform from becoming an admin?

The role that builds tables and automations is privileged. Enforce each route's declared role on the server, and refuse by default.

2 min readDEV GroupOperations · Security

A builder is privileged

Treat the builder role as privileged, and enforce each route's declared role on the server, refusing by default. The people who can create tables, formulas, and webhooks in an internal tool platform are closer to administrators than the role name suggests.

What the advisories showed

A batch of security advisories published on 2 November 2026 for a widely used open-source, self-hostable no-code database platform shows why. Each of the three rated high needed only a Creator account, the role that builds tables and automations. In one, the role restriction declared on admin routes was never enforced, so access came from the role permission table alone. On some community builds, that let a Creator generate a password reset link for the super admin, set a new password, and take over the instance. In another, the table-creation API kept a formula syntax tree supplied by the client instead of rebuilding it from the validated formula text, and an operator from that tree was later written straight into raw SQL. On an install that kept its own metadata in the same SQLite database, that read every user record and token and let the attacker make their own account super admin. In the third, webhook templates got past a guard that only blocked unsafe property paths written as strings, by passing the path as an array instead. That reached the JavaScript function constructor and ran code on the server. None of these needed an outsider. Each needed one signed-in builder account: a contractor's, a departed employee's that was never removed, or a phished one.

Enforce the role on the server

Write down what each role can reach, and test it. For every admin-only route, keep an automated test that a builder is refused. Enforce declared roles in one place on the server, and refuse a caller who holds none of them. Rebuild anything the server derives, such as a formula's parse tree, a saved filter, or a query, from the source text on the server, and never store the client's copy. Bind every value in SQL, and check operators against the parser's own list. Render user-written templates with no path to code, and test the guard with every input type, not just strings. Keep the tool's own users and tokens in a separate database, with separate credentials, from the business data it edits. Never return a password reset token in an API response. Put self-hosted builders on a patch schedule and read the advisories, because release notes rarely say that a builder could become an admin. Role design, server-side enforcement, and the audit history around them are software work, and that is where we fit.

Sources

  • Security advisories on a self-hosted no-code database. Security advisories. November 2, 2026.

Was this useful?

Get in touch

Seeing one of these in your system?

Describe what exists today and where it breaks. We will come back with a technical point of view and a scoped first step.