Skip to content
OpenAdvisories
Medium · 6.9 CVE-2026-41890 EUVD-2026-28292GHSA-vgrf-pr28-vf98

CI4MS: Arbitrary Database Table Drop via Theme deleteProcess

Published May 7, 2026 · Updated May 7, 2026 · Assigned by GitHub_M

Description

CI4MS is a CodeIgniter 4-based CMS skeleton that delivers a production-ready, modular architecture with RBAC authorization and theme support. From version 0.31.1.0 to before version 0.31.8.0, the deleteProcess() action accepts a POST parameter tables[] containing arbitrary table names. These are passed directly to $forge->dropTable() without validating that the tables belong to the theme being deleted. The deleteConfirm view correctly populates tables[] from the theme's own migration files, but the server-side deleteProcess does not verify the received values against those files. An authenticated admin can craft a POST request with arbitrary table names and drop any table in the database. This issue has been patched in version 0.31.8.0.

Affected products

VendorProductAffectedFixed
ci4-cms-erp ci4ms >= 0.31.1.0, < 0.31.8.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist ci4-cms-erp/ci4ms >= 0.31.1.0, < 0.31.8.0 0.31.8.0 GHSA-vgrf-pr28-vf98

References