CVE-2026-5137: rometheme RTMKit Local File Inclusion in render_templates AJAX endpoint

CVE-2026-5137 · Severity: medium · CVSS 4.3 · Published 2026-07-03

RTMKit is a WordPress plugin used to enhance the Elementor page builder with additional design templates. A security flaw in this plugin allows users with basic contributor-level access to potentially execute unauthorized code or access sensitive files on the website's server. This could lead to a partial compromise of the site's data or server security.

Technologies: RomeTheme RTMKit. Vendors: RomeTheme.

Quick answers

Is CVE-2026-5137 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-5137 being exploited in the wild.
How severe is CVE-2026-5137?
Medium severity, with a CVSS score of 4.3, published 3 July 2026.
Which products and versions are affected?
RomeTheme RTMKit up to, and including, 2.0.7.
Is there a fix for CVE-2026-5137?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2026-5137 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2026-5137?
Check whether you run RomeTheme RTMKit 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

The RTMKit plugin for WordPress is vulnerable to Local File Inclusion (LFI) due to insufficient path validation on the 'template' parameter within the render_templates AJAX endpoint. This parameter is passed directly into a PHP require/include statement without proper sanitization. Authenticated attackers with Contributor-level permissions or higher can exploit this to include and execute any file on the server that ends with the '_templates.php' suffix. This vulnerability is classified under CWE-98. A fix is available in version 2.0.8.

Affected products

  • rometheme RTMKit (rometheme-for-elementor) up to, and including, 2.0.7

Timeline

  • 2026-07-03: disclosed
  • 2026-07-03: advisory

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.