CVE-2026-8118: CWE-73 External Control of File Name or Path in wproyal Royal Addons for Elementor – Addons and Templates Kit for Elementor
The Royal Addons for Elementor – Addons and Templates Kit for Elementor plugin for WordPress is vulnerable to Arbitrary File Read in versions 1.7.1058 through 1.7.1059. This is due to the wpr_get_csv_handle() helper (introduced in version 1.7.1058 as part of the patch for CVE-2026-6229) falling back to is_readable() and fopen($source, 'r') on the attacker-controlled settings.table_upload_csv.url value when it does not parse as an HTTP URL, with no allow-list, traversal block, or extension check. This makes it possible for authenticated attackers, with Contributor-level access and above, to save a crafted wpr-data-table widget through Elementor's save_builder endpoint and have the rendered preview return the line-by-line contents of any file readable by the PHP process, including wp-config.php.
AI Analysis
Technical Summary
CVE-2026-8118 is an arbitrary file read vulnerability in the Royal Addons for Elementor – Addons and Templates Kit for Elementor WordPress plugin, affecting versions 1.7.1058 through 1.7.1059. The issue arises from the wpr_get_csv_handle() helper function, introduced in version 1.7.1058, which falls back to using is_readable() and fopen() on the attacker-controlled settings.table_upload_csv.url value when it does not parse as an HTTP URL. There is no allow-list, traversal block, or extension check, enabling authenticated attackers with Contributor-level or higher privileges to craft a wpr-data-table widget and retrieve contents of any file readable by the PHP process, including sensitive configuration files like wp-config.php. No official patch or remediation level has been published yet.
Potential Impact
An attacker with Contributor-level or higher access can read arbitrary files on the server, potentially exposing sensitive information such as database credentials stored in wp-config.php. This compromises confidentiality but does not affect integrity or availability. The vulnerability requires authentication and does not involve user interaction beyond the attacker’s own actions.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict Contributor-level access to trusted users only and monitor for suspicious activity related to the wpr-data-table widget. Avoid using affected plugin versions 1.7.1058 and 1.7.1059 if possible.
CVE-2026-8118: CWE-73 External Control of File Name or Path in wproyal Royal Addons for Elementor – Addons and Templates Kit for Elementor
Description
The Royal Addons for Elementor – Addons and Templates Kit for Elementor plugin for WordPress is vulnerable to Arbitrary File Read in versions 1.7.1058 through 1.7.1059. This is due to the wpr_get_csv_handle() helper (introduced in version 1.7.1058 as part of the patch for CVE-2026-6229) falling back to is_readable() and fopen($source, 'r') on the attacker-controlled settings.table_upload_csv.url value when it does not parse as an HTTP URL, with no allow-list, traversal block, or extension check. This makes it possible for authenticated attackers, with Contributor-level access and above, to save a crafted wpr-data-table widget through Elementor's save_builder endpoint and have the rendered preview return the line-by-line contents of any file readable by the PHP process, including wp-config.php.
CVSS v3.1
Score 6.5medium
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-8118 is an arbitrary file read vulnerability in the Royal Addons for Elementor – Addons and Templates Kit for Elementor WordPress plugin, affecting versions 1.7.1058 through 1.7.1059. The issue arises from the wpr_get_csv_handle() helper function, introduced in version 1.7.1058, which falls back to using is_readable() and fopen() on the attacker-controlled settings.table_upload_csv.url value when it does not parse as an HTTP URL. There is no allow-list, traversal block, or extension check, enabling authenticated attackers with Contributor-level or higher privileges to craft a wpr-data-table widget and retrieve contents of any file readable by the PHP process, including sensitive configuration files like wp-config.php. No official patch or remediation level has been published yet.
Potential Impact
An attacker with Contributor-level or higher access can read arbitrary files on the server, potentially exposing sensitive information such as database credentials stored in wp-config.php. This compromises confidentiality but does not affect integrity or availability. The vulnerability requires authentication and does not involve user interaction beyond the attacker’s own actions.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict Contributor-level access to trusted users only and monitor for suspicious activity related to the wpr-data-table widget. Avoid using affected plugin versions 1.7.1058 and 1.7.1059 if possible.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2026-05-07T16:50:03.874Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a34df99f198dc38c19de749
Added to database: 06/19/2026, 06:20:09 UTC
Last enriched: 06/26/2026, 13:14:31 UTC
Last updated: 08/03/2026, 07:17:58 UTC
Views: 75
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.