CVE-2026-54418
Received Received - Intake

Two-Factor Authentication Bypass in Leantime

Vulnerability report for CVE-2026-54418, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-05

Last updated on: 2026-08-05

Assigner: 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-05
Last Modified
2026-08-05
Generated
2026-08-05
AI Q&A
2026-08-05
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
leantime leantime to 3.6.2 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-862 The product does not perform an authorization check when an actor attempts to access a resource or perform an action.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability in Leantime through 3.6.2 allows authenticated users to bypass two-factor authentication (2FA) protections. It exposes JSON-RPC methods that manipulate user accounts without proper authorization checks. Attackers can read another user's TOTP secret or disable their 2FA entirely, fully defeating account-level 2FA protection.

Detection Guidance

Check Leantime's JSON-RPC endpoints for unauthorized access to userId parameters. Monitor logs for suspicious calls to methods like getSetupData, saveSecret, verifyAndEnable, or disable2FA with arbitrary userId values. Ensure no unauthorized modifications to 2FA settings are detected.

Impact Analysis

If exploited, this vulnerability could allow unauthorized access to user accounts, bypassing 2FA protections. Attackers could gain control of accounts, access sensitive data, or perform actions on behalf of other users. This undermines account security and could lead to data breaches or unauthorized system changes.

Compliance Impact

This vulnerability could lead to unauthorized access to personal or sensitive data, violating GDPR and HIPAA requirements for data protection and access controls. Organizations using Leantime may fail to meet compliance standards due to insufficient security measures, risking legal penalties and reputational damage.

Mitigation Strategies

Update Leantime to the latest version beyond 3.6.2. Review and restrict access to JSON-RPC endpoints. Implement session pinning and permission checks for all RPC methods. Disable or audit userId parameter manipulation in TwoFA-related methods.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-54418. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart