CWE-73Weakness · CWE-73

CVE-2026-8118

MEDIUM · 6.5 CVSS v3.1 Published 2026-06-19
Mitigation only
No fix yet — a mitigation exists. There is no fixed release. A documented workaround reduces exposure in the meantime.
See remediation →
71/100
Remediation priority · Elevated
Remotely reachable Zero-click

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 · unedited
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.

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 confidence

The 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.

MitigationUpgrade 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.

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 checks

Work through these to decide whether this CVE applies to you.

  1. Check Royal Addons plugin version
    In 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.
  2. Confirm wpr-data-table widget usage
    Search 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).
  3. Inspect table_upload_csv.url setting
    Query 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.
  4. Verify Contributor+ user access
    Review 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.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

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 · scoped
Mitigation available No clean upgrade yet — mitigate in the meantime
Mitigation

Upgrade 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.

Recommended fix Moderate confidence

1.7.1060 or later

  1. 1. Log in to the WordPress admin dashboard with administrator privileges
  2. 2. Navigate to Plugins > Installed Plugins
  3. 3. Locate 'Royal Addons for Elementor' in the plugin list
  4. 4. If an update is available, click 'Update Now' to update to the latest version (1.7.1060 or later)
  5. 5. Alternatively, download the latest version from the WordPress plugin repository and upload it via Plugins > Add New > Upload Plugin
  6. 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.

Have this fixed Scoped from the published advisory
  • Consultation2.0 h
  • Implementation4.0 h
  • Testing2.0 h
  • Review / QA1.0 h
9.0 hours of engineering $1,600
Get help mitigating

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 locally
dbcve dependency scanner

Check 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 sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2026-8118 in production — separate from our analysis above.

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.

What this is

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.

What belongs here
  • 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