You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Security: first-run setup can be completed by an unauthenticated party on a not-yet-configured instance #8165
Related: #7490 (closed) and #7491 (open) both concern /setup-database being reachable after an instance is already configured, where setup does nothing.
This is different: it is about an instance that is not yet configured, where the first-run setup can be completed by someone who is not the operator. I could not find an existing issue covering that case.
Type of issue: unauthenticated first-run admin account creation.
On a freshly deployed instance where the admin account has not been created yet, the first-run setup can be completed by an unauthenticated party. Whoever reaches the instance before the operator finishes setup ends up owning it, and the operator is then locked out (their own setup attempt reports the instance as already initialized).
I am deliberately not including reproduction details or payloads here, per the security policy — those are in the private advisory.
👟 Reproduction steps
Reported privately (advisory), not in public, per policy.
👀 Expected behavior
First-run setup should only be completable by the person deploying the instance.
😓 Actual Behavior
First-run setup can be completed by an unauthenticated third party that reaches the instance before the operator does.
🐻 Uptime-Kuma Version
2.5.11
💻 Operating System and Arch
Linux x86_64 (Docker image louislam/uptime-kuma:2)
🌐 Browser
N/A (API / socket.io)
🖥️ Deployment Environment
Docker, SQLite, default configuration, freshly deployed and not yet configured.
This issue is being automatically closed because it does not follow the issue template. Please DO NOT open blank issues and use our issue-templates instead.
Blank Issues do not contain the context necessary for a good discussion.
A fix for the unauthenticated setup exposure would likely touch the same setup endpoint / createUser flow as these, so it is worth reviewing them before opening a new fix.
Feel free to ignore if none of these address your specific case.
Activity
github-actions commentedon Nov 12, 2026
@vinzabe: Hello! 👋
This issue is being automatically closed because it does not follow the issue template. Please DO NOT open blank issues and use our issue-templates instead.
Blank Issues do not contain the context necessary for a good discussion.
github-actions commentedon Nov 12, 2026
This issue might be a duplicate of or related to existing issues. Please check:
/setup-databasesetup path, covering the case where setup is still reachable after the instance is already configuredcreateUser, i.e. the same first-run admin creation code pathA fix for the unauthenticated setup exposure would likely touch the same setup endpoint /
createUserflow as these, so it is worth reviewing them before opening a new fix.Feel free to ignore if none of these address your specific case.