---
id: CVE-2026-54418
title: >-
  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 permissi…
summary: >-
  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 permissi…
severity: high
cvss: 8.1
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N'
cwe:
  - CWE-862
published: '2026-08-05'
updated: '2026-08-10'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-54418'
references:
  - url: 'https://github.com/Leantime/leantime'
    label: 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c
tags:
  - nvd
epss: 0.0035
epssPercentile: 0.25914
ingestedAt: '2026-08-10T12:39:48.004Z'
---

## Overview

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

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
