CVE-2026-8118
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedThe 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceThe Royal Addons plugin for WordPress contains an arbitrary file read vulnerability in the wpr_get_csv_handle() helper function (versions 1.7.1058-1.7.1059). When processing the table_upload_csv.url setting, the function falls back to local file operations using is_readable() and fopen() on the user-supplied value when it doesn't parse as an HTTP URL. No allow-list, path traversal prevention, or file extension validation is performed, allowing authenticated Contributor+ users to read any file accessible to the PHP process via a crafted wpr-data-table widget saved through Elementor's save_builder endpoint.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- None
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Check Royal Addons plugin versionIn WordPress admin, go to Plugins > Installed Plugins > Royal Addons for Elementor and verify the version number. Alternatively, inspect the plugin main file header at wp-content/plugins/royal-addons-for-elementor/main.php for the 'Version' field.Affected if The installed version is 1.7.1058 or 1.7.1059 exactly, or falls within the 1.7.1058 to 1.7.1059 range.
-
Confirm wpr-data-table widget usageSearch the WordPress database (wp_postmeta table) for postmeta with meta_key containing 'wpr-data-table' or examine page content via Elementor editor to see if the data table widget is present on any published or draft pages.Affected if A wpr-data-table widget exists in any saved Elementor layout (published, draft, or revision).
-
Inspect table_upload_csv.url settingQuery the wp_postmeta table for meta_key matching 'wpr-data-table' and examine the meta_value for the 'table_upload_csv' configuration containing a 'url' field. Check if it contains a local file path (non-HTTP) or arbitrary URL.Affected if The table_upload_csv.url setting exists in any widget data and contains a file path string rather than a validated HTTP URL.
-
Verify Contributor+ user accessReview WordPress user roles at Users > All Users to identify any users with Contributor, Author, Editor, or Administrator roles who have access to Elementor page editing.Affected if Any user with Contributor-level access or higher exists in the WordPress installation and can access the Elementor save_builder endpoint.
You are affected if the Royal Addons plugin version is between 1.7.1058 and 1.7.1059 inclusive AND a wpr-data-table widget with a table_upload_csv.url setting exists on your site, allowing an authenticated Contributor+ user to read arbitrary files.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedUpgrade to version 1.7.1060 or later which should implement proper input validation including allow-listing for permitted URL sources, path traversal prevention, and file extension restrictions on the table_upload_csv.url parameter.
1.7.1060 or later
- 1. Log in to the WordPress admin dashboard with administrator privileges
- 2. Navigate to Plugins > Installed Plugins
- 3. Locate 'Royal Addons for Elementor' in the plugin list
- 4. If an update is available, click 'Update Now' to update to the latest version (1.7.1060 or later)
- 5. Alternatively, download the latest version from the WordPress plugin repository and upload it via Plugins > Add New > Upload Plugin
- 6. After updating, verify the wpr_get_csv_handle() function has been modified to properly validate and sanitize the table_upload_csv.url parameter
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation4.0 h
- Testing2.0 h
- Review / QA1.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,560.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-8118 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-8118 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data