Skip to main content

Leantime EUVDEUVD-2026-51236

| CVE-2026-66414 MEDIUM
URL Redirection to Untrusted Site (Open Redirect) (CWE-601)
2026-07-30 VulnCheck GHSA-pjx9-wh57-j26p
5.1
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Craft login URL with external redirectUrl value
  2. Delivery
    Deliver crafted link to Leantime user via phishing
  3. Exploit
    Victim clicks link and authenticates successfully
  4. Execution
    Login controller passes redirectUrl through FILTER_SANITIZE_URL without origin check
  5. Persist
    Victim redirected to attacker-controlled domain
  6. Impact
    Credential phishing or payload delivery executed

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V3 - Web Frontend Security Redirect URL validation
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

The vulnerability is triggered when an authenticated user follows an attacker-crafted Leantime login URL whose redirectUrl POST parameter contains an external or protocol-relative URL. The Leantime login form already submits redirectUrl as a hidden POST field by default, so no non-default configuration is required - a standard Leantime 3.6.2 installation with a web-accessible login page is sufficient. The bypass is possible because FILTER_SANITIZE_URL is not an origin-validation function: protocol-relative URLs (//attacker.com), backslash-normalized variants (//attacker.com), and well-formed external absolute URLs all pass through unblocked. Exploitation is limited by: (1) mandatory user interaction - the victim must click the crafted link AND successfully authenticate; (2) impact is confined to post-login redirect destination and does not yield server-side execution or direct data access; (3) the victim must hold valid Leantime credentials. No special server configuration, elevated role, or non-default feature flag is required beyond a default deployment.

Impact

The CVSS 4.0 score of 5.1 (Medium) accurately reflects the bounded impact profile: network-accessible (AV:N), low complexity (AC:L), no attacker privileges required (PR:N), but mandatory active user interaction (UI:A - the victim must both receive the crafted link and successfully authenticate). Impact is limited to partial confidentiality and integrity (VC:L/VI:L) - no server-side code execution, data exfiltration from the application database, or availability impact. The SC:L/SI:L metrics acknowledge downstream risk on the subsequent system (the attacker's phishing site harvesting credentials). No EPSS data was provided in the input, so exploitation probability cannot be quantified numerically. The absence from CISA KEV indicates no confirmed broad active exploitation at time of analysis, but the existence of public POC code (VulnCheck, GHSA-wprg-q8m6-jhp9) meaningfully lowers the barrier to exploitation. The real-world risk is higher than the score alone suggests for organizations where Leantime is internet-facing: open redirects from trusted project management domains carry elevated phishing credibility. The CVSS vector and description are fully consistent - no conflicting signals detected.

Exploit ScenarioDerived

A publicly available POC exists per VulnCheck and GHSA-wprg-q8m6-jhp9. An attacker crafts a Leantime login URL with a redirectUrl POST parameter value set to an external phishing domain (e.g., //evil-attacker.com/fake-leantime) - bypassing FILTER_SANITIZE_URL - and delivers it to a target Leantime user via a spear-phishing email; the victim authenticates normally and is silently redirected to the attacker's site, which mimics the Leantime interface to harvest credentials or deliver further payloads under the guise of a legitimate post-login session.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
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

Open redirect in Leantime 3.6.2's Login controller lets unauthenticated attackers craft login URLs where the redirectUrl POST parameter bypasses PHP's FILTER_SANITIZE_URL validation - which strips illegal characters but never performs origin-validation - to redirect authenticated users to external attacker-controlled sites. Affected are all deployments of Leantime 3.6.2 with a web-accessible login endpoint, the primary use case being phishing and credential theft by abusing the trusted Leantime domain as a delivery vehicle. No public exploit is confirmed in CISA KEV, but publicly available exploit code exists per VulnCheck and a GitHub Security Advisory (GHSA-wprg-q8m6-jhp9).

RemediationAI

The upstream fix is available via GitHub PR #3658 (https://github.com/Leantime/leantime/pull/3658); organizations running Leantime 3.6.2 should apply the patch from this PR or update to any release that incorporates it - a specifically tagged patched release version is not independently confirmed at time of analysis, so verify the fix commit is included in any upgrade target. As a compensating control prior to patching, configure a WAF or reverse-proxy rule to intercept login POST requests and block redirectUrl parameter values matching external scheme prefixes (https://, http://, //) or backslash-prefixed variants - note this requires careful tuning since the Leantime login form itself submits same-origin absolute URLs in the hidden redirectUrl field, so allowlisting the application's own BASE_URL prefix is necessary to avoid breaking legitimate login flows. If the application does not need to be internet-facing, restricting the login endpoint to internal network access eliminates the social engineering delivery channel entirely with no application-level trade-offs. The VulnCheck advisory (https://www.vulncheck.com/advisories/leantime-open-redirect-in-login-controller-via-redirecturl-parameter) and GHSA-wprg-q8m6-jhp9 should be monitored for patched release confirmation.

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 a PHP-based open-source project management application (CPE: cpe:2.3:a:leantime:leantime:*:*:*:*:*:*:*:*). The root cause (CWE-601: URL Redirection to Untrusted Site) lies in app/Domain/Auth/Controllers/Login.php, where the redirectUrl POST parameter was processed with urldecode(filter_var($_POST['redirectUrl'], FILTER_SANITIZE_URL)). PHP's FILTER_SANITIZE_URL is a character-stripping sanitizer - it removes characters illegal in a URL but explicitly does not validate origin or scheme, making it wholly ineffective as an open-redirect guard. The prior resolveSafeRedirect() in app/Domain/Auth/Services/Auth.php also contained a logic inversion: it only blocked external URLs detected by FILTER_VALIDATE_URL, but protocol-relative URLs (e.g., //attacker.com) and backslash-normalized variants (//attacker.com) were not handled, and the entire Login controller bypassed that method in the affected codepath. The fix in PR #3658 consolidates redirect resolution into resolveSafeRedirect(), normalizes backslash tricks via str_replace, strips the application BASE_URL to treat same-origin absolute URLs as relative paths, and explicitly rejects protocol-relative and external absolute URLs.

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 5.1 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
vuln.today AI 5.4 MEDIUM

Network-delivered, low complexity; PR:N because attacker needs no credentials; UI:R because victim must authenticate; S:U and no A impact as no server-side execution occurs.

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:L/SI:L/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
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Jul 30, 2026 - 18:03 EUVD
CVE Published
Jul 30, 2026 - 16:36 cve.org
MEDIUM 5.1

DescriptionCVE.org

Leantime 3.6.2 contains an open redirect vulnerability in the Login controller that allows unauthenticated attackers to redirect authenticated users to arbitrary external sites by manipulating the redirectUrl POST parameter. Attackers can craft a malicious login URL with a tampered redirectUrl value that bypasses FILTER_SANITIZE_URL validation to redirect victims to attacker-controlled sites for phishing or credential theft.

Threat Intelligence Overview

EPSS Score
0.2%
Top 90% exploitable
Prevalence
Low
niche open-source project management tool, limited enterprise footprint
Exploit
POC
Public exploit code exists
Data Quality
6 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 MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0
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-66416 HIGH POC
8.6 Jul 30

Cross-site request forgery in Leantime 3.6.2 lets a remote unauthenticated attacker execute state-changing actions in th

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-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