Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain WordPress Contributor account
-
DeliveryCraft wpr-data-table widget with local filesystem path as CSV URL
-
ExploitPOST crafted widget to Elementor save_builder REST endpoint
-
Executionwpr_get_csv_handle() bypasses HTTP check and calls fopen() on attacker-supplied path
-
PersistWidget preview response returns file contents line-by-line
-
ImpactExtract database credentials from wp-config.php
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V5 - File Handling File name/path control
|
| Exploitation Conditions | Exploitation requires a valid WordPress account with at minimum Contributor-level role - unauthenticated exploitation is not possible. The wpr-data-table widget and its CSV import feature (settings.table_upload_csv.url) must be available, which is present in all installations of versions 1.7.1058-1.7.1059. The attacker-controlled URL parameter must be set to a value that does not parse as an HTTP/HTTPS URL (e.g., a local filesystem path beginning with /), triggering the insecure fopen() fallback. Exploitation is limited to files readable by the PHP process user - files owned by root with restricted permissions (such as a hardened wp-config.php) would not be disclosed. Scope is unchanged (S:U), meaning the impact is confined to data accessible within the WordPress PHP process context. The critical limiting factor is the Contributor authentication requirement: sites that disable public user registration or restrict Contributor access face meaningfully lower risk. |
| Impact | The provided CVSS 3.1 score of 6.5 (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N) accurately characterizes the risk profile. The network attack vector and low complexity reflect that exploitation requires only a crafted HTTP POST to Elementor's save_builder endpoint - no special positioning or timing is needed. PR:L (low privileges) correctly marks the Contributor-level authentication requirement, which is the single most meaningful friction point limiting exposure. The C:H rating is well-justified given that wp-config.php disclosure yields database host, name, username, and password, potentially enabling full database compromise as a follow-on step beyond the base CVE. No EPSS data was provided, preventing probabilistic exploitation likelihood assessment; however, the absence of KEV listing and no reported public exploit keeps immediate automated-exploitation risk moderate. The vulnerability's narrow version range (1.7.1058-1.7.1059 only) also limits the exposed population to sites that updated to patch CVE-2026-6229 but had not yet applied the subsequent fix at time of exposure. The regression nature of this flaw - a security patch introducing a new vulnerability - is an important contextual signal: sites that applied the CVE-2026-6229 remediation promptly are precisely the ones at risk here. |
| Exploit ScenarioDerived | An attacker registers a Contributor account on a target WordPress site running Royal Addons for Elementor 1.7.1058 or 1.7.1059, then crafts a POST request to the Elementor save_builder endpoint containing a wpr-data-table widget whose settings.table_upload_csv.url field is set to an absolute local path such as /var/www/html/wp-config.php. When Elementor renders the widget preview, wpr_get_csv_handle() detects the value is not an HTTP URL and opens the file directly via fopen(), returning the database credentials embedded in wp-config.php line-by-line in the preview response. No public exploit code has been identified at time of analysis, but the attack requires only standard HTTP tooling and a valid Contributor session. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 19, 2026
Arbitrary file read in Royal Addons for Elementor versions 1.7.1058-1.7.1059 allows authenticated attackers with Contributor-level access to retrieve the contents of any file readable by the PHP process - including wp-config.php and its database credentials - via a crafted wpr-data-table widget saved through Elementor's save_builder endpoint. The flaw is a regression: the vulnerable wpr_get_csv_handle() helper was itself introduced in version 1.7.1058 as the remediation for a prior CVE (CVE-2026-6229), meaning the security patch introduced a new, exploitable path. No public exploit has been identified at time of analysis, but the low privilege bar (Contributor) and high-value disclosure target (database credentials) elevate real-world risk on WordPress sites that permit open or low-friction contributor registration.
RemediationAI
Update the Royal Addons for Elementor plugin to the version incorporating changeset 3532747, available via the WordPress Plugin Repository. The upstream fix is confirmed via the Trac changeset at https://plugins.trac.wordpress.org/changeset/3532747/royal-elementor-addons; however, the exact fixed release version number is not explicitly stated in the available data - consult the Wordfence advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/d7ce047b-3cd3-475b-9a9f-38d15174e7e5 or the plugin's changelog to confirm the minimum safe version before deploying. If immediate patching is not possible, restrict the Contributor role from accessing Elementor's save_builder REST endpoint via a WAF rule or capability filter (trade-off: may break legitimate Contributor content editing). Additionally, ensure WordPress file permissions prevent the PHP process user from reading wp-config.php directly (e.g., chmod 400 and ownership by root rather than the web server user), which mitigates the highest-impact disclosure target even if the vulnerability itself cannot be patched immediately.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability resides in the wpr_get_csv_handle() PHP helper within the Royal Addons for Elementor plugin (CPE: cpe:2.3:a:wproyal:royal_addons_for_elementor_-_addons_and_templates_kit_for_elementor:*:*:*:*:*:*:*:*), a premium Elementor extension providing drag-and-drop widget kits including a data-table widget with CSV import functionality. The root cause is classified as CWE-73 (External Control of File Name or Path): when the attacker-controlled settings.table_upload_csv.url parameter does not parse as an HTTP(S) URL, the function falls back to PHP's native is_readable() and fopen($source, 'r') calls directly against the supplied value. Because there is no allow-list restricting permitted paths, no path traversal sanitization, and no file extension check, an attacker can supply any absolute or relative filesystem path - including /var/www/html/wp-config.php - and the widget's rendered preview will return the file's content line-by-line. The Elementor save_builder REST endpoint is the delivery mechanism, and the vulnerability is exercised at widget render/preview time after the malicious widget definition is persisted.
Know when PHP gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Network-delivered via REST endpoint (AV:N), trivial to craft (AC:L), Contributor auth required (PR:L), pure read impact only (C:H/I:N/A:N).
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
EUVD-2026-37986
GHSA-82gr-q3mv-hrr3
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB