Kimai before 2.53.0 fails to block sensitive User methods in the Twig invoice template sandbox, allowing admins to call getApiToken() and getPlainApiToken() methods. Attackers with template creation permissions can embed these method calls in invoice templates to leak hashed API tokens in rendered invoice output.
https://www.vulncheck.com/advisories/kimai-before-2.53.0-api-token-leakage-via-invoice-template
https://github.com/kimai/kimai/security/advisories/GHSA-rh42-6rj2-xwmc
Published: 2026-08-26
Updated: 2026-08-26
Base Score: 1.7
Vector: CVSS2#AV:N/AC:H/Au:M/C:P/I:N/A:N
Severity: Low
Base Score: 2
Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:N/A:N
Severity: Low
Base Score: 2
Vector: CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Severity: Low