Original 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.
Affected software
- Kimai * repository or package match
Details
- Published
- 2026-09-15
- Last modified
- 2026-09-17
- 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- CWE
- CWE-287
- EPSS (30-day exploit probability)
- 0.58% (percentile 48)
References
- cve.org/CVE-2026-52827
- nvd.nist.gov/vuln/detail/CVE-2026-52827
- github.com/kimai/kimai/security/advisories/GHSA-v8hx-4vx8-wc96
- github.com/kimai/kimai/pull/5957
- github.com/kimai/kimai/commit/87c85270a98899e6545108cbb9f41103ec6ea312
- github.com/kimai/kimai/releases/tag/2.59.0
- www.kimai.org/en/security/ghsa-v8hx-4vx8-wc96
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.