Kimai: Improper Authorization Through Activity Creation with Preset Project Allows Creation Under Unauthorized Projects (CVE-2026-52821)
Kimai 2.56.0 and earlier contain an improper authorization vulnerability in the activity creation flow when using a preset project. Authenticated users with the generic create_activity permission can create activities under projects they are not authorized to access by directly using the preset project creation route. This allows unauthorized creation of child business objects under other teams' projects, potentially impacting project configurations and downstream business processes. The issue is fixed by adding explicit edit permission checks on the project and customer in the relevant controllers.
AI Analysis
Technical Summary
Kimai versions prior to 2.57.0 have an improper authorization vulnerability (CVE-2026-52821) in the preset-project activity creation flow. Users with the create_activity permission but without access to a specific project can create new Activity objects under that unauthorized project by accessing the preset project creation endpoint directly. The controllers (ActivityController and ProjectController) only check global create permissions but do not verify if the user is allowed to create activities or projects under the specified project or customer. This leads to persistent unauthorized creation of business objects in projects outside the user's authorized scope. The vulnerability is addressed by adding explicit edit permission checks ([IsGranted('edit', 'project')] and [IsGranted('edit', 'customer')]) in the respective controllers.
Potential Impact
An authenticated user with create_activity permission can inject new activities into projects they are not authorized to access. This can pollute other teams' project configurations, influence timesheet selections and rate inheritance, and create conditions for potential downstream business abuse if other users utilize the injected activities. The vulnerability does not allow viewing or editing the unauthorized project directly but enables unauthorized creation of child objects under it.
Mitigation Recommendations
A fix is available in Kimai version 2.57.0 and later, which adds explicit authorization checks to verify if the user has edit permissions on the target project or customer before allowing activity or project creation. Users should upgrade to version 2.57.0 or later to remediate this vulnerability. No additional mitigations are required if the upgrade is applied.
Kimai: Improper Authorization Through Activity Creation with Preset Project Allows Creation Under Unauthorized Projects (CVE-2026-52821)
Description
Kimai 2.56.0 and earlier contain an improper authorization vulnerability in the activity creation flow when using a preset project. Authenticated users with the generic create_activity permission can create activities under projects they are not authorized to access by directly using the preset project creation route. This allows unauthorized creation of child business objects under other teams' projects, potentially impacting project configurations and downstream business processes. The issue is fixed by adding explicit edit permission checks on the project and customer in the relevant controllers.
CVSS v4.0
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Kimai versions prior to 2.57.0 have an improper authorization vulnerability (CVE-2026-52821) in the preset-project activity creation flow. Users with the create_activity permission but without access to a specific project can create new Activity objects under that unauthorized project by accessing the preset project creation endpoint directly. The controllers (ActivityController and ProjectController) only check global create permissions but do not verify if the user is allowed to create activities or projects under the specified project or customer. This leads to persistent unauthorized creation of business objects in projects outside the user's authorized scope. The vulnerability is addressed by adding explicit edit permission checks ([IsGranted('edit', 'project')] and [IsGranted('edit', 'customer')]) in the respective controllers.
Potential Impact
An authenticated user with create_activity permission can inject new activities into projects they are not authorized to access. This can pollute other teams' project configurations, influence timesheet selections and rate inheritance, and create conditions for potential downstream business abuse if other users utilize the injected activities. The vulnerability does not allow viewing or editing the unauthorized project directly but enables unauthorized creation of child objects under it.
Mitigation Recommendations
A fix is available in Kimai version 2.57.0 and later, which adds explicit authorization checks to verify if the user has edit permissions on the target project or customer before allowing activity or project creation. Users should upgrade to version 2.57.0 or later to remediate this vulnerability. No additional mitigations are required if the upgrade is applied.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-3q6q-26vg-v97x
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-52821"]
- Ecosystems
- ["Packagist"]
- Database Specific Severity
- MODERATE
- Cvss Version
- 4.0
Threat ID: 6a55ff8868715ace432f4655
Added to database: 07/14/2026, 09:21:12 UTC
Last enriched: 07/14/2026, 09:44:54 UTC
Last updated: 07/31/2026, 12:27:30 UTC
Views: 13
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.