Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as low-privilege Kimai user
-
DeliveryIdentify PATCH /api/users/{id}/preferences endpoint
-
ExploitCraft request with admin-only work-contract fields
-
ExecutionSubmit API request bypassing web UI permission check
-
ImpactWork-contract preferences overwritten without authorization
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires a valid Kimai user account (any role below admin) on an instance running versions 2.61.0 through 2.62.x. The attacker must have network access to the Kimai API endpoint and must target their own user ID - the endpoint path includes {id}, and the missing check concerns self-modification of work-contract fields, not arbitrary user modification. The vulnerability is non-exploitable in Kimai versions prior to 2.61.0 (WorkContractPreferenceSubscriber did not exist) or in version 2.63.0 and later (fixed). Organizations that have disabled API access entirely or restrict it to admin tokens are not affected. |
| Impact | The CVSS 4.0 score of 5.3 (AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N) reflects a moderate risk: the attack is trivially network-accessible with no complexity, but requires an authenticated session (PR:L) and yields only limited integrity impact (VI:L) - specifically self-modification of work-contract fields, not lateral access to other users' data or system-wide integrity. The CWE-862 classification confirms missing authorization rather than an authentication flaw. EPSS data is not present in the input; KEV status is not listed, and no public exploit code is identified. Real-world risk is bounded by the requirement for a valid Kimai user account and the relatively narrow scope of tampered data (employment-contract preferences). Organizations using Kimai for payroll or compliance reporting where work-contract fields carry legal or financial weight should treat this as higher priority than the CVSS score alone suggests. |
| Exploit ScenarioDerived | An authenticated Kimai regular user, aware of the API discrepancy, sends a crafted PATCH /api/users/{id}/preferences HTTP request with their own user ID and work-contract field payloads directly to the API, bypassing the web UI's permission check. The server accepts and applies the changes without validating the contract_other_profile permission. No public proof-of-concept code has been identified, but the attack is trivially reproducible from the API documentation alone. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 02, 2026
Insufficient authorization in Kimai's REST API allows authenticated low-privilege users to modify admin-only work-contract preferences on their own account. The WorkContractPreferenceSubscriber, introduced in version 2.61.0, registers employment-contract fields as writable via PATCH /api/users/{id}/preferences without enforcing the contract_other_profile permission check that protects equivalent fields in the web UI. Any authenticated Kimai user on versions 2.61.0 through 2.62.x can tamper with their own work-contract data - a capability reserved for administrators - by calling the API directly. No public exploit has been identified at time of analysis.
RemediationAI
Upgrade to Kimai 2.63.0, which applies the contract_other_profile permission check to the PATCH /api/users/{id}/preferences API endpoint, closing the discrepancy with the web UI. This is the only confirmed fix per the GitHub Security Advisory GHSA-5mpc-5cg2-g99r. If immediate upgrade is not possible, a compensating control is to restrict API access at the network or WAF layer - specifically blocking PATCH requests to /api/users/*/preferences for non-admin tokens - though this may break legitimate user-preference workflows and requires careful rule scoping. Auditing API request logs for unauthorized writes to work-contract preference fields can help detect prior exploitation.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Kimai is an open-source time-tracking application (cpe:2.3:a:kimai:kimai). The vulnerability is rooted in CWE-862 (Missing Authorization): the WorkContractPreferenceSubscriber component, added in 2.61.0, enables work-contract preference fields at the API layer but omits the permission gate (contract_other_profile) already enforced in the web interface. This creates a classic API-vs-UI authorization inconsistency - the REST endpoint PATCH /api/users/{id}/preferences is more permissive than the corresponding UI workflow, allowing a regular session token to write fields that the application logically restricts to admins.
Know when Kimai 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
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
Network-accessible API, no complexity; PR:L because a valid user session is required; integrity limited to self-modification of work-contract fields only.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
1DescriptionCVE.org
Kimai versions from 2.61.0 before 2.63.0 fail to disable admin-only work-contract preferences for low-privilege users in the PATCH /api/users/{id}/preferences endpoint. Although the web interface gates these employment-contract fields behind the contract_other_profile admin permission, the WorkContractPreferenceSubscriber (introduced in 2.61.0) registers the preferences as enabled without a permission check, so an authenticated regular user can use the API to modify their own admin-only work-contract data. The issue is fixed in 2.63.0 by applying the same permission check to the API endpoint.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Account takeover in Kimai time-tracking software (versions <= 2.57.0) stems from the official Docker image shipping a pu
kimai2 is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'). Rated crit
Kimai is a web-based multi-user time-tracking application. Rated high severity (CVSS 7.2), this vulnerability is remotel
Kimai versions prior to 2.46.0 contain an overly permissive Twig sandbox configuration in the export functionality that
Kimai versions prior to 2.51.0 lack proper customer-level access controls in the invoice API endpoint, allowing any user
Kimai is a web-based multi-user time-tracking application. Rated medium severity (CVSS 6.5), this vulnerability is remot
kimai2 is vulnerable to Cross-Site Request Forgery (CSRF). Rated medium severity (CVSS 6.5), this vulnerability is remot
kimai2 is vulnerable to Cross-Site Request Forgery (CSRF). Rated medium severity (CVSS 6.5), this vulnerability is remot
Authorization bypass in the Kimai open-source time-tracking application before 2.56.0 lets any authenticated user holdin
Kimai 2 contains a persistent cross-site scripting vulnerability that allows attackers to inject malicious scripts into
Password reset links in Kimai before 2.58.0 function as persistent authentication credentials because the LoginLink HMAC
Authorization bypass in Kimai's QuickEntry controller allows authenticated network users holding view_other_timesheet an
EUVD-2026-69917
GHSA-785m-wqjq-q2rm
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB