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

Low 2.0 Published Updated

Attackers with template creation permissions can leak API tokens by injecting method calls into Twig invoice templates in Kimai.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2026-80201?

CVE-2026-80201 is a low-severity code injection vulnerability in kimai, published on 25 Aug 2026. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.

Official description

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.

Weakness: CWE-94

Which versions are affected by CVE-2026-80201?

2 open source packages ship an affected version, including kimai/kimai.

PackageAffectedFixed in
kimai/kimai PackagistAll versions2.53.0
kimai/kimai PackagistAll versions2.53.0

How do I fix CVE-2026-80201?

Upgrade kimai/kimai to 2.53.0 or later.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2026-80201 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-80201 exists.

Sources

Also known as GHSA-hqh5-vhwr-rg24, GHSA-rh42-6rj2-xwmc.

Is CVE-2026-80201 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free