---
id: CVE-2026-59712
title: >-
  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
summary: >-
  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…
severity: high
cvss: 8.1
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N'
cwe:
  - CWE-639
vendor: Leantime
product: Leantime
affected:
  - Leantime <= 3.4.4
published: '2026-07-06'
updated: '2026-09-17'
sourceUpdated: '2026-09-17T18:16:55.597'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-59712'
references:
  - url: 'https://github.com/Leantime/leantime'
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/Leantime/leantime/commit/4f2612d13e0e8a2093092a846b44506cf133b671
    label: disclosure@vulncheck.com
  - url: 'https://github.com/Leantime/leantime/issues/3556'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/leantime-credential-disclosure-via-unauthenticated-json-rpc-users-getuser-method
    label: disclosure@vulncheck.com
tags:
  - nvd
  - cve.org
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-07-07T13:43:37.598340Z'
epss: 0.00448
epssPercentile: 0.36288
ingestedAt: '2026-09-17T18:25:15.973Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
