# CVE-2026-4119: Missing authorization in Create DB Tables

> Authenticated subscribers can arbitrarily create or delete database tables, potentially destroying the WordPress installation, due to missing capability checks.

- **Severity:** Critical 9.1 (`CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** No
- **Published:** 22 Apr 2026
- **Updated:** 22 Apr 2026
- **Also known as:** GHSA-jpj9-vrh6-4wmc

## What is CVE-2026-4119?

CVE-2026-4119 is a critical missing authorization vulnerability in jppreus Create DB Tables, published on 22 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

### 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.

Weakness: CWE-862 (Missing Authorization)

## Which versions are affected by CVE-2026-4119?


## How do I fix CVE-2026-4119?

No fix has been published for CVE-2026-4119 yet. Limit exposure of the affected software until one is available.

## Is CVE-2026-4119 being exploited?

There is no known exploitation of CVE-2026-4119 in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-4119 and fix it if it is affected.

What it is: CVE-2026-4119 is a critical missing authorization vulnerability in jppreus Create DB Tables, published on 22 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2026-4119 in the wild and no public exploit code.

Affected product: jppreus Create DB Tables. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-4119/ (Markdown: https://insights.sbomify.com/CVE-2026-4119/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-4119
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-4119
- OSV: https://osv.dev/vulnerability/CVE-2026-4119

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-4119/
Summaries are generated and may contain mistakes; the official description above is the record.
