Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-104766 Overview
CVE-2026-104766 is a privilege escalation vulnerability in the LatePoint Appointment Booking Plugin for WordPress, affecting all versions up to and including 5.7.3. The flaw resides in the OsSettingsController::update() handler, which iterates over attacker-supplied settings parameters without an allowlist of permitted names or values. The companion OsSettingsHelper::prepare_value() function fails to validate roles before persisting the default_wp_role_for_customer setting. Authenticated users holding a LatePoint role with the settings__edit capability can overwrite the default WordPress role assigned to new customers with administrator.
Critical Impact
Any LatePoint customer account self-registered after the malicious setting change inherits full WordPress administrator privileges, enabling complete site takeover.
Affected Products
- LatePoint – Appointment Booking Plugin for WordPress, versions ≤ 5.7.3
- WordPress installations where the settings__edit capability has been granted to a LatePoint agent or custom role
- Sites allowing self-registration of LatePoint customer accounts
Discovery Timeline
- 2026-10-10 - CVE-2026-104766 published to NVD
- 2026-10-13 - Last updated in NVD database
Technical Details for CVE-2026-104766
Vulnerability Analysis
The vulnerability is an Improper Privilege Management flaw [CWE-269] in the LatePoint settings workflow. The OsSettingsController::update() handler in lib/controllers/settings_controller.php accepts a settings array from the request and iterates every key-value pair without consulting an allowlist. Each pair is passed to OsSettingsHelper::prepare_value() in lib/helpers/settings_helper.php, which persists values directly to the plugin's option store. The default_wp_role_for_customer option controls which WordPress role is assigned by customer_helper.php when a new LatePoint customer registers. The UI restricts this dropdown to low-privilege roles, but the server never enforces that restriction.
Root Cause
Server-side input validation is missing on two layers. First, the controller does not restrict which settings keys may be written. Second, the helper does not validate that default_wp_role_for_customer falls within a safe role allowlist. Trust is placed entirely on the UI dropdown, violating the principle that client-side controls cannot enforce authorization boundaries.
Attack Vector
An attacker must authenticate as a LatePoint user holding the settings__edit capability, typically an agent or custom role granted by the site administrator. The attacker submits a settings update request setting default_wp_role_for_customer to administrator. The attacker then triggers self-registration of a new LatePoint customer, either directly or by waiting for a legitimate registration. The newly created account receives full WordPress administrator privileges, granting control over plugins, themes, users, and arbitrary PHP execution via theme or plugin editing.
For technical references, see the LatePoint Settings Controller code, the LatePoint Settings Helper code, and the Wordfence Vulnerability Report.
Detection Methods for CVE-2026-104766
Indicators of Compromise
- Unexpected WordPress user accounts holding the administrator role created shortly after a LatePoint customer registration event.
- Changes to the default_wp_role_for_customer option in the LatePoint settings table where the value equals administrator, editor, or any elevated role.
- POST requests to LatePoint settings endpoints originating from non-administrator user sessions containing a settings[default_wp_role_for_customer] parameter.
Detection Strategies
- Audit the WordPress wp_options table for the LatePoint settings record and alert on changes to the customer role value.
- Correlate LatePoint customer registration events with new wp_users entries assigned elevated roles.
- Review access logs for authenticated requests to the settings controller performed by users without full administrator privileges.
Monitoring Recommendations
- Enable WordPress audit logging for role and capability changes across all users.
- Monitor LatePoint agent and custom role accounts for anomalous settings activity.
- Alert on any new user whose creation timestamp aligns with a LatePoint registration event and whose role is administrator.
How to Mitigate CVE-2026-104766
Immediate Actions Required
- Update LatePoint to the version addressed in changeset 3728691 immediately.
- Review all LatePoint roles and revoke the settings__edit capability from any role that does not strictly require it.
- Enumerate WordPress administrator accounts and remove any that cannot be attributed to a legitimate administrator.
- Reset credentials for all remaining administrator accounts and rotate WordPress authentication keys and salts.
Patch Information
The vendor addressed the issue in the LatePoint update tracked by changeset 3728691. The fix introduces server-side validation for the default_wp_role_for_customer setting and restricts which keys the settings handler accepts. Site owners should upgrade to a version later than 5.7.3.
Workarounds
- Remove the settings__edit capability from all non-administrator LatePoint roles until patching is complete.
- Disable LatePoint customer self-registration to prevent attacker-controlled accounts from being provisioned.
- Restrict access to LatePoint administrative endpoints at the web server or WAF layer by source IP.
# Example: temporarily restrict access to LatePoint settings endpoints via .htaccess
<FilesMatch "admin-ajax\.php|admin\.php">
SetEnvIf Request_URI "latepoint" latepoint_request
Require all denied
Require ip 203.0.113.0/24
</FilesMatch>
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

