Auth bypass in Leantime
CVE-2026-59712
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.
Vulnerability class: IDOR (Insecure Direct Object Reference)
EPSS: 0.003 (16.7th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N.
Affected products
- Leantime — versions 0
Weakness classification (CWE)
References
- Product (product)
- Patch Commit (patch)
- GitHub Issue (issue-tracking)
- disclosure@vulncheck.com (third-party-advisory)
Frequently asked questions
- What is CVE-2026-59712?
- CVE-2026-59712 is a high-severity vulnerability in Leantime, classified under Authorization Bypass Through User-Controlled Key. CVSS score: 8.1/10. Published 2026-07-06.
- How severe is CVE-2026-59712?
- High severity. CVSS v3 base score is 8.1 out of 10.