Improperly Controlled Modification of Dynamically-Determined Object Attributes in kimai2 - CVE-2026-40486

 

Improperly Controlled Modification of Dynamically-Determined Object Attributes in kimai2 - CVE-2026-40486

Published: April 14, 2026


Vulnerability identifier: #VU125973
CSH Severity: Low
CVSS v4.0: 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/E:U/U:Clear
CVE-ID: CVE-2026-40486
CWE-ID: CWE-915
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Kevin Papst
Affected software:
kimai2

Detailed vulnerability description

The vulnerability allows a remote user to modify restricted financial attributes on their profile.

The vulnerability exists due to improperly controlled modification of dynamically-determined object attributes in src/API/UserController.php::updateUserPreference when handling PATCH requests to /api/users/{id}/preferences. A remote user can send a specially crafted request to modify restricted financial attributes on their profile.

The standard GUI flow marks these preferences as disabled for users without the hourly-rate role, but the API endpoint ignores that flag and persists the changes.


How to mitigate CVE-2026-40486

Install security update from vendor's website.

Sources