CVE-2026-52824 Details
Description
Kimai is an open-source time tracking application. Prior to 2.58.0, the official Docker image sets APP_SECRET to the public value change_this_to_something_unique in Dockerfile, and .docker/entrypoint.sh neither replaces nor rejects that value before Symfony uses it as kernel.secret. An unauthenticated attacker who reaches a deployment that did not override APP_SECRET, knows a username, correctly guesses the account ID associated with that username, and targets an account without active two-factor authentication can forge HMAC-protected authentication artifacts, including KIMAI_REMEMBER cookies and login links, to access the account without its password. The updated entrypoint generates and persists a random secret when no safe operator-provided value exists. This issue is fixed in version 2.58.0.
A critical vulnerability has been identified in Kimai, an open-source time tracking application, specifically in versions through 2.57.0. The issue arises from the official Docker image, which sets the APP_SECRET environment variable to a default, publicly known value. This default value is not replaced or validated before being used by Symfony, leaving the application vulnerable to exploitation. An unauthenticated attacker who knows a username and can guess the associated account ID, targeting an account without active two-factor authentication, can forge HMAC-protected authentication tokens, including KIMAI_REMEMBER cookies and login links, to gain unauthorized access to the account. The vulnerability has been addressed in Kimai version 2.58.0, which updates the Docker entrypoint to generate a random secret when no user-provided value is available, and ensures that the new secret is stored in a way that persists across container restarts.
Users of Kimai who are still using the default APP_SECRET value should update to version 2.58.0 or later. Existing installations should set a unique and random APP_SECRET value before updating.
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/31a8f887a5cda517db7b4320a7ad997c87d08601 | [email protected] | Source CodeVendor |
| https://github.com/kimai/kimai/pull/5952 | [email protected] | Source CodeVendor |
| https://github.com/kimai/kimai/releases/tag/2.58.0 | [email protected] | Release NotesVendor |
| https://github.com/kimai/kimai/security/advisories/GHSA-jr9p-4h4j-6c58 | [email protected] | AdvisoryVendor |
| https://www.kimai.org/en/security/ghsa-jr9p-4h4j-6c58 | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-1188 | Initialization of a Resource with an Insecure Default | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Kimai | <= 2.57.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