What’s Vulnerable › Vulnerabilities
CVE-2023-46245: Kimai (Authenticated) SSTI to RCE by Uploading a Malicious Twig File
- Severity: high (CVSS 7.2 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.5% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2023-10-31 · updated 2026-06-17
- Weakness: CWE-1336
Description
Kimai is a web-based multi-user time-tracking application. Versions prior to 2.1.0 are vulnerable to a Server-Side Template Injection (SSTI) which can be escalated to Remote Code Execution (RCE). The vulnerability arises when a malicious user uploads a specially crafted Twig file, exploiting the software's PDF and HTML rendering functionalities. Version 2.1.0 enables security measures for custom Twig templates.
Affected products
- kimai: through 2.10
References
- https://github.com/kimai/kimai/commit/38e37f1c2e91e1acb221ec5c13f11b735bd50ae4
- https://github.com/kimai/kimai/security/advisories/GHSA-fjhg-96cp-6fcw
- https://github.com/kimai/kimai/commit/38e37f1c2e91e1acb221ec5c13f11b735bd50ae4
- https://github.com/kimai/kimai/security/advisories/GHSA-fjhg-96cp-6fcw
Get alerted when CVE-2023-46245 or the next vulnerability affects your stack