Summary
CVE-2026-14378 is a critical authentication bypass vulnerability in the DevKit Pro plugin for WordPress (by dplugins), affecting all versions through 2.3.0. The flaw resides in the plugin’s "revert switch" user-switching feature, which trusts an attacker-controlled cookie value as proof of a privileged identity, allowing a completely unauthenticated attacker to gain full WordPress administrator access. The issue is rated CRITICAL with a CVSS v3.1 base score of 9.8.
Technical details
- Root cause: The plugin’s revert-switch handler, part of its "switch user and back" functionality, performs improper nonce and capability verification before restoring a user’s prior session.
- Trigger condition: The handler relies on the client-supplied
original_user_idcookie to determine which account to restore/authenticate as, rather than validating this value against a trusted, server-side session record. - Attack vector: A remote, unauthenticated attacker can set the
original_user_idcookie to the user ID of an administrator, combine it with a nonce value that is publicly rendered in page markup, and submit a crafted request to the revert-switch endpoint to establish an authenticated administrator session. - Impact: Successful exploitation grants full administrator-level access to the WordPress site, enabling complete site takeover — including the ability to install malicious plugins/themes, modify content, create additional privileged accounts, and achieve remote code execution through standard WordPress admin functionality.
- Privileges/interaction required: None — the attack requires no prior authentication and no victim interaction (AV:N/AC:L/PR:N/UI:N).
Affected software
- DevKit Pro (WordPress plugin by dplugins) — all versions from the earliest release through 2.3.0, inclusive.
Severity
- CVSS v3.1 Base Score: 9.8 (Critical)
- Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CWE-287: Improper Authentication
Mitigation and recommended actions
- Immediate: Update DevKit Pro to the latest available release beyond version 2.3.0. The vendor has published updated versions of the plugin through its official changelog since this issue was reported; confirm the installed version is current and that the revert-switch/user-switch feature has been updated.
- If immediate patching is not possible:
- Deactivate the DevKit Pro plugin until it can be updated, since this is a developer/admin utility plugin not required for site front-end operation.
- Audit WordPress administrator accounts for any unrecognized or newly created users, and review recent admin-level actions (plugin/theme installs, file edits) for signs of compromise.
- Rotate WordPress authentication keys/salts and force logout of all sessions if compromise is suspected.
- Restrict or monitor access to WordPress admin endpoints (e.g., via a web application firewall) as a compensating control while patching is scheduled.

