Original 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.
Affected software
- Leantime ≤ 3.4.4 repository or package match
Details
- Published
- 2026-07-07
- Last modified
- 2026-09-18
- CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N- CWE
- CWE-639
- EPSS (30-day exploit probability)
- 0.45% (percentile 39)
References
- cve.org/CVE-2026-59712
- nvd.nist.gov/vuln/detail/CVE-2026-59712
- github.com/Leantime/leantime/issues/3556
- github.com/Leantime/leantime
- github.com/Leantime/leantime/commit/4f2612d13e0e8a2093092a846b44506cf133b671
- www.vulncheck.com/advisories/leantime-credential-disclosure-via-unauthenticated-json-rpc-u...
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.