CVE-2026-18438
Last modified
CVE-2026-18438 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. 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. EPSS estimates a 0.98% chance of exploitation in the next 30 days.
Description
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| wpdevteam | Templately – Elementor & Gutenberg Template Library: 6500+ Free & Pro Ready Templates And Cloud! | <= 3.7.1 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-18438?
How severe is CVE-2026-18438?
How do I fix CVE-2026-18438?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-18431The Avada theme for WordPress is vulnerable to Arbitrary Fil…9.8
- CVE-2026-18432The Frontend Admin by DynamiApps plugin for WordPress is vul…9.8
- CVE-2026-18433GitLab has remediated an issue in GitLab EE affecting all ve…4.3
- CVE-2026-18435The Kadence Blocks — Page Builder Toolkit for Gutenberg Edit…6.4
- CVE-2026-18436The MailPress plugin for WordPress is vulnerable to unauthor…5.3
- CVE-2026-18437The MailerPress – Newsletter, email marketing & AI automatio…5.3
- CVE-2026-18439The Tutor LMS – eLearning and online course solution plugin …4.3
- CVE-2026-1844The PixelYourSite PRO plugin for WordPress is vulnerable to …7.2
- CVE-2026-18441The Appointment Booking Plugin – LatePoint | Calendar & Sche…4.3
- CVE-2026-18442The WCFM Marketplace – Multivendor Marketplace for WooCommer…7.5
- CVE-2026-18444There is an integer conversion vulnerability resulting in an…7.8
- CVE-2026-18445There is an integer overflow vulnerability resulting in an o…7.8
Are you affected by CVE-2026-18438?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
