Kimai (Authenticated) SSTI to RCE by Uploading a Malicious Twig File
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-1336.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| kimai | kimai | before 2.1.0 | 2.1.0 | Patch available | CNA |
| — | kimai/kimai (Packagist) | before 2.1.0 | 2.1.0 | Patch available | GHSA-fjhg-96cp-6fcw |
- kimai Vendorkimai Affected before 2.1.0 Fixed in 2.1.0 Patch available CNA
- kimai/kimai (Packagist) Vendor— Affected before 2.1.0 Fixed in 2.1.0 Patch available GHSA-fjhg-96cp-6fcw
Remediation
- Fix · CNA kimai (kimai) Fixed in 2.1.0
- Fix · GHSA-fjhg-96cp-6fcw kimai/kimai (Packagist) Fixed in 2.1.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2023-46245
- 2026-10-03 Alias added: GHSA-fjhg-96cp-6fcw
References
More Kimai vulnerabilities
- TI-2023-30240 Kimai 1.30.10 SameSite Cookie Vulnerability Session Hijacking CVSS 4.0HIGH 8.5
- TI-2026-22900 Kimai: API invoice endpoint missing customer-level access control (IDOR) CVSS 3.1MEDIUM 6.5
- TI-2026-30580 Kimai: Formula Injection via tag names in XLSX export CVSS 4.0MEDIUM 5.4
- TI-2026-29230 Kimai: Stored XSS via Incomplete HTML Attribute Escaping in Team Member Widget CVSS 3.1MEDIUM 5.4
- TI-2019-15371 Kimai 2- persistent cross-site scripting (XSS) CVSS 4.0MEDIUM 5.1
- TI-2026-29237 Kimai's User Preferences API allows standard users to modify restricted attributes: hourly_rate, internal_rate CVSS 3.1MEDIUM 4.3
Sources
- CVE-2023-46245 · CVE Program
- CVE-2023-46245 · NVD
- FIRST EPSS
- GHSA-fjhg-96cp-6fcw · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences