kimai/kimai is vulnerable to SQL Injection
31
CVE Score
Low
SQL Injection
The SearchHelper class interpolates a user-controlled meta-field name from a search term directly into a Doctrine Query Language query without sanitization. When a search term is formatted as FIELDNAME:VALUE, the FIELDNAME portion is used as-is via string concatenation to build DQL subquery aliases. Any authenticated user can inject special characters to trigger query errors across search endpoints, manipulate the DQL string, and in development mode leak DQL structure and schema details through error responses. The fix generates the DQL identifier internally so no user input reaches the query string.
Upgrade the kimai/kimai library to the patch version.
You are affected if you are using a version that falls within the vulnerable range.
0.0.1 - 2.59.0
Fixed in 2.60.0kimai/kimai is vulnerable to SQL Injection in versions 0.0.1 - 2.59.0.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.