CVE-2026-80201
2
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
Summary
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
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| kimai | kimai | 0 < 2.53.0 | affected |
| kimai | kimai | 2.53.0 | unaffected |
Weaknesses
- CWE-94: Improper Control of Generation of Code ('Code Injection')
References
- https://github.com/kimai/kimai/security/advisories/GHSA-rh42-6rj2-xwmc
- https://www.vulncheck.com/advisories/kimai-before-2.53.0-api-token-leakage-via-invoice-template
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.