BuzzPHP
LightDarkSystem

Kimai: Default APP_SECRET in Docker Image Enables Cookie Forgery and Account Takeover

Critical severity. Published 14 July 2026. Update kimai/kimai to 2.58.0 or later: composer update kimai/kimai.

Which versions are affected?

PackageAffected versionsFixed in
kimai/kimai (opens in a new tab)<= 2.57.02.58.0

What should you do?

Update every affected package you use to its fixed version, then check that nothing else in your project matches an advisory. To see which version you run, and whether anything is still affected:

composer show kimai/kimai
composer audit

Advisory details

SeverityCritical
Published
Updated
CVECVE-2026-52824 (opens in a new tab)
GHSAGHSA-jr9p-4h4j-6c58 (opens in a new tab)
WeaknessCWE-1188

What the advisory says

Summary

The official Kimai Docker image ships with APPSECRET=changethistosomethingunique as the default environment variable. The Docker entrypoint does not override or validate this value. Any Kimai instance deployed using the Docker image without explicitly setting APPSECRET runs with a publicly-known Symfony kernel.secret, enabling an unauthenticated attacker to forge HMAC-signed cookies and login links to take over any account including superadmin.

Details

Dockerfile:263 sets ENV APPSECRET=changethistosomethingunique. This value is consumed by config/packages/framework.yaml:7 as kernel.secret, which Symfony uses to HMAC-sign:

Source: GHSA-jr9p-4h4j-6c58 (opens in a new tab) in the GitHub Advisory Database (CC BY 4.0). Data from GitHub (opens in a new tab) as of .

Other recent advisories for this package

All Composer security advisories