{"id":"CVE-2026-44298","aliases":["GHSA-h5fh-7hwr-97mw"],"url":"https://o3.security/vulnerability/CVE-2026-44298","summary":"Kimai: Arbitrary file read in invoice PDF renderer (admin)","details":"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.","published":"2026-05-08T03:32:06.672Z","modified":"2026-08-05T03:47:34.179516105Z","cvss":{"score":4.1,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:N/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Packagist","name":"kimai/kimai","fixedVersion":"2.56"}],"fix":null,"references":[{"type":"WEB","url":"https://github.com/kimai/kimai/releases/tag/2.56.0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/44xxx/CVE-2026-44298.json"},{"type":"ADVISORY","url":"https://github.com/kimai/kimai/security/advisories/GHSA-h5fh-7hwr-97mw"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-44298"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-05T03:47:34.179516105Z"}}