CVE-2026-52824kimai
Authentication Forgery via Default Secret in Kimai
Critical 9.1 No auth needed
Follow: this CVE · kimai · kimai We alert you by email or Slack (account required).
- Priority
- 70
- CVSS 4.0
- 9.1
- EPSS
- —
- Auth required
- No
- Published
- Sep 15, 2026
- Updated
- Sep 30, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-1188
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/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
What happens
The official Kimai Docker image prior to version 2.58.0 sets APP_SECRET to a public default value in the Dockerfile. An unauthenticated attacker who knows a username and guesses the associated account ID can forge HMAC-protected authentication artifacts, such as KIMAI_REMEMBER cookies and login links, to access accounts without two-factor authentication without needing the password.
Show the original NVD text
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.
What to do
Patch available · fixed versions: 2.58.0
Update Kimai to version 2.58.0 or later. If using Docker, rebuild the image or ensure APP_SECRET is set to a unique and secure value in your environment.
- Apply the vendor's security update for kimai.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | kimai/kimai |
< 2.58.0 |
2.58.0 |
composer require "kimai/kimai:^2.58.0" |
Per OSV / GitHub Advisories (GHSA-jr9p-4h4j-6c58). Check the version in your lockfile before upgrading.
Affected products
- kimai · kimai
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.