CVE-2026-44298
MEDIUMKimai: Arbitrary file read in invoice PDF renderer (admin)
Title source: cnaDescription
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.
References (2)
Core 2
Core References
X_Refsource_Confirm x_refsource_confirm
https://github.com/kimai/kimai/security/advisories/GHSA-h5fh-7hwr-97mw
X_Refsource_Misc x_refsource_misc
https://github.com/kimai/kimai/releases/tag/2.56.0
Scores
CVSS v3
4.1
EPSS
0.0028
EPSS Percentile
19.3%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:N/A:N
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-22
Status
published
Products (3)
kimai/kimai
2.32.0 - 2.56Packagist
kimai/kimai
2.32.0 - 2.56.0
kimai/kimai
>= 2.32.0, < 2.56.0
Published
May 08, 2026
Tracked Since
May 08, 2026