Kimai
Kimai: Default APP_SECRET in Docker Image Enables Cookie Forgery and Account Takeover
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 2.58.0
Fixed in 2.58.0
Mitigation
Upgrade kimai to 2.58.0 or later.
References
- Vendor advisory github.com/kimai/kimai/security/advisories/GHS…
- Patch github.com/kimai/kimai/pull/5952
- Patch github.com/kimai/kimai/commit/31a8f887a5cda517…
1 more
- Release notes github.com/kimai/kimai/releases/tag/2.58.0
Timeline
Days relative to CVE publicationFirst public PoC 57 days before publication; not in CISA KEV. First PoC: nuclei template: Kimai <= 2.57.0 - Default APP_SECRET Authentication Bypass (nuclei template, 20 Jul 2026).
PoC repositories
Found on GitHub.1 informational
Informational 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| AzureADTrent/CVE-2026-52824 | 4 Aug 2026 −42 d | 0 | Informational · detection |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| nuclei template | nuclei template: Kimai <= 2.57.0 - Default APP_SECRET Authentication Bypass | 20 Jul 2026 | 14 Nov 2026 |