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

- Severity: Medium 4.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 21% of CVEs (2026-12-01)
- Published: 2026-05-08T03:32:06.672Z
- Modified: 2026-11-11T23:10:00.263Z
- Also known as: GHSA-h5fh-7hwr-97mw
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- kimai kimai: >= 2.32.0, < 2.56.0; from 2.32.0 before 2.56.0
- kimai/kimai (Packagist): from 2.32.0 before 2.56

## Every score

- GitHub_M: CVSS:3.1 4.1 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:N/A:N`
- GitHub: CVSS:3.1 4.1 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:N/A:N`
- NVD: CVSS:3.1 4.9 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/kimai/kimai/security/advisories/GHSA-h5fh-7hwr-97mw> (mitigation, vendor-advisory, web)
- <https://github.com/kimai/kimai/releases/tag/2.56.0> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-44298> (advisory)
- <https://github.com/kimai/kimai> (package)

## Sources

- CVE List: [CVE-2026-44298](https://www.cve.org/CVERecord?id=CVE-2026-44298), CVE Terms of Use, modified 2026-05-08
- GitHub Advisory Database: [GHSA-h5fh-7hwr-97mw](https://github.com/advisories/GHSA-h5fh-7hwr-97mw), CC-BY-4.0, modified 2026-05-08
- NVD: [CVE-2026-44298](https://nvd.nist.gov/vuln/detail/CVE-2026-44298), Public domain, modified 2026-11-11

---

Page: https://cve.day/CVE-2026-44298 · Whole record: https://cve.day/CVE-2026-44298.json · Rebuilt by cve.day 2026-11-25T22:59:20.955Z
