Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-42267

MEDIUM 5.4EPSS 19%

Kimai: Formula Injection via tag names in XLSX export

Also known as GHSA-3xc2-h5r3-wv3r

Mitigation

  • Upgrade kimai/kimai to 2.54.0 or later.

Who should check

  • Projects that depend on Packagist package kimai/kimai (>= 2.27.0, < 2.54.0)
  • Anyone running kimai >= 2.27.0, < 2.54.0

Vulnerability facts

Affected
kimai/kimai >= 2.27.0, < 2.54.0
Fixed in
2.54.0
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, login needed
CVSS
5.4 (v4.0, CNA)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:POpen in CVSS calculator
Show all 12 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Attack requirements: None
  • Privileges required: Low
  • User interaction: Active
  • Confidentiality impact: None
  • Integrity impact: High
  • Availability impact: None
  • Confidentiality impact on other systems: None
  • Integrity impact on other systems: None
  • Availability impact on other systems: None
  • Exploit maturity: Proof of concept
EPSS
0.33% chance of exploitation in 30 days (percentile 19, 2026-11-26)
CWE
CWE-1236
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
Packagist kimai/kimai>= 2.27.0, < 2.54.02.54.0osv
kimai>= 2.27.0, < 2.54.0—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-42267. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-42267.md
Affected: kimai/kimai >= 2.27.0, < 2.54.0
Fixed in: 2.54.0

Steps:
1. Search this machine and project for kimai/kimai (Packagist), kimai: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2026-42267 being exploited?

There is no confirmed exploitation: CVE-2026-42267 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.33% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2026-42267?

Medium: CVSS 5.4 (v4.0, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work.

Which versions are affected by CVE-2026-42267?

kimai/kimai >= 2.27.0, < 2.54.0.

Is there a fix for CVE-2026-42267?

Yes. Fixed in 2.54.0. Upgrade kimai/kimai to 2.54.0 or later.

How do I check if I'm affected by CVE-2026-42267?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors