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: 5.3 [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]
CVE-ID: CVE-2026-40486
CWE-ID: CWE-915
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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.


Affected software

kimai2

How to mitigate CVE-2026-40486

Install security update from vendor's website.

kimai2 - update to 2.53.0

External References

Related Security Bulletins