Servers and applications
GHSA-cf78-x7wp-68mf
Race in first-user bootstrap allows deterministic creation of a second persistent superuser
- Severity
- High 7.5
- Published
- 3 Dec 2026
- Last changed
- 3 Dec 2026
- Added to UpHeron
- 3 Dec 2026
- Fixed in
- 0.20.0
- Attack
- Over the network · Only under certain conditions · No login needed · Needs someone to click or open something
- Attacker can
- Read data · Change data · Take it down
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H- Sources
- Project advisories (GitHub)
Description
An unauthenticated time-of-check/time-of-use vulnerability in Beszel Hub's first-user bootstrap allows a remote attacker to obtain a second, persistent PocketBase superuser account while the legitimate operator successfully completes setup.
The handler validates that there are zero users and only the temporary installer superuser before reading the complete HTTP request body. An attacker can pass these checks using an incomplete request, keep the handler blocked in body parsing, and finish the request after the legitimate bootstrap has completed.
Both the operator and attacker receive functional administrative credentials. The attacker's account remains valid after a complete Hub restart, while the operator receives no indication that a second superuser was created.
The vulnerable handler is CreateFirstUser.
It performs the following operations:
Affected software
| Software | Affected versions |
|---|---|
BeszelServers and applications · github:henrygd/beszel |
|
About Beszel
Lightweight server monitoring with historical data, docker stats, and alerts.
- Docker Hub pulls
- 30,715,805Docker Hub, 29 Nov 2026
- GitHub stars
- 27,705GitHub, 29 Nov 2026
- Forks
- 1,218GitHub, 29 Nov 2026
- Latest release
- v0.21.2GitHub, 29 Nov 2026
- Released
- 12 Nov 2026GitHub
- License
- MITGitHub
- First published on GitHub
- 7 Jul 2024GitHub
Source code Website Docker image
Vulnerabilities in Beszel
- In our list
- 5
- Published in the last 12 months
- 5
- Critical, last 12 months
- 0
- High, last 12 months
- 1
- Known exploited
- 0
- GHSA-wqvf-7262-m7g8OAuth self-signup role escalation via mass assignmentMedium 5.4 28 Sept 2026
- GHSA-759g-ch5m-2gchAuthenticated IDOR in `/api/beszel/user-alerts` allows user to subscribe to alerts on systems they don't own by guessing 15 character random alphanumeric system IDMedium 4.2 20 Sept 2026
- CVE-2026-40077IDOR in hub API endpoints that read system ID from URL parameterLow 3.5 9 Apr 2026
- CVE-2026-27734Docker API Path Traversal via Unsanitized Container IDMedium 6.5 27 Feb 2026
References
- GitHub Advisory Database https://github.com/advisories/GHSA-cf78-x7wp-68mf
- github.com https://github.com/henrygd/beszel/security/advisories/GHSA-cf78-x7wp-68mf