Description
Bonsai through 6.0 contains an incorrect authorization vulnerability that allows authenticated Editor users to access admin pages because AdminAuthHandler accepts both Administrator and Editor roles. Attackers can use UsersController and DynamicConfigController to reset administrator passwords, promote accounts to Administrator, and change global settings to take over the instance.
Severity (CVSS)
| Base score | 8.7 |
|---|---|
| Severity | High |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-863 — Incorrect Authorization
Affected products
| Vendor | Product | Versions |
|---|---|---|
| impworks | bonsai | 0 to <=6.0 [affected] |
References
- https://github.com/impworks/bonsai/issues/355 (issue-tracking)
- https://github.com/impworks/bonsai/commit/08fee7fa0fb73c1ff2d19e737aa920fa25cbb48f (patch)
- https://github.com/impworks/bonsai/blob/v6.0/src/Bonsai/Areas/Admin/Logic/Auth/AdminAuthHandler.cs#L10-L30 (technical-description)
- https://github.com/impworks/bonsai/blob/v6.0/src/Bonsai/Areas/Admin/Controllers/UsersController.cs#L20-L180 (technical-description)
- https://www.vulncheck.com/advisories/bonsai-through-6.0-incorrect-authorization-in-admin-users-and-config-controllers (third-party-advisory)
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 18 Nov 2026 08:08 UTC.