Skip to main content

Kimai CVE-2026-52823

| EUVDEUVD-2026-78404 MEDIUM
Cross-Site Request Forgery (CSRF) (CWE-352)
2026-07-14 https://github.com/kimai/kimai GHSA-r8vr-m544-qh4h
5.3
CVSS 4.0 · Vendor: https://github.com/kimai/kimai
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Attacker enumerates or guesses victim's timesheet ID
  2. Delivery
    Embed crafted GET URL in malicious page or email
  3. Exploit
    Victim visits attacker page while authenticated to Kimai
  4. Execution
    Browser automatically sends credentialed GET request
  5. Persist
    Kimai processes stop/restart without CSRF validation
  6. Impact
    Timesheet state silently altered, corrupting records

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V3 - Web Frontend Security Anti-CSRF tokens, SameSite cookies
MITRE ATT&CK

1 technique across 1 tactic: Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The victim must be actively authenticated to Kimai with a valid browser session at the time of the attack - unauthenticated users cannot be targeted. The attacker must know or enumerate a valid timesheet ID belonging to the victim; for the restart operation, the timesheet ID must correspond to a historical (completed) entry, not an active one. No special Kimai configuration or non-default deployment mode is required - the vulnerable GET routes existed in the default application for all versions up to 2.57.0. The attack is limited to timesheet data manipulation and cannot escalate to account takeover, code execution, or data exfiltration. Cross-origin isolation headers (e.g., SameSite=Strict cookies or CORP/COEP) would independently block the attack if already deployed, but these are not default in Kimai.

Impact

No CVSS vector has been assigned by NVD or the vendor, so all metric assessments are independently inferred from the description and CWE. The attack is network-reachable and low-complexity once the victim visits an attacker page, but user interaction is required (UI:R in CVSS 3.1 terms). The attacker needs no account privileges themselves - however, the victim must have an active Kimai session, and the attacker must know or guess a valid timesheet ID, which slightly elevates practical complexity. EPSS data is unavailable. There is no CISA KEV listing. A PoC was submitted during responsible disclosure but removed before publication, so exploit technique is known to researchers but not publicly circulated. Real-world priority is moderate: the attack barrier is low for an attacker who can serve a web page to a logged-in Kimai user, but the blast radius is limited to timesheet data manipulation rather than credential theft, code execution, or data exfiltration. Organizations relying on Kimai for billing, payroll, or auditing workflows face a higher effective business risk than the absence of a CVSS score might suggest.

Exploit ScenarioDerived

An attacker identifies a Kimai instance accessible to a target employee and embeds an <img src='https://kimai.company.org/api/timesheets/42/stop'> tag in a phishing email or malicious website. When the employee opens the page while their Kimai session is active, the browser silently issues a credentialed GET request that stops their running timesheet, causing lost time records or billing discrepancies without any visible indication to the victim. A PoC demonstrating this technique was submitted during the responsible disclosure process but was removed from public access prior to advisory publication.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 14, 2026

Cross-site request forgery in Kimai's timesheet API allows an unauthenticated attacker to trigger unauthorized state changes against any logged-in victim by embedding malicious GET requests in attacker-controlled pages. Kimai versions up to and including 2.57.0 expose the stop and restart timesheet operations as HTTP GET routes, which browsers will follow automatically using the victim's active session cookie - no CSRF token is required. Impact is limited to timesheet data integrity and availability (corrupted time records, unauthorized entries, billing distortion), not system compromise; no public exploit is confirmed at time of analysis, and no active exploitation has been reported by CISA KEV.

RemediationAI

Upgrade Kimai to version 2.58.0 or later; this release removes the vulnerable GET routes for stop and restart, restricting both operations exclusively to PATCH requests and eliminating the CSRF attack surface by design. The vendor advisory at https://www.kimai.org/en/security/ghsa-r8vr-m544-qh4h confirms this fix. If immediate upgrade is not possible, configure a reverse proxy or WAF to block GET requests matching the patterns /api/timesheets/*/stop and /api/timesheets/*/restart - note this may break any third-party integrations or scripts that currently rely on the GET form of these endpoints. Additionally, enforcing SameSite=Strict on session cookies at the web server or application layer would prevent cross-origin GET requests from carrying the session, though this is a defense-in-depth measure and not a substitute for patching.

Affected VersionsENISA

kimai < 2.58.0

Affected Packages

composer kimai/kimai fix: 2.58.0
euvd kimai fix: 2.58.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in composer, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Kimai is a PHP-based open-source time tracking application distributed via Composer (pkg:composer/kimai/kimai). The root cause is CWE-352 (Cross-Site Request Forgery): the application reuses the browser session for API calls under /api/* but fails to enforce HTTP method semantics for state-changing operations. Specifically, GET /api/timesheets/{id}/stop and GET /api/timesheets/{id}/restart in src/API/TimesheetController.php perform mutations that should only be triggered by non-idempotent methods (POST/PATCH). Because browsers automatically attach session cookies to GET requests triggered by <img> tags, <a> hrefs, <script> src attributes, or redirects, an attacker page can silently invoke these endpoints without any user consent or CSRF token. The fix in 2.58.0 removes the GET routes entirely, confining both operations to PATCH, which browsers do not invoke passively.

Know when PHP gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/kimai/kimai) PRIMARY 5.3 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
vuln.today AI 5.4 MEDIUM

Attacker needs no privileges (PR:N) but victim must visit a malicious page (UI:R); impact is confined to timesheet data integrity and stopping active tracking, with no confidentiality impact.

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (https://github.com/kimai/kimai).

CVSS VectorVendor: https://github.com/kimai/kimai

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
CVSS changed
Sep 15, 2026 - 11:22 NVD
5.3 (MEDIUM)

DescriptionCVE.org

Summary

Kimai 2.56.0 contains authenticated cross-site request forgery issues in its timesheet state-changing API endpoints. The application reuses the browser's existing session for /api/* requests, and both the stop and restart operations are exposed through GET and PATCH routes that directly modify business state.

As a result, an attacker can trick a logged-in user into visiting a malicious page and cause unauthorized timesheet actions without the victim's consent. Depending on the endpoint, this can stop a running timesheet or create and start a new one from historical data.

Details

The issue affects at least the following API routes:

  • GET /api/timesheets/{id}/stop
  • GET /api/timesheets/{id}/restart

Both routes are non-read-only operations but are still exposed as GET. In src/API/TimesheetController.php.

*A PoC was provided, but removed for security reasons.*

Impact

This vulnerability allows an attacker to trigger unauthorized business-state changes as a logged-in victim. In the validated stop case, a running timesheet can be stopped, affecting time tracking integrity and potentially availability of ongoing work tracking. In the restart case, a historical timesheet can be restarted and a new record can be created without the victim's knowledge.

These actions can corrupt time records, distort billing and reporting, interfere with approvals or audits, and create persistent database-side side effects. Because exploitation requires only that the victim visit a malicious page while authenticated, the attack barrier is low.

Solution

The GET routes were removed, both stop and restart are only available via PATCH.

See https://www.kimai.org/en/security/ghsa-r8vr-m544-qh4h for more information.

Threat Intelligence Overview

EPSS Score
0.2%
Top 89% exploitable
Prevalence
Low
niche open-source PHP time tracker, limited enterprise footprint
Threat Intel
1
1 source
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Request Forgery exploits the automatic credential inclusion behavior of web browsers.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy