Kimai: Arbitrary file read in invoice PDF renderer (admin)
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-22 and the CVSS impact.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| kimai | kimai | 2.32.0 to before 2.56.0 | 2.56.0 | Patch available | CNA |
| — | kimai/kimai (Packagist) | 2.32.0 to before 2.56 | 2.56 | Patch available | GHSA-h5fh-7hwr-97mw |
- kimai Vendorkimai Affected 2.32.0 to before 2.56.0 Fixed in 2.56.0 Patch available CNA
- kimai/kimai (Packagist) Vendor— Affected 2.32.0 to before 2.56 Fixed in 2.56 Patch available GHSA-h5fh-7hwr-97mw
Remediation
- Fix · CNA kimai (kimai) Fixed in 2.56.0
- Fix · GHSA-h5fh-7hwr-97mw kimai/kimai (Packagist) Fixed in 2.56 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-44298
- 2026-10-03 Alias added: GHSA-h5fh-7hwr-97mw
References
More Kimai vulnerabilities
- TI-2023-30240 Kimai 1.30.10 SameSite Cookie Vulnerability Session Hijacking CVSS 4.0HIGH 8.5
- TI-2026-22900 Kimai: API invoice endpoint missing customer-level access control (IDOR) CVSS 3.1MEDIUM 6.5
- TI-2026-30580 Kimai: Formula Injection via tag names in XLSX export CVSS 4.0MEDIUM 5.4
- TI-2026-29230 Kimai: Stored XSS via Incomplete HTML Attribute Escaping in Team Member Widget CVSS 3.1MEDIUM 5.4
- TI-2019-15371 Kimai 2- persistent cross-site scripting (XSS) CVSS 4.0MEDIUM 5.1
- TI-2026-29237 Kimai's User Preferences API allows standard users to modify restricted attributes: hourly_rate, internal_rate CVSS 3.1MEDIUM 4.3
Sources
- CVE-2026-44298 · CVE Program
- CVE-2026-44298 · NVD
- FIRST EPSS
- GHSA-h5fh-7hwr-97mw · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences