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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-1336"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23626.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "2.46.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "6a86afb5fd79f6c1825060b87c09bd1909c2e86f"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "2.46.0",
"range": [
{
"fixed": "6a86afb5fd79f6c1825060b87c09bd1909c2e86f"
}
],
"source": "REFERENCES_TAG"
},
{
"cpe": "cpe:2.3:a:kimai:kimai:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "2.46.0"
}
],
"source": "CPE_RANGE"
}
]
}