Description
Beszel before 0.19.0 contains an insecure direct object reference vulnerability in the POST and DELETE /api/beszel/user-alerts handlers that allows any authenticated user to create or delete alerts on systems they cannot access. Attackers can supply arbitrary system IDs in the request body to register alert rules and receive notifications disclosing target system names and metrics.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| henrygd | beszel | < 0.19.0 | 0.19.0 |
References
- GitHub Security Advisory (GHSA-759g-ch5m-2gch) vendor-advisory
- Patch Commit patch
- Vulnerable UpsertUserAlerts handler at v0.18.8 technical-description
- beszel v0.19.0 Release Notes release-notes
- https://github.com/henrygd/beszel product
- VulnCheck Advisory: Beszel before 0.19.0 Insecure Direct Object Reference via user-alerts third-party-advisory