Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain valid Leantime credentials
-
DeliveryAuthenticate to JSON-RPC endpoint
-
ExploitSend getSetupData with victim userId
-
ExecutionExtract victim TOTP secret
-
PersistOptionally call disable2FA to strip victim 2FA
-
ImpactUse credentials plus cloned TOTP to access victim account
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires a valid authenticated session in Leantime (PR:L) - any registered user account suffices; no elevated role is needed. The attacker must know or enumerate a target userId, which may be discoverable through other application features. The Leantime JSON-RPC endpoint must be network-accessible to the attacker. No special server-side configuration beyond a default Leantime installation through version 3.6.2 is required. Exploitation is limited by the requirement for at least one valid account credential; unauthenticated access is not possible based on the CVSS PR:L designation. Attack complexity is low (AC:L) - no race conditions, cryptographic prerequisites, or non-default configurations are needed once authentication is satisfied. |
| Impact | The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N) scores 8.1, reflecting a network-reachable flaw requiring only low-privilege authentication, no interaction, and yielding high confidentiality (TOTP secret disclosure) and high integrity (ability to disable another account's 2FA) impact. No EPSS data was provided in the source intelligence, and the vulnerability is not listed in CISA KEV, so widespread active exploitation is not confirmed. No public POC has been identified at time of analysis. Despite the absence of confirmed exploitation, the real-world risk is elevated: the attack requires only a valid Leantime session - achievable by any registered user, including low-trust team members - and the outcome (disabling a victim's 2FA or cloning their TOTP authenticator) creates a durable account-takeover primitive. Organizations using Leantime with 2FA as a compensating control against credential theft should treat this as high priority, because successful exploitation nullifies that control entirely. |
| Exploit ScenarioDerived | A low-privileged Leantime user (e.g., a contractor or team member) sends a crafted JSON-RPC request to leantime.rpc.TwoFA.TwoFA.getSetupData with a target administrator's userId, receiving that admin's live TOTP secret in the response. The attacker registers the secret in a TOTP app and subsequently calls disable2FA for the same userId, removing 2FA from the admin account entirely, leaving it protected only by its password. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 05, 2026
Horizontal privilege escalation in Leantime through 3.6.2 allows any authenticated user to read live TOTP secrets or strip two-factor authentication from arbitrary accounts via unenforced JSON-RPC endpoints, fully defeating per-account 2FA protection. The four affected methods - getSetupData, saveSecret, verifyAndEnable, and disable2FA - accept a caller-supplied userId with no ownership check, session pinning, or permission gate, unlike other methods in the same RPC dispatcher. No public exploit has been identified at time of analysis and the flaw is not listed in CISA KEV, but the low exploitation complexity (authenticated, network-accessible, no user interaction) makes it a credible lateral-escalation risk in any multi-user Leantime deployment.
RemediationAI
No vendor-released patched version has been identified at time of analysis - the sole reference points to the upstream GitHub repository at https://github.com/Leantime/leantime rather than a specific advisory or tagged release. Administrators should monitor that repository for a fix addressing the TwoFA RPC authorization bypass. As a compensating control, restrict access to the Leantime JSON-RPC endpoint (typically /api/jsonrpc or equivalent) to trusted network segments or authenticated VPN users only, reducing the attack surface to users who already have elevated network trust. If the JSON-RPC interface is not required by any integrated tooling, disabling or firewall-blocking it entirely eliminates the exposed attack surface with no functional impact to the web UI. Organizations should also audit which accounts have 2FA enabled and consider alerting on unexpected disable2FA or getSetupData RPC calls in application logs. Note that restricting network access does not fix the underlying authorization flaw and authenticated internal users would still be able to exploit it within the permitted network.
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 an open-source project management application built on PHP. Its JSON-RPC dispatcher routes calls to service-layer methods, with most exposed methods enforcing ownership or permission attributes before acting. The TwoFA service (leantime.rpc.TwoFA.TwoFA) implements TOTP-based two-factor authentication and exposes four management methods over the same dispatcher. According to the description, these four methods fail to validate that the authenticated caller owns the userId supplied in the request body - a textbook instance of CWE-862 (Missing Authorization), where a function that performs a security-relevant action relies on caller-supplied input without verifying entitlement. The vulnerable CPE is cpe:2.3:a:leantime:leantime:*:*:*:*:*:*:*:* through version 3.6.2. A closely related flaw (CVE-2026-15509) covers the same missing-authorization pattern in the editUser/addUser role-assignment RPC path; both share the same root cause but are independently addressable.
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
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Network-accessible RPC requires only a valid user session (PR:L); reading TOTP secrets yields C:H and disabling 2FA yields I:H, with no availability impact and no scope change.
Primary rating from Vendor (TuranSec).
CVSS VectorVendor: TuranSec
DescriptionCVE.org
Leantime through 3.6.2 exposes the JSON-RPC methods leantime.rpc.TwoFA.TwoFA.getSetupData, saveSecret, verifyAndEnable, and disable2FA, which act on a caller-supplied userId parameter with no ownership check, session pinning, or permission-attribute gate (unlike other RPC-exposed methods in the same dispatcher). Any authenticated user can invoke getSetupData with an arbitrary userId to read that user's live TOTP secret, or disable2FA to strip another account's two-factor authentication entirely, fully defeating account-level 2FA protection. This is related to CVE-2026-15509, which covers a similar missing-authorization pattern in the JSON-RPC editUser/addUser role-assignment path in the same application; the TwoFA service methods addressed here are a distinct, independently fixable set of RPC endpoints.
Executive ViewAI
Leantime versions through 3.6.2 contain a horizontal privilege escalation vulnerability allowing any authenticated user to disable two-factor authentication on arbitrary accounts or read their TOTP secrets, completely bypassing per-user 2FA protections. This flaw directly undermines the organization's multi-user access controls, enabling account takeover and lateral movement within shared project management environments. Organizations using Leantime face the risk of credential compromise and unauthorized access to sensitive project data.
No vendor-released patch identified at time of analysis. Interim mitigations include: restricting network access to JSON-RPC endpoints to authorized administrators or specific IP ranges, implementing comprehensive audit logging and alerting on all 2FA configuration changes and TOTP secret access, enforcing strong password policies and monitoring for anomalous account access patterns, and requesting urgent guidance from Leantime vendor on interim fixes or version timelines.
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-53193
GHSA-j9c4-c6g5-c9fv
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB