Junglewise Threat Intelligence

CVE-2026-66415: Leantime SSRF and LFI in Blueprints import method

CVE-2026-66415 · Severity: high · CVSS 8.5 · Published 2026-07-30

Executive brief

Leantime, a project management system, is vulnerable to a security flaw that allows logged-in users to access sensitive internal data. By sending specially crafted requests, an attacker can trick the server into revealing private files from the host system or accessing internal network services that are not intended to be public. This could lead to the exposure of database credentials, configuration files, or cloud environment metadata, potentially compromising the entire application infrastructure.

Technical details

A vulnerability exists in the Blueprints::import() method within app/Domain/Blueprints/Services/Blueprints.php of Leantime. The application passes user-supplied filenames from the JSON-RPC API directly to the PHP file_get_contents() function without adequate path validation or protocol filtering. An authenticated attacker can exploit this by using URL wrappers (e.g., http://, file://) or path traversal sequences (../) to perform Server-Side Request Forgery (SSRF) against internal services or Local File Inclusion (LFI) to read sensitive files like /etc/passwd. A patch has been submitted in pull request #3656 which introduces path canonicalization, directory allow-listing, and extension validation.

Affected products

  • Leantime Leantime <= 3.6.2

Timeline

  • 2026-07-03: disclosed: Reported to vendor security team
  • 2026-07-17: patched: Fix pull request submitted to GitHub repository
  • 2026-07-25: patched: Fix merged into master branch
  • 2026-07-30: advisory: NVD and VulnCheck advisories published

References

Related threats