Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-privileged account
-
DeliveryAuthenticate to JSON-RPC API
-
ExploitCall users.getUser with arbitrary IDs
-
ExecutionEnumerate all user credential rows
-
PersistCrack hashes and steal session/TOTP secrets
-
ImpactHijack administrator accounts
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Object-level authorization, IDOR prevention
|
| Exploitation Conditions | Exploitation requires an authenticated session on the target Leantime instance (CVSS PR:L) and network reachability of the JSON-RPC API endpoint exposing the users.getUser method; the attacker then supplies arbitrary user IDs as the user-controlled key. No user interaction and no special product configuration are needed beyond having a valid low-privilege account and API access. Limiting factors: an account is required (self-registration being enabled, or an insider/phished credential, materially lowers this barrier), and the JSON-RPC API must be network-accessible to the attacker - instances that firewall the API to trusted networks or disable registration meaningfully reduce exposure. Note the unresolved conflict between the 'unauthenticated' wording in the VulnCheck advisory title and the PR:L/authenticated CVSS vector and description; treat auth as required unless the vendor confirms otherwise. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H) describes a network-reachable, low-complexity attack that requires only low privileges (PR:L) and no user interaction, yielding high confidentiality and integrity impact - score 8.6. The realistic risk is elevated because any valid low-privileged account (Leantime installations commonly allow self-registration or many internal users) can pivot to full account takeover of administrators via harvested hashes, 2FA secrets, and session tokens. However, there is an important discrepancy: the vendor (VulnCheck) advisory URL and the 'Authentication Bypass' tag characterize this as 'unauthenticated,' while both the CVE description and the CVSS vector (PR:L) indicate an authenticated attacker is required - verify the true auth prerequisite with VulnCheck/vendor before final prioritization. EPSS is not provided and the CVE is not in CISA KEV, and no POC is referenced, so there is no evidence of active or widespread exploitation yet; the priority derives from the severity of the outcome (mass credential theft) rather than confirmed in-the-wild activity. |
| Exploit ScenarioDerived | A low-privileged Leantime user (or an attacker who has registered or phished any account) authenticates and issues repeated users.getUser JSON-RPC calls, incrementing the user ID to enumerate every account. Each response returns the target's password hash, TOTP secret, and session token, which the attacker uses for offline hash cracking, 2FA bypass, and direct session hijacking of an administrator. No public exploit is currently referenced, but the attack requires only a scripted loop over user IDs. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 06, 2026
Credential disclosure in Leantime's JSON-RPC API allows an authenticated user to read any account's full credential row - password hashes, TOTP secrets, and session tokens - by invoking the users.getUser method with arbitrary user IDs (CWE-639, broken object-level authorization). Because the API returns records without verifying the caller owns or is authorized for the requested ID, a low-privileged user can enumerate and harvest credentials for every account, including administrators. No public exploit has been identified at time of analysis, and it is not listed in CISA KEV; the CVSS 4.0 base score is 8.6 (High).
RemediationAI
Upstream fix available (PR/commit); released patched version not independently confirmed - apply the vendor fix delivered in commit 4f2612d13e0e8a2093092a846b44506cf133b671 (https://github.com/Leantime/leantime/commit/4f2612d13e0e8a2093092a846b44506cf133b671) by upgrading to the corresponding patched release once your version is confirmed to include it. If you cannot patch immediately, restrict network exposure of the JSON-RPC API endpoint (for example, block or firewall external access to the RPC route so only trusted networks reach it) and disable or tightly restrict self-registration to limit who can obtain the low-privileged account needed to call the method; note that restricting the API may break integrations that rely on it. Because session tokens and 2FA secrets may already be exposed, after patching also force a global password reset, rotate/invalidate all session tokens, and re-enroll TOTP secrets for all users. Track remediation via issue https://github.com/Leantime/leantime/issues/3556 and the advisory https://www.vulncheck.com/advisories/leantime-credential-disclosure-via-unauthenticated-json-rpc-users-getuser-method.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Leantime is a self-hosted, open-source project-management and productivity application (PHP-based) that exposes a JSON-RPC API. The affected component is the Users::getUser method reachable via the users.getUser RPC call. The root cause is CWE-639 (Authorization Bypass Through User-Controlled Key / IDOR): the method trusts a user-supplied user ID and returns the corresponding database row without checking whether the authenticated caller is permitted to access that record. Critically, the returned object is the raw user row rather than a sanitized view, so sensitive columns - bcrypt/hashed passwords, TOTP two-factor secrets, and active session tokens - are exposed. The single affected CPE is cpe:2.3:a:leantime:leantime:*:*:*:*:*:*:*:*, indicating all versions prior to the fix are in scope.
Know when Leantime gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Authenticated (PR:L) network call with no interaction reads all credentials, so C:H; the flaw itself only discloses data (takeover is downstream), so I:N and A:N.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
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.
Executive ViewAI
A credential disclosure vulnerability in Leantime's API (CVE-2026-59712, CVSS 8.6) permits authenticated users to extract password hashes, TOTP secrets, and session tokens for any user account, including administrators. No public exploit has been identified at this time. This vulnerability enables complete account compromise across the organization with minimal attacker effort, making immediate patch deployment critical to prevent unauthorized access.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Leantime 3.0.6 is vulnerable to Cross Site Request Forgery (CSRF). Rated high severity (CVSS 8.8), this vulnerability is
Cross-site request forgery in Leantime 3.6.2 lets a remote unauthenticated attacker execute state-changing actions in th
Server-side request forgery and local file inclusion in Leantime 3.6.2 lets authenticated attackers coerce the server in
Cross Site Scripting vulnerability in Leantime v3.0.6 allows attackers to execute arbitrary code via upload of crafted P
Leantime is an open source project management system. Rated medium severity (CVSS 6.5), this vulnerability is remotely e
In Leantime 3.0.6, a Cross-Site Scripting vulnerability exists within the ticket creation and modification functionality
Cross Site Scripting vulnerability in Leantime 3.0.6 allows a remote attacker to execute arbitrary code via the to-do ti
Open redirect in Leantime 3.6.2's Login controller lets unauthenticated attackers craft login URLs where the `redirectUr
Privilege escalation in Leantime prior to 3.10.0 allows an authenticated low-privilege user to create a full administrat
Missing centralized authorization in Leantime's JSON-RPC API dispatcher (through v3.9.0) enables any authenticated user
Leantime before versions 2.0.15 and 2.1-beta3 has a SQL Injection vulnerability. Rated high severity (CVSS 8.8), this vu
Leantime 3.0.6 is vulnerable to HTML Injection via /dashboard/show#/tickets/newTicket. Rated medium severity (CVSS 4.7),
EUVD-2026-41942
GHSA-hphp-fmhr-5fqh
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB