Skip to main content
← All vulnerabilities
CVE-2026-52827GHSA-V8HX-4VX8-WC96

Kimai: Two-factor authentication bypass on the Kimai API

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.59.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • kimai kimai

    fixed in 2.59.0

  • kimai/kimaiPackagist

    fixed in 2.59.0

References 5

GitHub · kimai/kimai

kimai.org