CVE-2026-52827 PUBLISHED

Kimai: Two-factor authentication bypass on the Kimai API

Assigner: GitHub_M
Reserved: 08.06.2026 Published: 15.09.2026 Updated: 15.09.2026

Kimai is an open-source time tracking application. Prior to 2.59.0, the KIMAI_SESSION cookie issued after password verification but before TOTP completion is accepted by every /api route because config/packages/security.yaml protects the API with IS_AUTHENTICATED and App\API\Authentication\ApiRequestMatcher routes an existing session through the main firewall. A Scheb TwoFactorToken satisfies that access rule, and App\Voter\ApiVoter grants API access to its User, allowing an attacker with a valid account password to use authenticated REST API operations without entering the second factor even though web routes remain blocked. This issue is fixed in version 2.59.0.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N
CVSS Score: 7.1

Product Status

Vendor kimai
Product kimai
Versions
  • Version < 2.59.0 is affected

References

Problem Types

  • CWE-287: Improper Authentication CWE