Skip to main content

Leantime CVE-2026-59712

| EUVDEUVD-2026-41942 HIGH
Authorization Bypass Through User-Controlled Key (CWE-639)
2026-07-06 VulnCheck GHSA-hphp-fmhr-5fqh
8.6
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain low-privileged account
  2. Delivery
    Authenticate to JSON-RPC API
  3. Exploit
    Call users.getUser with arbitrary IDs
  4. Execution
    Enumerate all user credential rows
  5. Persist
    Crack hashes and steal session/TOTP secrets
  6. Impact
    Hijack 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Leantime 0 ≤3.4.4

Affected Packages

euvd leantime no fix

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

Vendor (VulnCheck) PRIMARY 8.6 HIGH
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
vuln.today AI 6.5 MEDIUM

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.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 84% exploitable
Prevalence
Low
niche self-hosted open-source project-management app, modest deployment footprint
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

43
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +43
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

CVE-2024-27474 HIGH POC
8.8 Apr 10

Leantime 3.0.6 is vulnerable to Cross Site Request Forgery (CSRF). Rated high severity (CVSS 8.8), this vulnerability is

CVE-2026-66416 HIGH POC
8.6 Jul 30

Cross-site request forgery in Leantime 3.6.2 lets a remote unauthenticated attacker execute state-changing actions in th

CVE-2026-66415 HIGH POC
8.4 Jul 30

Server-side request forgery and local file inclusion in Leantime 3.6.2 lets authenticated attackers coerce the server in

CVE-2024-27705 HIGH POC
7.6 Apr 03

Cross Site Scripting vulnerability in Leantime v3.0.6 allows attackers to execute arbitrary code via upload of crafted P

CVE-2023-45826 MEDIUM POC
6.5 Oct 19

Leantime is an open source project management system. Rated medium severity (CVSS 6.5), this vulnerability is remotely e

CVE-2024-27477 MEDIUM POC
6.1 Apr 10

In Leantime 3.0.6, a Cross-Site Scripting vulnerability exists within the ticket creation and modification functionality

CVE-2024-27703 MEDIUM POC
5.4 Mar 13

Cross Site Scripting vulnerability in Leantime 3.0.6 allows a remote attacker to execute arbitrary code via the to-do ti

CVE-2026-66414 MEDIUM POC
5.1 Jul 30

Open redirect in Leantime 3.6.2's Login controller lets unauthenticated attackers craft login URLs where the `redirectUr

CVE-2026-85990 HIGH
8.8 Oct 13

Privilege escalation in Leantime prior to 3.10.0 allows an authenticated low-privilege user to create a full administrat

CVE-2026-76647 HIGH
8.8 Aug 19

Missing centralized authorization in Leantime's JSON-RPC API dispatcher (through v3.9.0) enables any authenticated user

CVE-2020-5292 HIGH
8.8 Mar 31

Leantime before versions 2.0.15 and 2.1-beta3 has a SQL Injection vulnerability. Rated high severity (CVSS 8.8), this vu

CVE-2024-27476 MEDIUM POC
4.7 Apr 10

Leantime 3.0.6 is vulnerable to HTML Injection via /dashboard/show#/tickets/newTicket. Rated medium severity (CVSS 4.7),

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy