CVE-2026-42267 Kimai: Formula Injection via tag names in XLSX export
MediumCVSS 5.4
EPSS 0.33%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
- Technology
- PHP
Description
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| kimai | = >= 2.27.0, < 2.54.0; >= 2.27.0, < 2.54.0 | 2.54.0 | Fixed |
| kimai(Packagist) | = 2.27.0; = 2.28.0; = 2.29.0; = 2.30.0 +27 more | 2.54.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| kimai(Packagist) | >= 2.27.0, < 2.54.0 | 2.54.0 |
| kimai(Packagist) | = 2.27.0 | No fix listed |
| kimai(Packagist) | = 2.28.0 | No fix listed |
| kimai(Packagist) | = 2.29.0 | No fix listed |
| kimai(Packagist) | = 2.30.0 | No fix listed |
| kimai(Packagist) | = 2.31.0 | No fix listed |
| kimai(Packagist) | = 2.32.0 | No fix listed |
| kimai(Packagist) | = 2.33.0 | No fix listed |
| kimai(Packagist) | = 2.34.0 | No fix listed |
| kimai(Packagist) | = 2.35.0 | No fix listed |
| kimai(Packagist) | = 2.35.1 | No fix listed |
| kimai(Packagist) | = 2.36.0 | No fix listed |
| kimai(Packagist) | = 2.36.1 | No fix listed |
| kimai(Packagist) | = 2.37.0 | No fix listed |
| kimai(Packagist) | = 2.38.0 | No fix listed |
| kimai(Packagist) | = 2.39.0 | No fix listed |
| kimai(Packagist) | = 2.40.0 | No fix listed |
| kimai(Packagist) | = 2.41.0 | No fix listed |
| kimai(Packagist) | = 2.42.0 | No fix listed |
| kimai(Packagist) | = 2.43.0 | No fix listed |
| kimai(Packagist) | = 2.44.0 | No fix listed |
| kimai(Packagist) | = 2.45.0 | No fix listed |
| kimai(Packagist) | = 2.46.0 | No fix listed |
| kimai(Packagist) | = 2.47.0 | No fix listed |
| kimai(Packagist) | = 2.48.0 | No fix listed |
Show 8 more
| Product | Affected versions | Fixed in |
|---|---|---|
| kimai(Packagist) | = 2.49.0 | No fix listed |
| kimai(Packagist) | = 2.50.0 | No fix listed |
| kimai(Packagist) | = 2.51.0 | No fix listed |
| kimai(Packagist) | = 2.52.0 | No fix listed |
| kimai(Packagist) | = 2.53.0 | No fix listed |
| kimai | = >= 2.27.0, < 2.54.0 | No fix listed |
| kimai(Packagist) | >= 2.27.0, <= 2.53.0 | No fix listed |
| kimai | >= 2.27.0, < 2.54.0 | 2.54.0 |
References
- https://github.com/kimai/kimai/security/advisories/GHSA-3xc2-h5r3-wv3r exploit mitigation vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- https://github.com/kimai/kimai/releases/tag/2.54.0 product release-notes
- github.com