CVE-2026-44298

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

Configuration 1 (hide)

cpe:2.3:a:kimai:kimai:*:*:*:*:*:*:*:*

History

11 Nov 2026, 23:10

Type Values Removed Values Added
Summary
  • (es) Kimai es una aplicación de seguimiento de tiempo de código abierto. Desde la versión 2.32.0 hasta antes de la versión 2.56.0, los usuarios con el rol System-Admin (ROLE_SYSTE_ADMIN) y el permiso upload_invoice_template pueden subir plantillas de factura PDF, que pueden llamar a pdfContext.setOption(’associated_files’, ...) dentro del renderizado Twig en entorno aislado. Esto se reenvía a SetAssociatedFiles() de mPDF, cuyo escritor llama a file_get_contents ( $entry[’path’]) durante la salida del PDF y embebe los bytes como un flujo FlateDecode en el PDF. Cualquier archivo legible por el trabajador de PHP es devuelto al atacante dentro de la factura renderizada. Este problema ha sido parcheado en la versión 2.56.0.

08 May 2026, 20:01

Type Values Removed Values Added
References () https://github.com/kimai/kimai/releases/tag/2.56.0 - () https://github.com/kimai/kimai/releases/tag/2.56.0 - Release Notes
References () https://github.com/kimai/kimai/security/advisories/GHSA-h5fh-7hwr-97mw - () https://github.com/kimai/kimai/security/advisories/GHSA-h5fh-7hwr-97mw - Mitigation, Vendor Advisory
CPE cpe:2.3:a:kimai:kimai:*:*:*:*:*:*:*:*
First Time Kimai
Kimai kimai

08 May 2026, 04:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-05-08 04:16

Updated : 2026-11-11 23:10


NVD link : CVE-2026-44298

Mitre link : CVE-2026-44298

CVE.ORG link : CVE-2026-44298


JSON object : View

Products Affected

kimai

  • kimai
CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')