CVE-2026-42267
MEDIUMKimai: Formula Injection via tag names in XLSX export
Title source: cnaDescription
Kimai is an open-source time tracking application. From version 2.27.0 to before version 2.54.0, any ROLE_USER can create a tag with a formula string as its name (e.g. =SUM(54+51)) via POST /api/tags and assign it to a timesheet. When an admin exports timesheets to XLSX, ArrayFormatter.formatValue() joins tag names with implode() and returns the result unchanged. OpenSpout promotes any =-prefixed string to a FormulaCell, writing <f>SUM(54+51)</f> into the XLSX archive. Excel evaluates the formula when the file is opened. This issue has been patched in version 2.54.0.
References (2)
Core 2
Core References
X_Refsource_Confirm x_refsource_confirm
https://github.com/kimai/kimai/security/advisories/GHSA-3xc2-h5r3-wv3r
X_Refsource_Misc x_refsource_misc
https://github.com/kimai/kimai/releases/tag/2.54.0
Scores
CVSS v3
5.7
EPSS
0.0022
EPSS Percentile
12.4%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
no
Technical Impact
partial
Details
CWE
CWE-1236
Status
published
Products (3)
kimai/kimai
2.27.0 - 2.54.0Packagist
kimai/kimai
2.27.0 - 2.54.0
kimai/kimai
>= 2.27.0, < 2.54.0
Published
May 08, 2026
Tracked Since
May 08, 2026