Create DB Tables: Missing Authorization
CVE-2026-4119 is a critical-severity missing authorization vulnerability in Create DB Tables from Jppreus, with a CVSS 3.1 base score of 9.1 out of 10. It can be exploited remotely over the network by an unauthenticated attacker, without any action from a user. Affected Create DB Tables versions: 1.2.1 and earlier. The record does not name a fixed version, so check the vendor advisory. There is no confirmed exploitation so far. EPSS estimates a 0.73% chance of exploitation within 30 days, higher than 55% of scored CVEs.
Critical severity: a successful attack would have severe impact.
What to do
- Check which version of Create DB Tables you run against the affected versions below, and install the vendor's latest release.
- Until you can update, restrict network access to the affected service so it is not reachable from untrusted networks.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| Jppreus | Create DB Tables | 1.2.1 and earlier | Not stated |
Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.
How the severity score breaks down
- Attack vector
- NetworkCan be exploited remotely over a network, including the internet.
- Attack complexity
- LowNo special conditions are needed; the attack works reliably.
- Privileges required
- NoneNo account or login is needed.
- User interaction
- NoneNo action by a victim is required.
- Scope
- UnchangedImpact stays within the vulnerable component.
- Confidentiality
- NoneNo data is disclosed.
- Integrity
- HighData or code can be modified at will.
- Availability
- HighThe component can be taken down completely.
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H. Scored by CNA (wordfence.com).
Official description
The 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.
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Missing Authorization
The product does not perform an authorization check when an actor attempts to access a resource or perform an action.
How developers prevent this class of flaw
- Divide the product into anonymous, normal, privileged, and administrative areas. Reduce the attack surface by carefully mapping roles with data and functionality. Use role-based access control (RBAC) to enforce the roles at the appropriate boundaries. Note that this approach may not protect against horizontal authorization, i.e., it will not protect a user from attacking others with the same role.
- Ensure that access control checks are performed related to the business logic. These checks may be different than the access control checks that are applied to more generic resources such as files, connections, processes, memory, and database records. For example, a database may restrict access for medical records to a specific database user, but each record might only be intended to be accessible to the patient and the patient's doctor.
- Use a vetted library or framework that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid. For example, consider using authorization frameworks such as the JAAS Authorization Framework and the OWASP ESAPI Access Control feature.
Timeline
- CVE record published.
- CISA published its SSVC assessment (exploitation: none, automatable: yes, technical impact: partial).
- Record last changed materially (score, affected products, status or references).
References
Other references
- plugins.trac.wordpress.org/browser/create-db-tables/tags/1.2.1/create-db-tables.php#L370
- plugins.trac.wordpress.org/browser/create-db-tables/tags/1.2.1/create-db-tables.php#L376
- plugins.trac.wordpress.org/browser/create-db-tables/tags/1.2.1/create-db-tables.php#L405
- plugins.trac.wordpress.org/browser/create-db-tables/tags/1.2.1/create-db-tables.php#L408
- plugins.trac.wordpress.org/browser/create-db-tables/tags/1.2.1/create-new-table.php#L14
- plugins.trac.wordpress.org/browser/create-db-tables/tags/1.2.1/create-new-table.php#L69
- plugins.trac.wordpress.org/browser/create-db-tables/trunk/create-db-tables.php#L370
- plugins.trac.wordpress.org/browser/create-db-tables/trunk/create-db-tables.php#L376
- plugins.trac.wordpress.org/browser/create-db-tables/trunk/create-db-tables.php#L405
- plugins.trac.wordpress.org/browser/create-db-tables/trunk/create-db-tables.php#L408
- plugins.trac.wordpress.org/browser/create-db-tables/trunk/create-new-table.php#L14
- plugins.trac.wordpress.org/browser/create-db-tables/trunk/create-new-table.php#L69
- wordfence.com/threat-intel/vulnerabilities/id/d1a3bc4b-cc17-4728-b242-13841b5f7660?source=cve
Recent Missing Authorization vulnerabilities
- 8.3 High severity
- 8.3 High severity
- 9.8 Critical severity
- 7.5 High severity
- 7.1 High severity
- 8.8 High severity
Spotted an error? Tell us.