{"id":"CVE-2023-46245","published":"2023-10-31T15:06:23Z","modified":"2024-08-02T20:37:40Z","title":"Kimai (Authenticated) SSTI to RCE by Uploading a Malicious Twig File","vendor":"kimai","product":"kimai","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.2,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01799,"percentile":0.79022,"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-fjhg-96cp-6fcw","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/kimai/kimai/commit/38e37f1c2e91e1acb221ec5c13f11b735bd50ae4","tags":["x_refsource_MISC"]}],"priority":{"score":20.8,"factors":[{"name":"EPSS percentile","points":15.8},{"name":"CVSS severity","points":5.04}]},"vendorSlug":"kimai","affectedVersions":[{"vendor":"kimai","product":"kimai","versions":["< 2.1.0"]}],"affected":[{"ecosystem":"Packagist","package":"kimai/kimai","vulnerableRanges":["<2.1.0"],"patched":["2.1.0"],"from":["GHSA-fjhg-96cp-6fcw"],"provenance":"source"}],"summary":{"text":"Kimai, a web-based multi-user time-tracking application, contains a server-side template injection flaw in versions prior to 2.1.0, arising from its handling of custom Twig templates during PDF and HTML rendering. An attacker with high-privilege authenticated access and network reach to the application can upload a specially crafted Twig file, which can be escalated to remote code execution, with no user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:16:00Z"},"euvd":{"id":"EUVD-2023-2726","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2019-25317","published":"2026-02-11","fixed":"1.1","kev":false},{"cve":"CVE-2020-19825","published":"2023-02-15","fixed":"1.1","kev":false},{"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,"link":{"from":"CVE-2023-46245","to":"CVE-2024-29200","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:kimai/kimai","fromFixed":"2.1.0","toFixed":"2.13.0","daysApart":149}]}},{"cve":"CVE-2024-4596","published":"2024-05-07","fixed":"2.16.0","kev":false},{"cve":"CVE-2026-23626","published":"2026-01-18","fixed":"2.46.0","kev":false}],"package":"Packagist:kimai/kimai"}}