CVE-2026-42267

Source
https://cve.org/CVERecord?id=CVE-2026-42267
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-42267.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-42267
Aliases
Published
2026-05-08T03:28:52.226Z
Modified
2026-07-08T08:13:14.162999686Z
Severity
  • 5.4 (Medium) CVSS_V4 - 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 CVSS Calculator
Summary
Kimai: Formula Injection via tag names in XLSX export
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 <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.

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"
}
References

Affected packages

Git / github.com/kimai/kimai

Affected ranges

Type
GIT
Repo
https://github.com/kimai/kimai
Events
Database specific
{
    "extracted_events": [
        {
            "introduced": "2.27.0"
        },
        {
            "fixed": "2.54.0"
        }
    ],
    "cpe": "cpe:2.3:a:kimai:kimai:*:*:*:*:*:*:*:*",
    "source": [
        "AFFECTED_FIELD",
        "CPE_RANGE",
        "REFERENCES"
    ]
}

Affected versions

2.*
2.27.0
2.28.0
2.29.0
2.30.0
2.31.0
2.32.0
2.33.0
2.34.0
2.35.0
2.35.1
2.36.0
2.36.1
2.37.0
2.38.0
2.39.0
2.40.0
2.41.0
2.42.0
2.43.0
2.44.0
2.45.0
2.46.0
2.47.0
2.48.0
2.49.0
2.50.0
2.51.0
2.52.0
2.53.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-42267.json"