Skip to main content
← All vulnerabilities
CVE-2026-44298GHSA-H5FH-7HWR-97MW

Kimai: Arbitrary file read in invoice PDF renderer (admin)

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.56.0, 2.56
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • kimai kimai

    From 2.32.0 · fixed in 2.56.0

  • kimai/kimaiPackagist

    From 2.32.0 · fixed in 2.56

References 2

GitHub · kimai/kimai