Read the docs
TI-2023-24872 Aliases CVE-2023-46245GHSA-fjhg-96cp-6fcw

Kimai (Authenticated) SSTI to RCE by Uploading a Malicious Twig File

Priority LOW 35CWE-1336Published · Updated

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

EPSS 0.01799 78th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed kimai (kimai): 2.1.0kimai/kimai (Packagist): 2.1.0

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
kimaikimaibefore 2.1.02.1.0Patch availableCNA
—kimai/kimai (Packagist)before 2.1.02.1.0Patch availableGHSA-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

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:kimai:kimai:*:*:*:*:*:*:*:*up to 2.10Vulnerablekimai
  • cpe:2.3:a:kimai:kimai:*:*:*:*:*:*:*:* Versions up to 2.10 Vulnerable ·kimai

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

  1. 2026-10-02 Threatist record created from CVE-2023-46245
  2. 2026-10-03 Alias added: GHSA-fjhg-96cp-6fcw

References

  • 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
See all 13 →

Sources