Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. kimai/kimai
  4. ›
  5. CVE-2026-42267

CVE-2026-42267: Kimai vulnerable to formula Injection via tag names in XLSX export

May 5, 2026 (updated May 14, 2026)

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.

References

  • github.com/advisories/GHSA-3xc2-h5r3-wv3r
  • github.com/kimai/kimai/releases/tag/2.54.0
  • github.com/kimai/kimai/security/advisories/GHSA-3xc2-h5r3-wv3r
  • nvd.nist.gov/vuln/detail/CVE-2026-42267

Code Behaviors & Features

Detect and mitigate CVE-2026-42267 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 2.27.0 before 2.54.0

Fixed versions

  • 2.54.0

Solution

Upgrade to version 2.54.0 or above.

Impact 5.7 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-1236: Improper Neutralization of Formula Elements in a CSV File

Source file

packagist/kimai/kimai/CVE-2026-42267.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:46 +0000.