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.
Published: 2026-07-06
Score: 8.6 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Leantime’s JSON‑RPC method users.getUser performs no authorization checks, allowing any authenticated user to request the full credential record for any user ID. The response includes password hashes, TOTP secrets, and active session tokens, providing the data needed for offline password cracking, 2FA bypass, and session hijacking. This flaw is a classic Access Control Failure (CWE‑639).

Affected Systems

The vulnerability exists in installations of Leantime. No explicit product version range is listed; the code in the commit 4f2612d13e0e8a2093092a846b445 is affected, so any installation running that or older code is potentially impacted.

Risk and Exploitability

The CVSS score of 8.6 indicates high severity. The EPSS score of <1% suggests that exploitation is unlikely in the general population. The vulnerability is not currently listed in the CISA KEV catalog. Inferred from the description, an attacker who has authenticated to the Leantime JSON‑RPC endpoint can invoke the flaw from any network location that can reach the endpoint to obtain credential material for enumerated users.

Generated by OpenCVE AI on August 1, 2026 at 18:08 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Leantime to the commit 4f2612d13e0e8a2093092a846b44506cf133b671 where the users.getUser method has been corrected.
  • Restrict external access to the JSON‑RPC endpoint by configuring the web server or firewall so that only trusted hosts can reach it.
  • Enforce application‑level authorization checks that verify the requester's identity before returning any credential data; if possible disable users.getUser for unauthenticated or non‑privileged calls.

Generated by OpenCVE AI on August 1, 2026 at 18:08 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 09 Jul 2026 18:45:00 +0000

Type Values Removed Values Added
Title Leantime - Credential Disclosure via Unauthenticated JSON-RPC users.getUser Method Leantime - JSON-RPC API Broken Access Control via users.getUser

Tue, 07 Jul 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Mon, 06 Jul 2026 21:15:00 +0000

Type Values Removed Values Added
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.
Title Leantime - Credential Disclosure via Unauthenticated JSON-RPC users.getUser Method
First Time appeared Leantime
Leantime leantime
Weaknesses CWE-639
CPEs cpe:2.3:a:leantime:leantime:*:*:*:*:*:*:*:*
Vendors & Products Leantime
Leantime leantime
References
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N'}

cvssV4_0

{'score': 8.6, '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'}


Subscriptions

Leantime Leantime
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-07-28T17:46:44.060Z

Reserved: 2026-07-06T15:31:46.188Z

Link: CVE-2026-59712

cve-icon Vulnrichment

Updated: 2026-07-07T13:43:46.406Z

cve-icon NVD

Status : Deferred

Published: 2026-07-06T21:16:58.793

Modified: 2026-07-07T14:16:34.150

Link: CVE-2026-59712

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-01T18:15:04Z

Weaknesses
  • CWE-639

    Authorization Bypass Through User-Controlled Key