NocoDB: Privilege escalation via initAdminFromEnv.ts (CVE-2026-126273)
NocoDB versions before 2026.09.0 contain a privilege escalation vulnerability in initAdminFromEnv.ts that allows an unauthenticated attacker to gain super-admin access on fresh instances where the admin password environment variable is unset.
CVE search metadata
CVE search record: CVE-2026-126273. KEV: no. Product: NocoDB. Brief: NocoDB: Privilege escalation via initAdminFromEnv.ts (CVE-2026-126273). Brief link: https://feed.craftedsignal.io/briefs/2026-11-nocodb-privilege-escalation-cve-2026-126273/
Triage facts
Revision 2- Applicability
- NocoDB
- Evidence
- Unknown
- Severity
- High
- Action
- Immediate escalation
- Sources
- 2 public sources
- Freshness
- Revision 2Nov 13, 13:04 UTC
- Vulnerabilities
- 1 CVE
- Source quality
- A1Likely
Revision history 1 entry · Revision 2
- Revision 2
poc_available
Changed: claim_state, has_poc, lastmod, poc_references, references, updates
Sources: 1
NocoDB versions prior to 2026.09.0 are affected by a privilege escalation vulnerability in 'initAdminFromEnv.ts'. The application fails to bootstrap the super-admin account correctly if the required environment variable for the admin password is not configured upon initial deployment. An unauthenticated attacker can exploit this condition by interacting with the public signup endpoint, allowing them to register an account that is erroneously assigned 'Creator' and 'Super Admin' roles.
Impact
Successful exploitation results in full unauthorized administrative control over the affected NocoDB instance.
Recommendation
- Immediately upgrade all NocoDB instances to version 2026.09.0 or later.
- Audit existing deployments to verify if the admin password environment variable is properly configured.
- Review user lists and role assignments for unauthorized or suspicious 'Super Admin' accounts.
Immediate actions
Upgrade NocoDB to version 2026.09.0 or later.
Threat Hunt
Identify new user registrations on NocoDB instances that occurred immediately following an instance initialization.
Data: NocoDB audit logs, Web server access logs
Mitigations
Upgrade to NocoDB 2026.09.0 or later.
CVE-2026-126273