CVE-2023-46245
HIGH 7.2CVSS 3.1Kimai (Authenticated) SSTI to RCE by Uploading a Malicious Twig File
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.
- Published
- 31 Oct 2023
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-1336
- Also known as
- GHSA-fjhg-96cp-6fcw
- Sources
- NVDJSONOSV GHSA-fjhg-96cp-6fcwJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | kimai | kimaicpe:2.3:a:kimai:kimai:*:*:*:*:*:*:*:* |
<= 2.10 | |
| OSV | Packagist | kimai/kimai | < 2.1.0 | 2.1.0 |
References
- https://github.com/kimai/kimai/commit/38e37f1c2e91e1acb221ec5c13f11b735bd50ae4 · WEB
- https://github.com/kimai/kimai/security/advisories/GHSA-fjhg-96cp-6fcw · Exploit, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-46245 · ADVISORY
- https://github.com/kimai/kimai · PACKAGE
History
- 25 Nov 2026 20:37 UTC · NVD: first stored (published 31 Oct 2023)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 30 Oct 2023)