Skip to content
Heist/ feed
Back to feed
Medium

CI4MS: Arbitrary Database Table Drop via Theme deleteProcess

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-41890
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 21:06 UTC · Revision 1

Source evidence

CI4MS: Arbitrary Database Table Drop via Theme deleteProcess

core-osv · Original source

Published 7 May 2026, 03:23 UTC

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.

osv:CVE-2026-41890
Complete source record
{
  "id": "08b6829493cb9d90fecc3394d2f44bf37dd5ea8a56204288afd9801a6318d0f0",
  "url": "https://osv.dev/vulnerability/CVE-2026-41890",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CI4MS: Arbitrary Database Table Drop via Theme deleteProcess",
    "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.",
    "evidence": "osv:CVE-2026-41890",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-41890",
      "aliases": [
        "CVE-2026-41890",
        "GHSA-vgrf-pr28-vf98"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/ci4-cms-erp/ci4ms",
              "type": "GIT",
              "events": [
                {
                  "introduced": "d1d13f6ad920efe2386e14491407b83ccf221a35"
                },
                {
                  "fixed": "44f10f8dcbdced7cf38221b764d674e3469563e9"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0.31.1.0"
                      },
                      {
                        "fixed": "0.31.8.0"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "44f10f8dcbdced7cf38221b764d674e3469563e9"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "0.31.8.0"
                  },
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "0.31.8.0"
                      }
                    ],
                    "source": "DESCRIPTION"
                  }
                ]
              }
            }
          ],
          "versions": [
            "0.31.7.0",
            "0.31.6.0",
            "0.31.5.0",
            "0.31.4.0",
            "0.31.3.0",
            "0.31.2.0",
            "0.31.1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-41890.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:23.576137120Z",
      "provider": "osv",
      "references": [
        "https://github.com/ci4-cms-erp/ci4ms/releases/tag/0.31.8.0",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/41xxx/CVE-2026-41890.json",
        "https://github.com/ci4-cms-erp/ci4ms/security/advisories/GHSA-vgrf-pr28-vf98",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-41890"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-20"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/41xxx/CVE-2026-41890.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-41890",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 490082,
  "published_at": "2026-05-07T03:23:31.339+00:00"
}