CVE-2026-52827 Details
Description
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.
A vulnerability in Kimai's authentication process for the REST API allowed users to bypass two-factor authentication (2FA) and gain unauthorized access to API features. This issue affects Kimai versions prior to 2.58.0. The vulnerability arises because the KIMAI_SESSION cookie, issued after password verification but before 2FA completion, is accepted by all API endpoints. As a result, an attacker with knowledge of a user's password can access authenticated API operations without completing the 2FA process, even though the web interface correctly enforces 2FA.
Users are advised to update Kimai to version 2.59.0 or later, where this vulnerability has been patched.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 15, 2026CISA-ADP
Assessed Sep 16, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/kimai/kimai/commit/87c85270a98899e6545108cbb9f41103ec6ea312 | [email protected] | Source CodeVendor |
| https://github.com/kimai/kimai/pull/5957 | [email protected] | Source CodeVendor |
| https://github.com/kimai/kimai/releases/tag/2.59.0 | [email protected] | Release NotesVendor |
| https://github.com/kimai/kimai/security/advisories/GHSA-v8hx-4vx8-wc96 | [email protected] | AdvisoryRemedyVendor |
| https://www.kimai.org/en/security/ghsa-v8hx-4vx8-wc96 | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-287 | Improper Authentication | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Kimai | < 2.58.0 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 16, 2026 | CVE Modified | CISA-ADP |
| Sep 15, 2026 | New CVE Received | [email protected] |
Volerion