CVE-2026-23626
MEDIUM 6.8CVSS 3.1Kimai has an Authenticated Server-Side Template Injection (SSTI)
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.
- Published
- 18 Jan 2026
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-1336
- Also known as
- GHSA-jg2j-2w24-54cg
- Sources
- NVDJSONOSV GHSA-jg2j-2w24-54cgJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.8 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.8 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | kimai | kimaicpe:2.3:a:kimai:kimai:*:*:*:*:*:*:*:* |
< 2.46.0 | 2.46.0 |
| OSV | Packagist | kimai/kimai | < 2.46.0 | 2.46.0 |
References
- https://github.com/kimai/kimai/commit/6a86afb5fd79f6c1825060b87c09bd1909c2e86f · Patch, WEB
- https://github.com/kimai/kimai/pull/5757 · Issue Tracking, WEB
- https://github.com/kimai/kimai/releases/tag/2.46.0 · Product, Release Notes, WEB
- https://github.com/kimai/kimai/security/advisories/GHSA-jg2j-2w24-54cg · Exploit, Mitigation, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-23626 · ADVISORY
- https://github.com/kimai/kimai · PACKAGE
- https://twig.symfony.com/doc/3.x/api.html#sandbox-extension · WEB
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 18 Jan 2026)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 20 Jan 2026)