
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-41890 is an improper input validation vulnerability in CI4MS (a CodeIgniter 4-based CMS skeleton) that allows authenticated administrators to drop arbitrary database tables via the theme deletion endpoint. It affects CI4MS versions 0.31.1.0 through 0.31.7.0 (inclusive). The vulnerability was first published to the GitHub Advisory Database on April 23, 2026, and assigned CVE-2026-41890 on May 7, 2026. It carries a CVSS v4.0 base score of 6.9 (Medium) (GitHub Advisory).
The root cause is improper input validation (CWE-20) in modules/Theme/Controllers/Theme.php within the deleteProcess() method (~line 147). The method retrieves the tables[] POST parameter directly from user input and passes each value to $forge->dropTable() without verifying that the supplied table names belong to the theme being deleted. While the deleteConfirm view correctly scopes the tables[] checkboxes to the theme's own migration files, the server-side handler performs no equivalent whitelist check, creating a trust boundary violation. An attacker with theme.delete permission can craft a POST request to /backend/themes/delete-process/<any_non_active_theme_slug> with arbitrary table names in the body to trigger unconditional table drops (GitHub Advisory, GHSA Security Advisory).
Successful exploitation allows an authenticated admin (or any user with theme.delete permission) to permanently drop any table in the application database, causing irreversible data loss and service disruption. Confirmed impact includes dropping ci4ms_users and ci4ms_auth_identities simultaneously, which disables all authentication and effectively locks out all users from the application. Any other application table — including content, configuration, and session tables — can similarly be targeted, resulting in complete availability loss for the affected CI4MS instance (GitHub Advisory).
No public exploit code or active in-the-wild exploitation has been reported. The EPSS score is approximately 0.032% (10th percentile), indicating a low near-term exploitation probability. Exploitation requires authenticated access with theme.delete permission, limiting the attack surface to privileged insiders or accounts compromised through other means. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog (GitHub Advisory).
theme.delete permission (e.g., through phishing, credential stuffing, or insider access).curl or Burp Suite, construct a POST request to /backend/themes/delete-process/<theme_slug> with a body containing one or more arbitrary table names, e.g., tables[]=ci4ms_users&tables[]=ci4ms_auth_identities.deleteProcess() method will iterate over the supplied table names and call $forge->dropTable() for each existing table without any whitelist validation.ci4ms_users and ci4ms_auth_identities disables all authentication, causing a complete service outage (GitHub Advisory, GHSA Security Advisory)./backend/themes/delete-process/<slug> containing tables[] parameters with table names not associated with the theme's migration files; requests originating from unusual IP addresses or at unusual times for admin accounts.tables[] values; database error logs indicating DROP TABLE statements for core tables such as ci4ms_users, ci4ms_auth_identities, or ci4ms_blog.ci4ms_users, ci4ms_auth_identities) that should exist; sudden authentication failures across all accounts indicating user/auth tables have been dropped.Upgrade CI4MS to version 0.31.8.0 or later, which implements a migration-based whitelist that restricts table deletion exclusively to tables belonging to the specific theme being deleted. No configuration-based workaround is available for unpatched versions; the fix requires a code-level change in deleteProcess() to derive the valid table set from the theme's migration files before acting on POST input. Administrators should also audit backend user accounts to ensure theme.delete permission is granted only to fully trusted users (CI4MS Release, GitHub Advisory).
The vulnerability was reported by researcher dapickle and published by the CI4MS maintainer bertugfahriozer via GitHub's security advisory process. No significant broader media coverage or notable public researcher commentary beyond the advisory itself has been identified. A brief mention appeared on Bluesky via an automated CVE notification account (GitHub Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."