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. This makes it possible for authenticated attackers, with contributor-level access and above, to execute code on the server. A GIF+PHP polyglot file passes 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. 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. The same permission gate also allows a contributor to overwrite the site's global Templately cloud connection via the /templately/v1/login endpoint with global_signin set to true. 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 avoid deriving the write path from the request URL), and restrict state-changing Templately REST routes to an appropriate administrator-level capability.
CVE-2026-18438
Score 8.8 from GitHub Security Advisory (severity: HIGH) published 2026-08-15. a secondary CVSS source baseline 8.8; sources differ by 0.0.
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 8.8
- EG Score
- 8.8(high)
- EG Risk
- 40(Track)EG Risk 40/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity88% × 45%Exploitation1% × 40%Automatability0% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 1%
- EPSS %ILE
- 60%
- KEV
- Not listed
Published
August 15, 2026
Last Modified
August 20, 2026
References (18)
- security@wordfencehttps://plugins.trac.wordpress.org/browser/templately/tags/3.6.5/includes/API/API.php#L128
- security@wordfencehttps://plugins.trac.wordpress.org/browser/templately/tags/3.6.5/includes/API/Import.php#L78
- security@wordfencehttps://plugins.trac.wordpress.org/browser/templately/tags/3.6.5/includes/API/MyClouds.php#L103
- security@wordfencehttps://plugins.trac.wordpress.org/browser/templately/tags/3.6.5/includes/Core/Importer/WPImport.php#L1200
- security@wordfencehttps://plugins.trac.wordpress.org/browser/templately/tags/3.6.5/includes/Core/Importer/WPImport.php#L1391
- security@wordfencehttps://plugins.trac.wordpress.org/browser/templately/tags/3.6.5/includes/Core/Importer/WPImport.php#L1423
- security@wordfencehttps://plugins.trac.wordpress.org/browser/templately/tags/3.6.5/includes/Core/Platform/Gutenberg.php#L177
- security@wordfencehttps://plugins.trac.wordpress.org/browser/templately/tags/3.7.1/includes/API/API.php#L128
- security@wordfencehttps://plugins.trac.wordpress.org/browser/templately/tags/3.7.1/includes/API/Import.php#L78
- security@wordfencehttps://plugins.trac.wordpress.org/browser/templately/tags/3.7.1/includes/API/MyClouds.php#L103
- security@wordfencehttps://plugins.trac.wordpress.org/browser/templately/tags/3.7.1/includes/Core/Importer/WPImport.php#L1200
- security@wordfencehttps://plugins.trac.wordpress.org/browser/templately/tags/3.7.1/includes/Core/Importer/WPImport.php#L1391
- security@wordfencehttps://plugins.trac.wordpress.org/browser/templately/tags/3.7.1/includes/Core/Importer/WPImport.php#L1423
- security@wordfencehttps://plugins.trac.wordpress.org/browser/templately/tags/3.7.1/includes/Core/Platform/Gutenberg.php#L177
- security@wordfencehttps://plugins.trac.wordpress.org/changeset/3636643/templately/trunk/includes/Core/Importer/WPImport.php
Vendor Advisories for CVE-2026-18438(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 30× in last 7d / 30× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-08-21 01:40 UTCEG score recompute
- 2026-08-21 01:40 UTCGHSA enrichment
- 2026-08-20 22:55 UTCEPSS rescore
- 2026-08-20 13:02 UTCGHSA enrichment
- 2026-08-20 11:45 UTCGHSA enrichment
- 2026-08-19 23:06 UTCEG score recompute
- 2026-08-19 23:05 UTCGHSA enrichment
- 2026-08-19 17:03 UTCEPSS rescore
- 2026-08-19 10:26 UTCGHSA enrichment
- 2026-08-18 21:48 UTCEG score recompute
- 2026-08-18 21:48 UTCGHSA enrichment
- 2026-08-18 13:48 UTCEPSS rescore
- 2026-08-18 09:11 UTCGHSA enrichment
- 2026-08-17 20:30 UTCEG score recompute
- 2026-08-17 20:30 UTCGHSA enrichment
- 2026-08-17 19:50 UTCEG score recompute
- 2026-08-17 19:50 UTCGHSA enrichment
- 2026-08-17 13:47 UTCEPSS rescore
- 2026-08-17 12:55 UTCGHSA enrichment
- 2026-08-17 00:18 UTCEG score recompute
- 2026-08-17 00:18 UTCGHSA enrichment
- 2026-08-16 14:56 UTCEPSS rescore
- 2026-08-16 11:40 UTCEG score recompute
- 2026-08-16 11:40 UTCGHSA enrichment
- 2026-08-16 02:14 UTCEPSS rescore
Show 5 moreShow fewer
- 2026-08-15 23:03 UTCEG score recompute
- 2026-08-15 23:03 UTCGHSA enrichment
- 2026-08-15 10:25 UTCEG score recompute
- 2026-08-15 09:38 UTCEG score recompute
- 2026-08-15 09:36 UTCMITRE cvelistV5first tracked
Frequently asked(5)
What is CVE-2026-18438?
When was CVE-2026-18438 disclosed?
Is CVE-2026-18438 actively exploited?
What is the CVSS score of CVE-2026-18438?
How do I remediate CVE-2026-18438?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-18438
Is Your Infrastructure Affected by CVE-2026-18438?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.