CVE-2026-54418: Leantime - Missing Authorization on TwoFA JSON-RPC Methods Allows Cross-Account 2FA Secret Disclosure and Bypass

Published Aug 5, 2026
·
Updated

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

Affected Software

1 affected component
Leantime<=3.6.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Leantime to a version that resolves this vulnerability.

    Fixed in 3.6.2
  2. Configuration

    Update the JSON-RPC dispatcher/method handlers so these TwoFA JSON-RPC methods enforce caller authorization for the userId parameter (add ownership check, permission-attribute gating, and session pinning), rather than acting on caller-supplied userId without access control.

    Leantime JSON-RPC (leantime.rpc.TwoFA.TwoFA.*) Authorization/ownership checks for caller-supplied userId = Require ownership check + permission-attribute gate + session pinning for methods leantime.rpc.TwoFA.TwoFA.getSetupData, saveSecret, verifyAndEnable, disable2FA

Event History

Aug 5, 2026
CVE Published
via MITRE·06:58 AM
Data Sourced
via MITRE·06:58 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:16 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2026-54418?

The severity of CVE-2026-54418 is rated as high with a score of 8.1.

2

What does CVE-2026-54418 affect?

CVE-2026-54418 affects Leantime versions up to 3.6.2 and involves missing authorization on specific JSON-RPC methods.

3

How do I fix CVE-2026-54418?

To fix CVE-2026-54418, upgrade to the latest version of Leantime that includes the necessary authorization checks.

4

What are the risks associated with CVE-2026-54418?

The risks associated with CVE-2026-54418 include potential cross-account 2FA secret disclosure and bypass.

5

What specific methods are impacted by CVE-2026-54418?

The impacted methods by CVE-2026-54418 include leantime.rpc.TwoFA.TwoFA.getSetupData, saveSecret, verifyAndEnable, and disable2FA.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203