Skip to main content

Leantime EUVDEUVD-2026-53193

| CVE-2026-54418 HIGH
Missing Authorization (CWE-862)
2026-08-05 TuranSec GHSA-j9c4-c6g5-c9fv
8.1
CVSS 3.1 · Vendor: TuranSec
View

Attack ChainAIDerived

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

  1. Access
    Obtain valid Leantime credentials
  2. Delivery
    Authenticate to JSON-RPC endpoint
  3. Exploit
    Send getSetupData with victim userId
  4. Execution
    Extract victim TOTP secret
  5. Persist
    Optionally call disable2FA to strip victim 2FA
  6. Impact
    Use 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.3% exploitation probability (EPSS)

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

Alert me

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

Leantime 0 ≤3.6.2

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

Vendor (TuranSec) PRIMARY 8.1 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
vuln.today AI 8.1 HIGH

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.

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

Primary rating from Vendor (TuranSec).

CVSS VectorVendor: TuranSec

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.3%
Top 78% exploitable
Prevalence
Low
open-source project management tool, niche adoption footprint
Data Quality
6 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.3%
Patch available No
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

40
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +40
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