CI4MS: Arbitrary Database Table Drop via Theme deleteProcess
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| ci4-cms-erp | ci4ms | 0.31.1.0 to before 0.31.8.0 | 0.31.8.0 | Patch available | CNA |
| — | ci4-cms-erp/ci4ms (Packagist) | 0.31.1.0 to before 0.31.8.0 | 0.31.8.0 | Patch available | GHSA-vgrf-pr28-vf98 |
- ci4ms Vendorci4-cms-erp Affected 0.31.1.0 to before 0.31.8.0 Fixed in 0.31.8.0 Patch available CNA
- ci4-cms-erp/ci4ms (Packagist) Vendor— Affected 0.31.1.0 to before 0.31.8.0 Fixed in 0.31.8.0 Patch available GHSA-vgrf-pr28-vf98
CPE names Threatist (inferred) · 1
Inferred from how NVD named this product before; not given by a source.
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:ci4-cms-erp:ci4ms:*:*:*:*:*:*:*:* | — | — | ci4-cms-erp |
- cpe:2.3:a:ci4-cms-erp:ci4ms:*:*:*:*:*:*:*:* Versions — — ·ci4-cms-erp
Remediation
- Fix · CNA ci4ms (ci4-cms-erp) Fixed in 0.31.8.0
- Fix · GHSA-vgrf-pr28-vf98 ci4-cms-erp/ci4ms (Packagist) Fixed in 0.31.8.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-41890
- 2026-10-03 Alias added: GHSA-vgrf-pr28-vf98
References
More ci4-cms-erp vulnerabilities
- TI-2026-26819 Improper access control in ci4-cms-erp ci4ms CVSS 3.1HIGH 8.8
- TI-2026-30140 CI4MS: Unrestricted PHP File Upload via Theme Installation Leads to Authenticated Remote Code Execution CVSS 4.0HIGH 8.6
- TI-2026-29823 ci4ms Theme::upload is vulnerable to Zip Slip leading to RCE CVSS 4.0CRITICAL 9.4
- TI-2026-29822 ci4ms Backup::restore is vulnerable to Zip Slip leading to RCE CVSS 4.0CRITICAL 9.4
- TI-2026-28379 CI4MS has an .env CRLF Injection via Unvalidated `host` Parameter in Install Controller CVSS 3.1CRITICAL 9.8
- TI-2026-27211 Cross-site scripting in ci4-cms-erp ci4ms CVSS 4.0CRITICAL 9.4
Sources
- CVE-2026-41890 · CVE Program
- CVE-2026-41890 · NVD
- FIRST EPSS
- GHSA-vgrf-pr28-vf98 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences