CVE-2026-52827
HIGH 7.1CVSS 4.0Kimai: Pre-2FA KIMAI_SESSION cookie grants full authenticated REST API access, bypassing TOTP
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.
- Published
- 15 Sep 2026
- Last modified
- 30 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-287
- Also known as
- GHSA-v8hx-4vx8-wc96
- Sources
- NVDJSONOSV GHSA-v8hx-4vx8-wc96JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | HIGH 7.1 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | 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 |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Packagist | kimai/kimai | < 2.59.0 | 2.59.0 |
References
- https://github.com/kimai/kimai/commit/87c85270a98899e6545108cbb9f41103ec6ea312
- https://github.com/kimai/kimai/pull/5957
- https://github.com/kimai/kimai/releases/tag/2.59.0
- https://github.com/kimai/kimai/security/advisories/GHSA-v8hx-4vx8-wc96 · WEB
- https://www.kimai.org/en/security/ghsa-v8hx-4vx8-wc96
- https://github.com/kimai/kimai · PACKAGE
History
- 25 Nov 2026 21:05 UTC · NVD: first stored (published 15 Sep 2026)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 14 Jul 2026)