CVE-2026-66416

Leantime CSRF Protection Globally Disabled by Omission of Laravel VerifyCsrfToken Middleware

Published Jul 30, 2026 CVSS 4.0 · 8.6 High EPSS < 1% KEV · Not listed
Description
Leantime 3.6.2 contains a cross-site request forgery vulnerability that allows unauthenticated attackers to perform state-changing actions on behalf of authenticated users by excluding the Laravel VerifyCsrfToken middleware from the global middleware stack in app/Http/Kernel.php. Attackers can craft malicious pages delivered via phishing emails or malicious websites to trigger unauthorized POST, PUT, and DELETE requests that create or delete projects, modify settings, and change permissions as any authenticated user.

Analysis

AI-generated

Technical impact

Leantime 3.6.2 lacks the Laravel VerifyCsrfToken middleware in its global middleware stack, creating a cross‑site request forgery flaw that enables attackers to execute POST, PUT, and DELETE actions without authentication. The vulnerability can be exploited to create or delete projects, alter settings, and modify user permissions as any authenticated user, representing a classic example of CWE‑352.

Affected Systems

The flaw affects installations of Leantime version 3.6.2. Any deployment running this version without the missing CSRF protection is exposed.

Risk and Exploitability

With a CVSS score of 8.6 the vulnerability is severe; the EPSS score is than 1% yet the lack of CSRF checks makes exploitation straightforward. Attackers can drive victims to malicious pages via phishing or compromised sites to submit unauthorized requests. The vulnerability is not currently listed in CISA KEV, yet the exposure is large enough that patching should be top priority.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Leantime to a patched release that reinstates the VerifyCsrfToken middleware in the global stack.
  • Re‑enable Laravel's VerifyCsrfToken middleware for all routes that perform state‑changing operations, ensuring a CSRF token is required for each request.
  • Monitor for failed POST, PUT, and DELETE attempts and consider implementing rate limiting or a temporary CSRF validation middleware as an interim protection.

Generated by OpenCVE AI on August 3, 2026 at 10:38 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:2.3:a:leantime:leantime:*:*:*:*:*:*:*:*
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Leantime
Leantime leantime
Vendors & Products Leantime
Leantime leantime
Type Values Removed Values Added
Description Leantime 3.6.2 contains a cross-site request forgery vulnerability that allows unauthenticated attackers to perform state-changing actions on behalf of authenticated users by excluding the Laravel VerifyCsrfToken middleware from the global middleware stack in app/Http/Kernel.php. Attackers can craft malicious pages delivered via phishing emails or malicious websites to trigger unauthorized POST, PUT, and DELETE requests that create or delete projects, modify settings, and change permissions as any authenticated user.
Title Leantime CSRF Protection Globally Disabled by Omission of Laravel VerifyCsrfToken Middleware
Weaknesses CWE-352
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.6, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-352

    Cross-Site Request Forgery (CSRF)

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Sep 24, 2026, 2:18 PM
Reserved
Jul 27, 2026, 5:16 AM
Status
Deferred
Published
Jul 30, 2026, 7:18 PM
Modified
Jul 31, 2026, 11:17 PM