Bonsai through 6.0 Incorrect Authorization in Admin Users and Config Controllers
- State
- Published
- Severity
- 8.7 High
- Published
- Nov 17, 2026
- Updated
- Nov 17, 2026
- Reserved
- Nov 17, 2026
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.
| Product | Versions |
|---|---|
| bonsai impworks | 6.0 and earlier Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 8.7 High | VulnCheck | |
| 3.1 | 8.8 High | VulnCheck |
Weaknesses
- CWE-863 Incorrect Authorization
References
- https://github.com/impworks/bonsai/issues/355Issue Tracker
- https://github.com/impworks/bonsai/commit/08fee7fa0fb73c1ff2d19e737aa920fa25cbb48fPatch
- https://github.com/impworks/bonsai/blob/v6.0/src/Bonsai/Areas/Admin/Logic/Auth/AdminAuthHandler.cs#L10-L30Technical Details
- https://github.com/impworks/bonsai/blob/v6.0/src/Bonsai/Areas/Admin/Controllers/UsersController.cs#L20-L180Technical Details
- VulnCheck Advisory: Bonsai through 6.0 Incorrect Authorization in Admin Users and Config ControllersThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.