PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-18438 wpdevteam CVE debrief

The Templately – Elementor & Gutenberg Template Library: 6500+ Free & Pro Ready Templates And Cloud! plugin for WordPress has a Remote Code Execution vulnerability due to a filename validation/destination mismatch in the fetch_remote_file function. This allows authenticated attackers with contributor-level access and above to execute code on the server. The vulnerability exists in all versions up to, and including, 3.7.1. A complete remediation should both correct fetch_remote_file to validate the file type against the actual destination filename rather than the Content-Disposition header and restrict state-changing Templately REST routes to an appropriate administrator-level capability. The affected endpoints are reachable at this privilege level because Templately's entire REST API — including the cloud import endpoints used in this attack (/templately/v1/clouds/upload and /templately/v1/insert) — is authorized only by a current_user_can('delete_posts') check, with no administrator or manage_options capability requirement.

Vendor
wpdevteam
Product
Templately – Elementor & Gutenberg Template Library: 6500+ Free & Pro Ready Templates And Cloud!
CVSS
HIGH 8.8
CISA KEV
Not listed in stored evidence
Original CVE published
2026-08-15
Original CVE updated
2026-08-15
Advisory published
2026-08-15
Advisory updated
2026-08-15

Who should care

Authenticated attackers with contributor-level access and above, WordPress administrators, users of the Templately plugin, and security teams responsible for vulnerability management and remediation planning should be aware of this vulnerability. They should review the official advisory and plan for vendor-supported updates or mitigations through normal change control where exposure is confirmed. Additionally, they should check relevant monitoring, detection, and logs for exposed assets that need extra review and track exceptions, retest remediated assets, and close the item only after evidence is documented. The vulnerability's impact on operational security and potential for code execution on the server makes it critical for these stakeholders to take immediate action to prevent exploitation and mitigate potential damage to their systems and data. This includes verifying affected scope, reviewing compensating controls for exposed systems while remediation is scheduled and verified, and ensuring that appropriate measures are in place to detect and respond to potential attacks. Furthermore, they should consider the vulnerability's severity and CVSS score of 8.8, indicating a high level of severity, and prioritize remediation efforts accordingly. It is also essential for them to be aware of the potential for attackers to exploit this vulnerability using a GIF+PHP polyglot file, which can pass wp_check_filetype_and_ext validation as image/gif via the Content-Disposition filename, while the actual destination path is written with a .php extension derived from the URL path, bypassing the unfiltered_upload capability gate entirely. By understanding these details, stakeholders can take a comprehensive approach to addressing the vulnerability and minimizing potential risks to their systems and data. The Templately plugin's REST API authorization and permission gate also allow a contributor to overwrite the site's global Templately cloud connection via the /templately/v1/login endpoint with global_signin set to true, which further emphasizes the need for prompt remediation and enhanced security measures. Overall, a thorough understanding of the vulnerability, its impact

Technical summary

The Templately – Elementor & Gutenberg Template Library: 6500+ Free & Pro Ready Templates And Cloud! plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 3.7.1 via the fetch_remote_file function. This is due to a filename validation/destination mismatch in fetch_remote_file, where file type validation is performed against the attacker-controlled Content-Disposition filename rather than the URL-path-derived destination filename.

Defensive priority

Authenticated attackers with contributor-level access can execute code on the server via the Templately plugin's fetch_remote_file function.

Recommended defensive actions

  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up.
  • Review the supplied official advisory or CVE record to validate affected scope, severity, and vendor guidance.
  • Plan vendor-supported updates or mitigations through normal change control where exposure is confirmed.
  • Review compensating controls for exposed systems while remediation is scheduled and verified.
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review.
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented.
  • Perform source tracking to verify the integrity of the Templately plugin and ensure that any modifications are properly validated and approved.

Evidence notes

The Templately plugin for WordPress has a Remote Code Execution vulnerability in all versions up to, and including, 3.7.1 due to a filename validation/destination mismatch in the fetch_remote_file function. This allows authenticated attackers with contributor-level access and above to execute code on the server.

Official resources

AI-assisted PatchSiren debrief based on the supplied source corpus. The CVE record was published on 2026-08-15T10:16:29.413Z and has not been modified since then.