{"id":"CVE-2026-42267","state":"PUBLISHED","title":"Kimai: Formula Injection via tag names in XLSX export","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.","publishedAt":"2026-05-08T03:28:52.226Z","updatedAt":"2026-05-08T12:58:12.770Z","severity":{"score":5.4,"label":"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","source":"GitHub_M"},"assigner":"GitHub_M","products":["kimai kimai"],"affected":[{"vendor":"kimai","product":"kimai","versions":[{"version":">= 2.27.0, < 2.54.0","status":"affected"}]}],"references":["https://github.com/kimai/kimai/security/advisories/GHSA-3xc2-h5r3-wv3r","https://github.com/kimai/kimai/releases/tag/2.54.0"],"weaknesses":["CWE-1236"],"ingestedAt":"2026-10-29T20:11:57.932Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/42xxx/CVE-2026-42267.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-42267","state":"PUBLISHED","datePublished":"2026-05-08T03:28:52.226Z","dateUpdated":"2026-05-08T12:58:12.770Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-04-26T11:53:27.706Z"},"containers":{"cna":{"title":"Kimai: Formula Injection via tag names in XLSX export","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"kimai","product":"kimai","versions":[{"version":">= 2.27.0, < 2.54.0","status":"affected"}]}],"references":[{"url":"https://github.com/kimai/kimai/security/advisories/GHSA-3xc2-h5r3-wv3r","name":"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","name":"https://github.com/kimai/kimai/releases/tag/2.54.0","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"LOW","userInteraction":"ACTIVE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":5.4,"baseSeverity":"MEDIUM","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-1236","lang":"en","description":"CWE-1236: Improper Neutralization of Formula Elements in a CSV File","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-05-08T03:28:52.226Z"},"source":{"advisory":"GHSA-3xc2-h5r3-wv3r","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/kimai/kimai/security/advisories/GHSA-3xc2-h5r3-wv3r","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-05-08T12:57:49.978866Z","id":"CVE-2026-42267","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-05-08T12:58:12.770Z"}}]}}}