Kimai Vulnerable to Authenticated Server-Side Template Injection (SSTI)
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · None · None
- 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. Prior to version 2.46.0, Kimai's export functionality uses a Twig sandbox with an overly permissive security policy (`DefaultPolicy`) that allows arbitrary method calls on objects available in the template context. An authenticated user with export permissions can deploy a malicious Twig template that extracts sensitive information including environment variables, all user password hashes, serialized session tokens, and CSRF tokens. Version 2.46.0 patches this issue.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| kimai | kimai | before 2.46.0 | 2.46.0 | Patch available | CNA |
| — | kimai/kimai (Packagist) | before 2.46.0 | 2.46.0 | Patch available | GHSA-jg2j-2w24-54cg |
- kimai Vendorkimai Affected before 2.46.0 Fixed in 2.46.0 Patch available CNA
- kimai/kimai (Packagist) Vendor— Affected before 2.46.0 Fixed in 2.46.0 Patch available GHSA-jg2j-2w24-54cg
Remediation
- Fix · CNA kimai (kimai) Fixed in 2.46.0
- Fix · GHSA-jg2j-2w24-54cg kimai/kimai (Packagist) Fixed in 2.46.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-23626
- 2026-10-03 Alias added: GHSA-jg2j-2w24-54cg
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-2026-23626 · CVE Program
- CVE-2026-23626 · NVD
- FIRST EPSS
- GHSA-jg2j-2w24-54cg · 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