#VU125973 Improperly Controlled Modification of Dynamically-Determined Object Attributes in kimai2 - CVE-2026-40486
Published: April 14, 2026
kimai2
Kevin Papst
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.