{"id":"CVE-2026-23626","published":"2026-01-18T22:45:35Z","modified":"2026-01-20T20:07:08Z","title":"Kimai Vulnerable to Authenticated Server-Side Template Injection (SSTI)","vendor":"kimai","product":"kimai","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00462,"percentile":0.40927,"provenance":"source"},"cwes":[{"id":"CWE-1336","name":"Improper Neutralization of Special Elements Used in a Template Engine"}],"references":[{"url":"https://github.com/kimai/kimai/security/advisories/GHSA-jg2j-2w24-54cg","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/kimai/kimai/pull/5757","tags":["x_refsource_MISC"]},{"url":"https://github.com/kimai/kimai/commit/6a86afb5fd79f6c1825060b87c09bd1909c2e86f","tags":["x_refsource_MISC"]},{"url":"https://github.com/kimai/kimai/releases/tag/2.46.0","tags":["x_refsource_MISC"]}],"priority":{"score":12.9,"factors":[{"name":"EPSS percentile","points":8.19},{"name":"CVSS severity","points":4.76}]},"vendorSlug":"kimai","affectedVersions":[{"vendor":"kimai","product":"kimai","versions":["< 2.46.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-01-20T19:37:30.485752Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"kimai/kimai","vulnerableRanges":["<2.46.0"],"patched":["2.46.0"],"from":["GHSA-jg2j-2w24-54cg"],"provenance":"source"}],"summary":{"text":"Kimai, a web-based multi-user time-tracking application, contains a flaw in its export functionality, which uses a Twig sandbox with an overly permissive policy that allows arbitrary method calls on objects in the template context; this affects versions prior to 2.46.0. An attacker who is authenticated with export permissions can deploy a malicious Twig template to read sensitive data such as environment variables, user password hashes, serialized session tokens, and CSRF tokens, and no network position beyond access to the application is described as required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:45:42Z"},"euvd":{"id":"EUVD-2026-3403","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2023-46245","published":"2023-10-31","fixed":"2.1.0","kev":false},{"cve":"CVE-2024-29200","published":"2024-03-28","fixed":"2.13.0","kev":false},{"cve":"CVE-2024-4596","published":"2024-05-07","fixed":"2.16.0","kev":false,"link":{"from":"CVE-2024-4596","to":"CVE-2026-23626","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:kimai/kimai","fromFixed":"2.16.0","toFixed":"2.46.0","daysApart":621}]}},{"cve":"CVE-2026-23626","published":"2026-01-18","fixed":"2.46.0","kev":false},{"cve":"CVE-2026-28685","published":"2026-03-06","fixed":"2.51.0","kev":false,"link":{"from":"CVE-2026-23626","to":"CVE-2026-28685","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:kimai/kimai","fromFixed":"2.46.0","toFixed":"2.51.0","daysApart":47}]}},{"cve":"CVE-2026-40479","published":"2026-04-17","fixed":"2.53.0","kev":false},{"cve":"CVE-2026-40486","published":"2026-04-17","fixed":"2.53.0","kev":false}],"package":"Packagist:kimai/kimai"}}