CVE-2026-80201: Kimai before 2.53.0 API Token Leakage via Invoice Template

Published Aug 25, 2026
·
Updated

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.

Affected Software

1 affected component
Kimai Kimai<2.53.0

Event History

Aug 25, 2026
CVE Published
via MITRE·11:19 PM
Data Sourced
via MITRE·11:19 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who can exploit this issue?

An attacker needs permission to create or modify invoice templates. The issue also requires an administrator context whose user object exposes the sensitive API-token methods to the Twig template.

2

What access or interaction is required for exploitation?

The attacker must embed calls to getApiToken() or getPlainApiToken() in an invoice template and have that template rendered into invoice output. The affected access vector is network-based, but exploitation has high attack complexity, requires high privileges, and requires user interaction.

3

What data can be exposed?

Rendered invoice output can disclose hashed API tokens. The provided information indicates confidentiality impact only; no integrity or availability impact is identified.

4

How can I determine whether an instance is affected?

Kimai versions before 2.53.0 are affected. Review invoice templates created or modified by users with template-creation permissions for calls to getApiToken() or getPlainApiToken(), and inspect rendered invoice output for exposed token values.

5

What can be done if upgrading is not immediately possible?

Restrict invoice-template creation and modification permissions to fully trusted administrators. Audit existing templates for the identified method calls and remove or replace any templates containing them.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203