Create DB Tables <= 1.2.1 - Missing Authorization to Authenticated (Subscriber+) Arbitrary Database Table Creation/Deletion via admin-post.php

Summary

CVECVE-2026-4119
StatePUBLISHED
AssignerWordfence
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-04-22 09:16:23 UTC
Updated2026-04-22 09:16:23 UTC
DescriptionThe Create DB Tables plugin for WordPress is vulnerable to authorization bypass in all versions up to and including 1.2.1. The plugin registers admin_post action hooks for creating tables (admin_post_add_table) and deleting tables (admin_post_delete_db_table) without implementing any capability checks via current_user_can() or nonce verification via wp_verify_nonce()/check_admin_referer(). The admin_post hook only requires the user to be logged in, meaning any authenticated user including Subscribers can access these endpoints. The cdbt_delete_db_table() function takes a user-supplied table name from $_POST['db_table'] and executes a DROP TABLE SQL query, allowing any authenticated attacker to delete any database table including critical WordPress core tables such as wp_users or wp_options. The cdbt_create_new_table() function similarly allows creating arbitrary tables. This makes it possible for authenticated attackers, with Subscriber-level access and above, to create arbitrary database tables and delete any existing database table, potentially destroying the entire WordPress installation.

Risk And Classification

Primary CVSS: v3.1 9.1 CRITICAL from [email protected]

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

Problem Types: CWE-862 | CWE-862 CWE-862 Missing Authorization


VersionSourceTypeScoreSeverityVector
3.1[email protected]Primary9.1CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
3.1CNADECLARED9.1CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Jppreus Create DB Tables affected 1.2.1 semver Not specified

References

ReferenceSourceLinkTags
plugins.trac.wordpress.org/browser/create-db-tables/tags/1.2.1/create-db-tables.php [email protected] plugins.trac.wordpress.org
plugins.trac.wordpress.org/browser/create-db-tables/trunk/create-db-tables.php [email protected] plugins.trac.wordpress.org
plugins.trac.wordpress.org/browser/create-db-tables/tags/1.2.1/create-db-tables.php [email protected] plugins.trac.wordpress.org
plugins.trac.wordpress.org/browser/create-db-tables/trunk/create-db-tables.php [email protected] plugins.trac.wordpress.org
plugins.trac.wordpress.org/browser/create-db-tables/trunk/create-db-tables.php [email protected] plugins.trac.wordpress.org
plugins.trac.wordpress.org/browser/create-db-tables/trunk/create-new-table.php [email protected] plugins.trac.wordpress.org
plugins.trac.wordpress.org/browser/create-db-tables/trunk/create-db-tables.php [email protected] plugins.trac.wordpress.org
plugins.trac.wordpress.org/browser/create-db-tables/tags/1.2.1/create-new-table.php [email protected] plugins.trac.wordpress.org
plugins.trac.wordpress.org/browser/create-db-tables/trunk/create-new-table.php [email protected] plugins.trac.wordpress.org
plugins.trac.wordpress.org/browser/create-db-tables/tags/1.2.1/create-new-table.php [email protected] plugins.trac.wordpress.org
plugins.trac.wordpress.org/browser/create-db-tables/tags/1.2.1/create-db-tables.php [email protected] plugins.trac.wordpress.org
plugins.trac.wordpress.org/browser/create-db-tables/tags/1.2.1/create-db-tables.php [email protected] plugins.trac.wordpress.org
www.wordfence.com/threat-intel/vulnerabilities/id/d1a3bc4b-cc17-4728-b242-13841... [email protected] www.wordfence.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

CNA: Youcef Hamdani (en)

Additional Advisory Data

SourceTimeEvent
CNA2026-04-21T19:08:50.000ZDisclosed
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report