# CVE-2026-23626: Kimai Vulnerable to Authenticated Server-Side Template Injection (SSTI)

- Severity: Medium 6.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.46%, higher than 41% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-01-18T22:45:35.942Z
- Modified: 2026-06-17T10:21:51.743Z
- Also known as: GHSA-jg2j-2w24-54cg
- Weaknesses: CWE-1336
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- kimai kimai: < 2.46.0; before 2.46.0
- kimai/kimai (Packagist): before 2.46.0

## Every score

- GitHub_M: CVSS:3.1 6.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N`
- GitHub: CVSS:3.1 6.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N`

## References

- <https://github.com/kimai/kimai/security/advisories/GHSA-jg2j-2w24-54cg> (exploit, mitigation, vendor-advisory, web)
- <https://github.com/kimai/kimai/pull/5757> (issue-tracking, web)
- <https://github.com/kimai/kimai/commit/6a86afb5fd79f6c1825060b87c09bd1909c2e86f> (patch, web)
- <https://github.com/kimai/kimai/releases/tag/2.46.0> (product, release-notes, 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)

## Sources

- CVE List: [CVE-2026-23626](https://www.cve.org/CVERecord?id=CVE-2026-23626), CVE Terms of Use, modified 2026-01-20
- GitHub Advisory Database: [GHSA-jg2j-2w24-54cg](https://github.com/advisories/GHSA-jg2j-2w24-54cg), CC-BY-4.0, modified 2026-02-03
- NVD: [CVE-2026-23626](https://nvd.nist.gov/vuln/detail/CVE-2026-23626), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-23626 · Whole record: https://cve.day/CVE-2026-23626.json · Rebuilt by cve.day 2026-11-25T22:59:12.918Z
