Skip to content
OpenAdvisories
Medium · 6.8 CVE-2026-23626 EUVD-2026-3403GHSA-jg2j-2w24-54cg

Kimai Vulnerable to Authenticated Server-Side Template Injection (SSTI)

Published Jan 18, 2026 · Updated Jan 20, 2026 · 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.

Affected products

VendorProductAffectedFixed
kimai kimai < 2.46.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist kimai/kimai < 2.46.0 2.46.0 GHSA-jg2j-2w24-54cg

References