{"id":"CVE-2026-52824","published":"2026-09-15T10:40:28Z","modified":"2026-09-16T17:33:01Z","title":"Kimai: Default APP_SECRET in Docker Image Enables Cookie Forgery and Account Takeover","vendor":"kimai","product":"kimai","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.1,"severity":"CRITICAL","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01333,"percentile":0.71843,"provenance":"source"},"cwes":[{"id":"CWE-1188","name":"Initialization of a Resource with an Insecure Default"}],"references":[{"url":"https://github.com/kimai/kimai/security/advisories/GHSA-jr9p-4h4j-6c58","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/kimai/kimai/pull/5952","tags":["x_refsource_MISC"]},{"url":"https://github.com/kimai/kimai/commit/31a8f887a5cda517db7b4320a7ad997c87d08601","tags":["x_refsource_MISC"]},{"url":"https://github.com/kimai/kimai/releases/tag/2.58.0","tags":["x_refsource_MISC"]},{"url":"https://www.kimai.org/en/security/ghsa-jr9p-4h4j-6c58","tags":["x_refsource_MISC"]}],"priority":{"score":25.7,"factors":[{"name":"EPSS percentile","points":14.37},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.37}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-08-04","earliestUrl":"https://github.com/AzureADTrent/CVE-2026-52824","repos":[{"name":"AzureADTrent/CVE-2026-52824","url":"https://github.com/AzureADTrent/CVE-2026-52824","stars":0,"created":"2026-08-04"}]},"nuclei":[{"id":"CVE-2026-52824","name":"Kimai <= 2.57.0 - Default APP_SECRET Authentication Bypass","severity":"critical","path":"http/cves/2026/CVE-2026-52824.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-52824.yaml"}],"first":{"date":"2026-08-04","source":"PoC-in-GitHub","url":"https://github.com/AzureADTrent/CVE-2026-52824"},"provenance":"source"},"vendorSlug":"kimai","affectedVersions":[{"vendor":"kimai","product":"kimai","versions":["< 2.58.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-09-16T17:32:52.166965Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"kimai/kimai","vulnerableRanges":["<2.58.0"],"patched":["2.58.0"],"from":["GHSA-jr9p-4h4j-6c58"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-78402","exploited":false,"provenance":"source"}}