# CVE-2026-52824: Kimai: Default APP_SECRET in Docker Image Enables Cookie Forgery and Account Takeover

- Severity: Critical 9.1 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.06%, higher than 81% of CVEs (2026-12-01)
- Published: 2026-07-14T00:07:59.000Z
- Modified: 2026-09-30T17:51:56.193Z
- Also known as: GHSA-jr9p-4h4j-6c58
- Weaknesses: CWE-1188
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- kimai kimai: < 2.58.0
- kimai/kimai (Packagist): before 2.58.0

## Every score

- GitHub_M: CVSS:4.0 9.1 Critical `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`
- GitHub: CVSS:4.0 Critical `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`

## References

- <https://github.com/kimai/kimai/security/advisories/GHSA-jr9p-4h4j-6c58> (web)
- <https://github.com/kimai/kimai/pull/5952>
- <https://github.com/kimai/kimai/commit/31a8f887a5cda517db7b4320a7ad997c87d08601>
- <https://github.com/kimai/kimai/releases/tag/2.58.0>
- <https://www.kimai.org/en/security/ghsa-jr9p-4h4j-6c58>
- <https://github.com/kimai/kimai> (package)

## Sources

- CVE List: [CVE-2026-52824](https://www.cve.org/CVERecord?id=CVE-2026-52824), CVE Terms of Use, modified 2026-09-16
- GitHub Advisory Database: [GHSA-jr9p-4h4j-6c58](https://github.com/advisories/GHSA-jr9p-4h4j-6c58), CC-BY-4.0, modified 2026-07-14
- NVD: [CVE-2026-52824](https://nvd.nist.gov/vuln/detail/CVE-2026-52824), Public domain, modified 2026-09-30

---

Page: https://cve.day/CVE-2026-52824 · Whole record: https://cve.day/CVE-2026-52824.json · Rebuilt by cve.day 2026-11-25T22:59:38.492Z
