{"id":"CVE-2026-44298","published":"2026-05-08T03:32:06Z","modified":"2026-05-08T14:06:31Z","title":"Kimai: Arbitrary file read in invoice PDF renderer (admin)","vendor":"kimai","product":"kimai","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.1,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00417,"percentile":0.2773,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/kimai/kimai/security/advisories/GHSA-h5fh-7hwr-97mw","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/kimai/kimai/releases/tag/2.56.0","tags":["x_refsource_MISC"]}],"priority":{"score":8.4,"factors":[{"name":"EPSS percentile","points":5.55},{"name":"CVSS severity","points":2.87}]},"vendorSlug":"kimai","affectedVersions":[{"vendor":"kimai","product":"kimai","versions":[">= 2.32.0, < 2.56.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-05-08T14:06:21.498796Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"kimai/kimai","vulnerableRanges":[">=2.32.0, <2.56"],"patched":["2.56"],"from":["GHSA-h5fh-7hwr-97mw"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-28517","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-40486","published":"2026-04-17","fixed":"2.53.0","kev":false},{"cve":"CVE-2026-41498","published":"2026-05-08","fixed":"2.54.0","kev":false,"link":{"from":"CVE-2026-41498","to":"CVE-2026-44298","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:kimai/kimai","fromFixed":"2.54.0","toFixed":"2.56","daysApart":0}]}},{"cve":"CVE-2026-42267","published":"2026-05-08","fixed":"2.54.0","kev":false},{"cve":"CVE-2026-44298","published":"2026-05-08","fixed":"2.56","kev":false},{"cve":"CVE-2026-52819","published":"2026-09-15","fixed":"2.57.0","kev":false},{"cve":"CVE-2026-52820","published":"2026-09-15","fixed":"2.57.0","kev":false},{"cve":"CVE-2026-52821","published":"2026-09-15","fixed":"2.57.0","kev":false}],"package":"Packagist:kimai/kimai"}}