Executive brief
Leantime is a project management system designed for small teams and individuals. A security flaw in the software allows attackers to trick logged-in users into performing unintended actions, such as deleting projects, changing account settings, or modifying permissions. This could lead to significant data loss or unauthorized access if a user visits a malicious website or clicks a link in a phishing email while logged into the application.
Technical details
A Cross-Site Request Forgery (CSRF) vulnerability exists in Leantime versions up to and including 3.6.2 due to the global omission of the Laravel 'VerifyCsrfToken' middleware in 'app/Http/Kernel.php'. Because this protection is disabled globally, every state-changing endpoint (POST, PUT, DELETE) is vulnerable. An unauthenticated remote attacker can exploit this by inducing an authenticated user to visit a specially crafted webpage or link. Successful exploitation allows the attacker to execute arbitrary actions with the victim's privileges, including project deletion, permission modification, and setting changes. A fix has been proposed in the project's repository to re-enable the middleware globally while exempting specific non-browser endpoints.
Affected products
- Leantime Leantime <= 3.6.2
Timeline
- 2026-07-03: other: Reported to vendor security email
- 2026-07-17: patched: Fix PR submitted to GitHub repository
- 2026-07-20: disclosed: Researcher published security advisory
- 2026-07-30: advisory: NVD and VulnCheck published advisory details