# CVE-2026-52827: Kimai: Two-factor authentication bypass on the Kimai API

- Severity: High 7.1 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.43%, higher than 39% of CVEs (2026-12-01)
- Published: 2026-07-14T00:33:39.000Z
- Modified: 2026-09-30T17:51:56.193Z
- Also known as: GHSA-v8hx-4vx8-wc96
- Weaknesses: CWE-287
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- kimai kimai: < 2.59.0
- kimai/kimai (Packagist): before 2.59.0

## Every score

- GitHub_M: CVSS:4.0 7.1 High `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`
- GitHub: CVSS:4.0 High `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`

## References

- <https://github.com/kimai/kimai/security/advisories/GHSA-v8hx-4vx8-wc96> (web)
- <https://github.com/kimai/kimai/pull/5957>
- <https://github.com/kimai/kimai/commit/87c85270a98899e6545108cbb9f41103ec6ea312>
- <https://github.com/kimai/kimai/releases/tag/2.59.0>
- <https://www.kimai.org/en/security/ghsa-v8hx-4vx8-wc96>
- <https://github.com/kimai/kimai> (package)

## Sources

- CVE List: [CVE-2026-52827](https://www.cve.org/CVERecord?id=CVE-2026-52827), CVE Terms of Use, modified 2026-09-16
- GitHub Advisory Database: [GHSA-v8hx-4vx8-wc96](https://github.com/advisories/GHSA-v8hx-4vx8-wc96), CC-BY-4.0, modified 2026-07-14
- NVD: [CVE-2026-52827](https://nvd.nist.gov/vuln/detail/CVE-2026-52827), Public domain, modified 2026-09-30

---

Page: https://cve.day/CVE-2026-52827 · Whole record: https://cve.day/CVE-2026-52827.json · Rebuilt by cve.day 2026-11-25T22:59:38.493Z
