{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:kimai:kimai:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "2.27.0"
              },
              {
                "fixed": "2.54.0"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "CPE_RANGE",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "4332ef95a2074a4adcc42465c46328f240d66a66"
            },
            {
              "fixed": "d456cd3ce2ec5d2599d6cce9490f01f67332d77f"
            }
          ],
          "repo": "https://github.com/kimai/kimai",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-3xc2-h5r3-wv3r"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-1236"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42267.json"
  },
  "details": "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 \u003cf\u003eSUM(54+51)\u003c/f\u003e into the XLSX archive. Excel evaluates the formula when the file is opened. This issue has been patched in version 2.54.0.",
  "id": "CVE-2026-42267",
  "modified": "2026-07-15T01:48:52.676809776Z",
  "published": "2026-05-08T03:28:52.226Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/kimai/kimai/releases/tag/2.54.0"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42267.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/kimai/kimai/security/advisories/GHSA-3xc2-h5r3-wv3r"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-42267"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Kimai: Formula Injection via tag names in XLSX export"
}