CVE-2026-59712 Leantime - JSON-RPC API Broken Access Control via users.getUser
Authenticated users can access other users' credentials and tokens via the JSON-RPC API due to missing authorization checks.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-59712?
CVE-2026-59712 is a high-severity missing authorization vulnerability in Leantime, published on 6 Jul 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Leantime's Users::getUser method in the JSON-RPC API lacks proper authorization checks, allowing authenticated users to retrieve full user credential rows including password hashes, TOTP secrets, and session tokens. Attackers can exploit this by calling users.getUser with arbitrary user IDs to enumerate all accounts and obtain credentials for offline password cracking, 2FA bypass, and session hijacking.
Weakness: CWE-639
Which versions are affected by CVE-2026-59712?
How do I fix CVE-2026-59712?
No fix has been published for CVE-2026-59712 yet. Limit exposure of the affected software until one is available.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2026-59712 being exploited?
There is no known exploitation of CVE-2026-59712 in the wild and no public exploit code.
Sources
Also known as GHSA-hphp-fmhr-5fqh.