{"id":"CVE-2026-42267","published":"2026-05-08T03:28:52Z","modified":"2026-05-08T12:58:12Z","title":"Kimai: Formula Injection via tag names in XLSX export","vendor":"kimai","product":"kimai","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.4,"severity":"MEDIUM","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0022,"percentile":0.12817,"provenance":"source"},"cwes":[{"id":"CWE-1236","name":"Improper Neutralization of Formula Elements in a CSV File"}],"references":[{"url":"https://github.com/kimai/kimai/security/advisories/GHSA-3xc2-h5r3-wv3r","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/kimai/kimai/releases/tag/2.54.0","tags":["x_refsource_MISC"]}],"priority":{"score":6.3,"factors":[{"name":"EPSS percentile","points":2.56},{"name":"CVSS severity","points":3.78}]},"vendorSlug":"kimai","affectedVersions":[{"vendor":"kimai","product":"kimai","versions":[">= 2.27.0, < 2.54.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-05-08T12:57:49.978866Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"kimai/kimai","vulnerableRanges":[">=2.27.0, <2.54.0"],"patched":["2.54.0"],"from":["GHSA-3xc2-h5r3-wv3r"],"provenance":"source"}],"summary":{"text":"Kimai's XLSX timesheet export does not neutralise formula syntax in tag names, so a tag created with a leading \"=\" string is written into the spreadsheet as a live formula. An attacker with a regular user account (network access, low privileges) can create such a tag and assign it to a timesheet; the formula then executes in Excel when an administrator opens the exported file, which requires user interaction and affects versions from 2.27.0 up to, but not including, 2.54.0.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:17:42Z"},"euvd":{"id":"EUVD-2026-28506","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-40479","published":"2026-04-17","fixed":"2.53.0","kev":false},{"cve":"CVE-2026-40486","published":"2026-04-17","fixed":"2.53.0","kev":false,"link":{"from":"CVE-2026-40486","to":"CVE-2026-42267","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:kimai/kimai","fromFixed":"2.53.0","toFixed":"2.54.0","daysApart":21}]}},{"cve":"CVE-2026-41498","published":"2026-05-08","fixed":"2.54.0","kev":false},{"cve":"CVE-2026-42267","published":"2026-05-08","fixed":"2.54.0","kev":false},{"cve":"CVE-2026-44298","published":"2026-05-08","fixed":"2.56","kev":false},{"cve":"CVE-2026-52819","published":"2026-09-15","fixed":"2.57.0","kev":false},{"cve":"CVE-2026-52820","published":"2026-09-15","fixed":"2.57.0","kev":false}],"package":"Packagist:kimai/kimai"}}