CVE 4.1 MEDIUM

Kimai: Arbitrary file read in invoice PDF renderer (admin)_CVE-2026-44298

4.1 / 10
MEDIUM
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:N/A:N

Description

Kimai is an open-source time tracking application. From version 2.32.0 to before version 2.56.0, users with the role System-Admin (ROLE_SYSTE_ADMIN) and the permission upload_invoice_template can upload PDF invoice templates, which can call pdfContext.setOption('associated_files', ...) inside the sandboxed Twig render. This is forwarded to mPDF's SetAssociatedFiles(), whose writer calls file_get_contents($entry['path']) during PDF output and embeds the bytes as a FlateDecode stream in the PDF. Any file readable by the PHP worker is returned to the attacker inside the rendered invoice. This issue has been patched in version 2.56.0.

Basic Information

ID CVE-2026-44298
Source GitHub_M
Published May 8, 2026 at 03:32

Affected Product

Vendor kimai
Product kimai
Version >= 2.32.0, < 2.56.0
Affected Versions kimai kimai >= 2.32.0, < 2.56.0

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.