PT-2026-68022 · Leantime · Leantime

·

CVE-2026-54418

·

Published

2026-08-05

·

Updated

2026-08-29

CVSS v3.1

8.1

High

VectorAV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Name of the Vulnerable Software and Affected Versions Leantime versions prior to 3.6.3
Description Authenticated users can exploit a missing authorization check in the JSON-RPC dispatcher. The application fails to implement ownership checks, session pinning, or permission-attribute gates for specific methods. An attacker can provide an arbitrary userId to the following endpoints:
  • leantime.rpc.TwoFA.TwoFA.getSetupData
  • leantime.rpc.TwoFA.TwoFA.saveSecret
  • leantime.rpc.TwoFA.TwoFA.verifyAndEnable
  • leantime.rpc.TwoFA.TwoFA.disable2FA
By manipulating the userId parameter, an attacker can read another user's live Time-based One-Time Password (TOTP) secret via getSetupData or completely disable two-factor authentication for another account using disable2FA, effectively bypassing account-level 2FA protections.
Recommendations Update Leantime to version 3.6.3 or later. As a temporary mitigation, restrict access to the JSON-RPC methods leantime.rpc.TwoFA.TwoFA.getSetupData, leantime.rpc.TwoFA.TwoFA.saveSecret, leantime.rpc.TwoFA.TwoFA.verifyAndEnable, and leantime.rpc.TwoFA.TwoFA.disable2FA.

Exploit

Fix

Missing Authorization

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-54418

Affected Products

Leantime