Skip to main content
← All vulnerabilities
CVE-2026-41890GHSA-VGRF-PR28-VF98

CI4MS: Arbitrary Database Table Drop via Theme deleteProcess

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.31.8.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • ci4-cms-erp ci4ms

    From 0.31.1.0 · fixed in 0.31.8.0

  • ci4-cms-erp/ci4msPackagist

    From 0.31.1.0 · fixed in 0.31.8.0

References 2

GitHub · ci4-cms-erp/ci4ms