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

Source: https://junglewise.ai/threats/cve-2026-66415-leantime-ssrf-and-lfi-in-blueprints-import-method  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-07-30. Updated: 2026-07-30  
License: CC BY 4.0 with a link back

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

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.

Technologies: [Leantime](https://junglewise.ai/threats/technologies/leantime). Vendors: [Leantime](https://junglewise.ai/threats/vendors/leantime).

## Quick answers

**Is CVE-2026-66415 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-66415 being exploited in the wild.

**How severe is CVE-2026-66415?** High severity, with a CVSS score of 8.5, published 30 July 2026.

**Which products and versions are affected?** Leantime <= 3.6.2.

**Is there a fix for CVE-2026-66415?** A patch was published on 2026-07-17: Fix pull request submitted to GitHub repository Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-66415 attacked?** It is attacked over the network, in a network appliance.

**Am I affected by CVE-2026-66415?** Check whether you run Leantime at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

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

- [https://github.com/Leantime/leantime](https://github.com/Leantime/leantime)
- [https://github.com/Leantime/leantime/pull/3656](https://github.com/Leantime/leantime/pull/3656)
- [https://github.com/javokhir-sec/CVE-PoC-Hub/security/advisories/GHSA-gphg-6h4g-mg22](https://github.com/javokhir-sec/CVE-PoC-Hub/security/advisories/GHSA-gphg-6h4g-mg22)
- [https://www.vulncheck.com/advisories/leantime-server-side-request-forgery-and-local-file-inclusion-in-blueprints-import](https://www.vulncheck.com/advisories/leantime-server-side-request-forgery-and-local-file-inclusion-in-blueprints-import)

## Related threats

- [Leantime privilege escalation via unauthorized JSON-RPC methods](https://junglewise.ai/threats/cve-2026-85990-leantime-any-authenticated-user-can-self-escalate-to-admin-via)
- [Leantime authorization bypass in plugin marketplace endpoint](https://junglewise.ai/threats/cve-2026-92772-leantime-authorization-bypass-in-plugin-marketplace-endpoint)
- [Leantime CSRF protection disabled in global middleware stack](https://junglewise.ai/threats/cve-2026-66416-leantime-csrf-protection-disabled-in-global-middleware-stack)
- [Leantime open redirect in Login controller](https://junglewise.ai/threats/cve-2026-66414-leantime-open-redirect-in-login-controller)
- [Leantime broken access control in tickets.getMilestone endpoint](https://junglewise.ai/threats/cve-2026-66412-leantime-broken-access-control-in-tickets-getmilestone-endpoint)
