# CVE-2026-42267: Kimai: Formula Injection via tag names in XLSX export

- Severity: Medium 5.4 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:P`
- 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.33%, higher than 19% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-05T20:53:38.000Z
- Modified: 2026-11-11T23:10:00.263Z
- Also known as: GHSA-3xc2-h5r3-wv3r
- Weaknesses: CWE-1236
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- kimai kimai: >= 2.27.0, < 2.54.0; from 2.27.0 before 2.54.0
- kimai/kimai (Packagist): from 2.27.0 before 2.54.0

## Every score

- GitHub_M: CVSS:4.0 5.4 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:P`
- GitHub: CVSS:3.1 5.7 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:P`
- NVD: CVSS:3.1 5.7 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N`

## References

- <https://github.com/kimai/kimai/security/advisories/GHSA-3xc2-h5r3-wv3r> (exploit, mitigation, vendor-advisory, web)
- <https://github.com/kimai/kimai/releases/tag/2.54.0> (product, release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-42267> (advisory)
- <https://github.com/kimai/kimai> (package)

## Sources

- CVE List: [CVE-2026-42267](https://www.cve.org/CVERecord?id=CVE-2026-42267), CVE Terms of Use, modified 2026-05-08
- GitHub Advisory Database: [GHSA-3xc2-h5r3-wv3r](https://github.com/advisories/GHSA-3xc2-h5r3-wv3r), CC-BY-4.0, modified 2026-05-14
- NVD: [CVE-2026-42267](https://nvd.nist.gov/vuln/detail/CVE-2026-42267), Public domain, modified 2026-11-11

---

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