CVE Catalog

CVE-2026-52827

HighCVSS 7.1
Published: Translated: NVD NIST

Summary

In Kimai, 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.

Risk Assessment

An attacker who knows an account password can bypass two-factor authentication and perform API operations on behalf of the user. This weakens MFA effectiveness and may lead to unauthorized data access.

Recommendation

Update Kimai to version 2.59.0 or later. Until patched, consider restricting access to /api routes or enforcing additional second-factor verification.

Other vulnerabilities in Kimai

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS