Skip to main content

Leantime CVE-2026-66416

| EUVDEUVD-2026-51199 HIGH
Cross-Site Request Forgery (CSRF) (CWE-352)
2026-07-30 VulnCheck GHSA-w22w-fm87-f6gx
8.6
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Lure authenticated user to malicious page
  2. Delivery
    Auto-submit forged POST/PUT/DELETE to Leantime
  3. Exploit
    Browser attaches session cookie, no CSRF token checked
  4. Execution
    Server executes state change as victim
  5. Impact
    Projects deleted or permissions altered

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V3 - Web Frontend Security Anti-CSRF tokens, SameSite cookies
MITRE ATT&CK

1 technique across 1 tactic: Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that (1) the target runs a Leantime version with the VerifyCsrfToken middleware commented out of HttpKernel.php (confirmed for 3.6.2, the default/shipped state), and (2) a victim who is currently authenticated to that Leantime instance is lured to load attacker-controlled content in the same browser - this is the CVSS UI:A / user-interaction requirement and is the primary limiting factor. No attacker credentials are needed (PR:N), and no non-default configuration is required because CSRF protection is disabled out of the box; the JSON-RPC API is additionally exempt (api/* in VerifyCsrfToken.php), widening the reachable endpoints. Exploitation is limited by the need for an active, valid victim session and successful social engineering, so it is not fully hands-off/automatable.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H, score 8.6) is internally consistent with a CSRF flaw: network reachable, low complexity, no attacker privileges, but requiring active user interaction (the victim must load a malicious page). High confidentiality/integrity/availability impact reflects that forged requests can delete projects and change permissions. The signals partly converge: a public POC exists and a trusted reporter (VulnCheck) documented it, which raises real-world credibility, but the vulnerability is NOT in CISA KEV and no EPSS score was supplied, so there is no evidence of active or widespread exploitation. The practical limiter is UI:A - exploitation depends on socially engineering an already-authenticated user to visit attacker content, making this opportunistic/targeted rather than mass-automatable. Net: a genuine, well-substantiated priority for any internet-exposed Leantime instance, but the required user interaction keeps it below a wormable/unauthenticated-RCE tier.

Exploit ScenarioDerived

An attacker sends a phishing email or lures a logged-in Leantime user to a malicious web page containing an auto-submitting hidden form (or JSON-RPC fetch) targeting the victim's Leantime instance. Because the server enforces no CSRF token and trusts the session cookie, the browser silently issues an authenticated POST/PUT/DELETE that deletes a project or elevates the attacker's permissions. Public exploit code (GHSA-x8vx-9g5w-w5rr) demonstrates the technique, and the low attack complexity means the forged request succeeds as soon as the victim's browser loads the page.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
1 public PoC Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 30, 2026

Cross-site request forgery in Leantime 3.6.2 lets a remote unauthenticated attacker execute state-changing actions in the session of any logged-in user because the Laravel VerifyCsrfToken middleware was commented out of the global middleware stack in HttpKernel.php, leaving every POST/PUT/DELETE endpoint token-free. A victim who is authenticated and visits an attacker-controlled page can be forced to create or delete projects, alter settings, and change permissions. Publicly available exploit code exists (GHSA-x8vx-9g5w-w5rr) and the flaw was reported by VulnCheck, though there is no public exploit identified as actively exploited (not in CISA KEV); EPSS was not provided.

RemediationAI

Upgrade to a Leantime release that incorporates PR #3659 (https://github.com/Leantime/leantime/pull/3659), which re-enables the global VerifyCsrfToken middleware, removes the api/* CSRF exemption, and adds CSRF tokens to the JSON-RPC client and previously untokenized Blade forms; a released patched version was not independently confirmed from the provided data, so verify the exact tagged version against VulnCheck's advisory (https://www.vulncheck.com/advisories/leantime-csrf-protection-globally-disabled-by-omission-of-laravel-verifycsrftoken-middleware). If you cannot patch immediately, place Leantime behind a reverse proxy or WAF that enforces same-origin/Referer and Origin header checks on POST/PUT/DELETE requests (side effect: may break legitimate cross-origin integrations or the JSON-RPC API), restrict access to trusted networks or VPN to shrink the phishing attack surface, and instruct users to log out when not actively using the app to reduce the authenticated-session window. Enabling Laravel's middleware manually per-route is also possible but risks breaking the ~82 legacy forms noted in the source, so full upgrade is strongly preferred.

Affected VersionsENISA

Leantime 0 <3.6.2

Affected Packages

euvd leantime fix: 3.6.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Leantime is an open-source PHP project-management application built on the Laravel framework. Laravel ships a VerifyCsrfToken middleware that validates a per-session token on unsafe HTTP methods; the source evidence shows Leantime deliberately left \Leantime\Core\Middleware\VerifyCsrfToken::class commented out of the global stack in app/Core/Http/HttpKernel.php with a note that ~82 legacy .tpl.php forms lacked @csrf tokens, so CSRF verification was never enforced globally. This is a textbook CWE-352 (Cross-Site Request Forgery): the server authenticates requests solely via the session cookie and (for the JSON-RPC API) only an X-Requested-With header, neither of which is an unpredictable, origin-bound secret. The fix (PR #3659) re-enables the global middleware, removes the api/* exemption, injects an X-CSRF-TOKEN header into the JSON-RPC client read from a meta tag, and adds @csrf to previously untokenized Blade forms. CPE cpe:2.3:a:leantime:leantime confirms the affected product.

Know when Leantime gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 8.6 HIGH
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
vuln.today AI 8.8 HIGH

Network CSRF with no attacker auth (PR:N) but a victim must load malicious content (UI:R); forged requests delete projects and change permissions, giving high C/I/A.

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Active
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Jul 30, 2026 - 18:03 EUVD
CVE Published
Jul 30, 2026 - 17:00 cve.org
HIGH 8.6

DescriptionCVE.org

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.

Latest POC

1 public PoC link from github

Sign in to open the public PoC links collected for this CVE.

Executive ViewAI

Why It Matters

Leantime 3.6.2 contains a high-severity CSRF vulnerability allowing unauthenticated attackers to hijack authenticated user sessions and force unauthorized changes to projects, settings, and permissions-with publicly available exploits and no patch currently available, creating immediate risk to project data integrity and access governance.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Re-enable CSRF token verification middleware in HttpKernel.php; (2) Restrict network access to Leantime-VPN-only or internal networks only; (3) Deploy Web Application Firewall with CSRF attack signatures; (4) Enforce SameSite=Strict on session cookies; (5) Enable detailed audit logging and monitoring for unauthorized state-change requests (create/delete project, permission changes).

Threat Intelligence Overview

EPSS Score
0.2%
Top 94% exploitable
Prevalence
Low
niche open-source project-management app, limited enterprise footprint
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

63
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +43
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Request Forgery exploits the automatic credential inclusion behavior of web browsers.

CVE-2024-27474 HIGH POC
8.8 Apr 10

Leantime 3.0.6 is vulnerable to Cross Site Request Forgery (CSRF). Rated high severity (CVSS 8.8), this vulnerability is

CVE-2026-66415 HIGH POC
8.4 Jul 30

Server-side request forgery and local file inclusion in Leantime 3.6.2 lets authenticated attackers coerce the server in

CVE-2024-27705 HIGH POC
7.6 Apr 03

Cross Site Scripting vulnerability in Leantime v3.0.6 allows attackers to execute arbitrary code via upload of crafted P

CVE-2023-45826 MEDIUM POC
6.5 Oct 19

Leantime is an open source project management system. Rated medium severity (CVSS 6.5), this vulnerability is remotely e

CVE-2024-27477 MEDIUM POC
6.1 Apr 10

In Leantime 3.0.6, a Cross-Site Scripting vulnerability exists within the ticket creation and modification functionality

CVE-2024-27703 MEDIUM POC
5.4 Mar 13

Cross Site Scripting vulnerability in Leantime 3.0.6 allows a remote attacker to execute arbitrary code via the to-do ti

CVE-2026-66414 MEDIUM POC
5.1 Jul 30

Open redirect in Leantime 3.6.2's Login controller lets unauthenticated attackers craft login URLs where the `redirectUr

CVE-2026-85990 HIGH
8.8 Oct 13

Privilege escalation in Leantime prior to 3.10.0 allows an authenticated low-privilege user to create a full administrat

CVE-2026-76647 HIGH
8.8 Aug 19

Missing centralized authorization in Leantime's JSON-RPC API dispatcher (through v3.9.0) enables any authenticated user

CVE-2020-5292 HIGH
8.8 Mar 31

Leantime before versions 2.0.15 and 2.1-beta3 has a SQL Injection vulnerability. Rated high severity (CVSS 8.8), this vu

CVE-2024-27476 MEDIUM POC
4.7 Apr 10

Leantime 3.0.6 is vulnerable to HTML Injection via /dashboard/show#/tickets/newTicket. Rated medium severity (CVSS 4.7),

CVE-2026-59712 HIGH
8.6 Jul 06

Credential disclosure in Leantime's JSON-RPC API allows an authenticated user to read any account's full credential row

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy