Description
Leantime before 3.9.6 contains an authorization bypass vulnerability in the HTMX plugin install endpoint that lacks permission validation. Authenticated users with limited roles can install marketplace plugins and control arbitrary properties including identifier, version, and license key to deploy malicious plugins.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Leantime | leantime | < 3.9.6 | 3.9.6 |
References
- GitHub Issue #3757 issue-tracking
- https://github.com/Leantime/leantime product
- install() carries no permission attribute technical-description
- the marketplace UI controller restricts to owner and admin technical-description
- buildMarketplacePluginFromRequest sets every supplied key with no allowlist technical-description
- 3.9.6 adds #[RequiresPermission(PluginsPermissions::MANAGE, global: true)] patch
- VulnCheck Advisory: Leantime before 3.9.6 Unauthorized Plugin Installation via HTMX third-party-advisory