Description
Leantime 3.6.2 contains a server-side request forgery and local file inclusion vulnerability that allows authenticated attackers to read internal resources by passing unsanitized user-supplied filenames to file_get_contents() in the Blueprints::import() method without path validation. Attackers can submit crafted filenames containing URL wrappers or path traversal sequences through the JSON-RPC API endpoint to access cloud metadata services or read arbitrary files from the server filesystem.
Published: 2026-07-30
Score: 8.4 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability resides in the Blueprints::import() method of Leantime 3.6.2, which calls file_get_contents() on user‑supplied filenames without validating the path or the protocol. This flaw originates from CWE‑918 and enables authenticated users to retrieve data from arbitrary locations inside the application or from cloud metadata services by embedding URL wrappers or path‑traversal sequences in the JSON‑RPC payload. The result is the unauthorized disclosure of internal resources, exposing sensitive configuration files or service metadata, and compromising confidentiality.

Affected Systems

The affected product is Leantime. Users running version 3.6.2 of the Leantime web application are potentially compromised. No other versions are listed as affected in the CNA data.

Risk and Exploitability

The CVSS score of 8.4 indicates a high‑severity flaw. Because the attack requires authentication and only the JSON‑RPC API endpoint that serves Blueprints::import(), attackers need legitimate credentials; however, once obtained, the vulnerability allows for reading arbitrary files, so the potential impact is significant. The EPSS score is < 1%, and the vulnerability is not listed in CISA KEV, suggesting that while it is serious, it may not yet be widely exploited in the wild. The likely attack vector is a targeted assault using valid user sessions against the API endpoint.

Generated by OpenCVE AI on August 2, 2026 at 05:07 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the patch from Leantime pull request 3656 that sanitizes filenames before file_get_contents()
  • Disable or restrict the Blueprints::import() endpoint for untrusted or unauthenticated users
  • Implement server‑side validation that rejects URL wrappers and disallows path traversal sequences

Generated by OpenCVE AI on August 2, 2026 at 05:07 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 14 Aug 2026 17:15:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:leantime:leantime:*:*:*:*:*:*:*:*

Thu, 30 Jul 2026 18:45:00 +0000

Type Values Removed Values Added
First Time appeared Leantime
Leantime leantime
Vendors & Products Leantime
Leantime leantime

Thu, 30 Jul 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Thu, 30 Jul 2026 17:30:00 +0000

Type Values Removed Values Added
Description Leantime 3.6.2 contains a server-side request forgery and local file inclusion vulnerability that allows authenticated attackers to read internal resources by passing unsanitized user-supplied filenames to file_get_contents() in the Blueprints::import() method without path validation. Attackers can submit crafted filenames containing URL wrappers or path traversal sequences through the JSON-RPC API endpoint to access cloud metadata services or read arbitrary files from the server filesystem.
Title Leantime Server-Side Request Forgery and Local File Inclusion in Blueprints::import()
Weaknesses CWE-918
References
Metrics cvssV3_1

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

cvssV4_0

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


Subscriptions

Leantime Leantime
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-14T16:50:41.973Z

Reserved: 2026-07-27T05:16:45.792Z

Link: CVE-2026-66415

cve-icon Vulnrichment

Updated: 2026-07-30T17:31:54.467Z

cve-icon NVD

Status : Deferred

Published: 2026-07-30T19:18:36.190

Modified: 2026-07-31T12:16:55.093

Link: CVE-2026-66415

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-02T05:15:15Z

Weaknesses
  • CWE-918

    Server-Side Request Forgery (SSRF)