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.
- Related: how internal ops tools should handle exceptions
- Related: why an AI agent's tool list can't be its permission system
- Related: keeping integration and automation tokens from becoming a breach
- How we work: scope, prototype, ship, run
- Running a self-hosted internal tool builder? Start a conversation
Sources
- Security advisories on a self-hosted no-code database. Security advisories. November 2, 2026.
Was this useful?
Related notes
Operations2 min read
How do you attribute a change when an AI tool signed in as a person?
When an AI tool signs in as a person, the audit log has to name both the human and the client, or you cannot say who decided.
- Agents
- Audit
- Internal tools
Security3 min read
How do you stop a new sign-up from making itself an owner of someone else's account?
In November 2026 a free sign-up made itself owner of a vendor's own org through one invitation check. Authorize every grant on the server.
- Authorization
- Multi-tenancy
- CI
Security1 min read
How should physical access follow identity across sites?
Physical access should follow the identity record across sites, so a joiner, mover, or leaver reaches every door from one place.
- Access control
- Identity
- Audit