CVE-2026-5137: CWE-98 Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') in rometheme RTMKit
The RTMKit plugin for WordPress (rometheme-for-elementor) contains a Local File Inclusion vulnerability in versions up to and including 2.0.7. This flaw arises from insufficient validation of the 'template' parameter in the render_templates AJAX endpoint, which is used directly in a require/include statement without sanitization. Authenticated users with Contributor-level access or higher can exploit this to include and execute PHP files on the server ending with _templates.php. The vulnerability has a CVSS 3.1 base score of 4.3, indicating medium severity.
AI Analysis
Technical Summary
CVE-2026-5137 is a Local File Inclusion vulnerability in the RTMKit WordPress plugin (rometheme-for-elementor) affecting versions up to 2.0.7. The vulnerability stems from improper control of the filename used in an include/require statement due to insufficient path validation on the 'template' parameter in the render_templates AJAX endpoint. This allows authenticated attackers with Contributor-level privileges or higher to include and execute arbitrary PHP files on the server that end with _templates.php, potentially leading to code execution within the context of the web server.
Potential Impact
An attacker with Contributor-level or higher access can exploit this vulnerability to include and execute arbitrary PHP files on the server, which may lead to unauthorized code execution. The CVSS score of 4.3 reflects a medium impact primarily on confidentiality, with no direct impact on integrity or availability reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict Contributor-level access to trusted users only and monitor for suspicious activity related to the render_templates AJAX endpoint. Avoid using vulnerable versions of the RTMKit plugin if possible.
CVE-2026-5137: CWE-98 Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') in rometheme RTMKit
Description
The RTMKit plugin for WordPress (rometheme-for-elementor) contains a Local File Inclusion vulnerability in versions up to and including 2.0.7. This flaw arises from insufficient validation of the 'template' parameter in the render_templates AJAX endpoint, which is used directly in a require/include statement without sanitization. Authenticated users with Contributor-level access or higher can exploit this to include and execute PHP files on the server ending with _templates.php. The vulnerability has a CVSS 3.1 base score of 4.3, indicating medium severity.
CVSS v3.1
Score 4.3medium
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-5137 is a Local File Inclusion vulnerability in the RTMKit WordPress plugin (rometheme-for-elementor) affecting versions up to 2.0.7. The vulnerability stems from improper control of the filename used in an include/require statement due to insufficient path validation on the 'template' parameter in the render_templates AJAX endpoint. This allows authenticated attackers with Contributor-level privileges or higher to include and execute arbitrary PHP files on the server that end with _templates.php, potentially leading to code execution within the context of the web server.
Potential Impact
An attacker with Contributor-level or higher access can exploit this vulnerability to include and execute arbitrary PHP files on the server, which may lead to unauthorized code execution. The CVSS score of 4.3 reflects a medium impact primarily on confidentiality, with no direct impact on integrity or availability reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict Contributor-level access to trusted users only and monitor for suspicious activity related to the render_templates AJAX endpoint. Avoid using vulnerable versions of the RTMKit plugin if possible.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2026-03-30T10:48:18.196Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a48224727e9c79719b226b6
Added to database: 07/03/2026, 20:57:43 UTC
Last enriched: 07/03/2026, 20:58:14 UTC
Last updated: 07/03/2026, 21:41:54 UTC
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.