GHSA-MJXV-R6J7-M8GV
Privilege Escalation via Incomplete Admin Bootstrap
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-MJXV-R6J7-M8GV divulgada | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
Summary
When the admin email was configured but the admin password was left empty, NocoDB skipped environment-based super-admin bootstrap silently, leaving first-user signup open so that the first unauthenticated caller became super admin.
Details
`initAdminFromEnv.ts` gated the entire bootstrap on both the admin email and the admin password environment variables being truthy. An empty string is falsy, so an empty password caused the whole function body to be skipped: no admin row was inserted, no error was raised, and no warning was logged. `UsersService.signup()` grants the first user on a non-cloud instance the organisation Creator and Super Admin roles — a branch that normally never fires, because bootstrap has already created the first user row before the HTTP surface is reachable. An operator who set the admin email and left the password blank therefore booted an instance that appeared configured while public first-user registration was still open.
Impact
On a fresh instance in this configuration, the first caller of the public signup endpoint received org-level Creator and Super Admin roles, i.e. full administrative control of the deployment. No authentication is required. The exposure is limited to the initial-setup window before any user row exists, and it does not bypass an admin account that was successfully created.
Credit
This issue was reported by @sec-reex https://github.com/sec-reex.
Estado del parche por paquete
La fuente no informa paquetes ni versiones corregidas.
Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/nocodb/nocodb/security/advisories/GHSA-mjxv-r6j7-m8gvLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
