Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Kimai: Improper Authorization Through Activity Creation with Preset Project Allows Creation Under Unauthorized Projects (CVE-2026-52821)

0
Medium
Published: 07/14/2026 (07/14/2026, 00:03:42 UTC)
Source: GCVE Database
Product: kimai/kimai

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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
Low
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

Packagistghsa
kimai/kimai
Affected versions
<2.57.0

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

AILast updated: 07/14/2026, 09:44:54 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses