CVE-2026-44298: medium-severity vulnerability in kimai
Kimai: Arbitrary file read in invoice PDF renderer (admin)
Published
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
No sign of exploitation. No public exploitation artifact known so far.
Kimai allows administrators with specific permissions to upload malicious PDF invoice templates that can read any file accessible to the web server and embed it in generated PDFs. This lets attackers extract sensitive information like configuration files or credentials.
A path traversal vulnerability (CWE-22) exists in Kimai's PDF invoice renderer where authenticated users with ROLE_SYSTE_ADMIN and upload_invoice_template permission can inject arbitrary file paths via Twig's pdfContext.setOption() in sandboxed templates. The mPDF library then executes file_get_contents() on attacker-controlled paths during PDF generation, allowing exfiltration of files readable by the PHP process.
In the same product, most dangerous first.