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)
Published · last modified .
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.
EPSS exploit prediction
EPSS: 0.004 (36.9th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 37th percentile — 36.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.004 · newest: 0.004 · change: 0.000
Affected products
- Leantime — versions 0
Weakness classification (CWE)
References
- github.com/Leantime/leantime (product)
- github.com/Leantime/leantime/commit/4f2612d13e0e8a2093092a846b44506cf133b671 (patch)
- github.com/Leantime/leantime/issues/3556 (issue-tracking)
- www.vulncheck.com/advisories/leantime-credential-disclosure-via-unauthenticated… (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.