CVE-2026-23626 Details
Description
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.
A server-side template injection vulnerability has been identified in Kimai, a web-based time-tracking application, in versions prior to 2.46.0. The issue arises from an export feature that utilizes a Twig sandbox with a lax security policy, permitting unauthorized method calls on objects within the template context. This vulnerability allows an authenticated user with export rights to upload a malicious Twig template that can extract sensitive information such as environment variables, user password hashes, serialized session tokens, and CSRF tokens.
Users can update to Kimai version 2.46.0 or later, where this vulnerability has been patched. After updating, it is recommended to review and tighten export template security policies to prevent similar issues in the future.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jan 20, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/kimai/kimai/commit/6a86afb5fd79f6c1825060b87c09bd1909c2e86f | [email protected] | Patch |
| https://github.com/kimai/kimai/pull/5757 | [email protected] | Issue Tracking |
| https://github.com/kimai/kimai/releases/tag/2.46.0 | [email protected] | ProductRelease Notes |
| https://github.com/kimai/kimai/security/advisories/GHSA-jg2j-2w24-54cg | [email protected] | ExploitMitigationVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-1336 | Improper Neutralization of Special Elements Used in a Template Engine | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| kimai kimai | < 2.46.0 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Feb 18, 2026 | Initial Analysis | [email protected] |
| Jan 18, 2026 | New CVE Received | [email protected] |