Leantime: Any Authenticated User Can Self-Escalate to Admin via Unauthorized JSON-RPC Methods
High severity. Published 15 October 2026. Update leantime/leantime to 3.10.0 or later: composer update leantime/leantime.
Which versions are affected?
| Package | Affected versions | Fixed in |
|---|---|---|
| leantime/leantime (opens in a new tab) | < 3.10.0 | 3.10.0 |
What should you do?
Update every affected package you use to its fixed version, then check that nothing else in your project matches an advisory. To see which version you run, and whether anything is still affected:
composer show leantime/leantime
composer auditAdvisory details
| Severity | HighCVSS 8.8 |
|---|---|
| Published | |
| Updated | |
| CVE | CVE-2026-85990 (opens in a new tab) |
| GHSA | GHSA-54mm-6729-r5wp (opens in a new tab) |
| Weakness | CWE-269, CWE-862 |
What the advisory says
Summary
Any authenticated Leantime user - including the lowest-privilege readonly role - can escalate to full administrative access by calling the JSON-RPC method leantime.rpc.api.api.createApiKeyWithProjects with an attacker-chosen role value. The server creates a new account at that role with no authorization check, and the resulting credentials work as a fully interactive admin login through the ordinary web UI.
Source: GHSA-54mm-6729-r5wp (opens in a new tab) in the GitHub Advisory Database (CC BY 4.0). Data from GitHub (opens in a new tab) as of .