Kimai: Default APP_SECRET in Docker Image Enables Cookie Forgery and Account Takeover
Published Sep 15, 2026
9.1
CRITICALCVSS 4.0
EPSS 1.33%
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.
Affected products
-
Affected
- < 2.58.0
No data.
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
No remediation recorded yet.
References (7)
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-78402 Advisory
- https://github.com/advisories/GHSA-jr9p-4h4j-6c58 Advisory
- https://github.com/kimai/kimai/commit/31a8f887a5cda517db7b4320a7ad997c87d08601 x_refsource_MISC
- https://github.com/kimai/kimai/pull/5952 x_refsource_MISC
- https://github.com/kimai/kimai/releases/tag/2.58.0 x_refsource_MISC
- https://github.com/kimai/kimai/security/advisories/GHSA-jr9p-4h4j-6c58 x_refsource_CONFIRM
- https://www.kimai.org/en/security/ghsa-jr9p-4h4j-6c58 x_refsource_MISC
| Link | Providers | Tags |
|---|---|---|
| https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-78402 | Advisory | |
| https://github.com/advisories/GHSA-jr9p-4h4j-6c58 | Advisory | |
| https://github.com/kimai/kimai/commit/31a8f887a5cda517db7b4320a7ad997c87d08601 | x_refsource_MISC | |
| https://github.com/kimai/kimai/pull/5952 | x_refsource_MISC | |
| https://github.com/kimai/kimai/releases/tag/2.58.0 | x_refsource_MISC | |
| https://github.com/kimai/kimai/security/advisories/GHSA-jr9p-4h4j-6c58 | x_refsource_CONFIRM | |
| https://www.kimai.org/en/security/ghsa-jr9p-4h4j-6c58 | x_refsource_MISC |
Change history (0)
No recorded changes yet.
CVE.org / MITRE
CISA Vulnrichment
Red Hat
No data
GitHub