Skip to main content
VulnerabilityPublished

CVE-2026-45139: ci4-cms-erp ci4ms · External Control of File Name or Path

Affects ci4-cms-erp ci4msSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 6.5 Medium : upgrade to 0.31.9.0 when convenient.

Data as of 2 Dec 2026, 18:37 UTC

CVSS 3.1 base score
6.5Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 27% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 0.31.9.0
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 20 Jul 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2 Dec 2026.

What to do

Upgrade ci4ms and ci4-cms-erp/ci4ms to 0.31.9.0.

Affected software

ProductAffectedFixed in
ci4-cms-erpci4msAffected
  • <0.31.9.0
Fixed in
  • 0.31.9.0
Packagistci4-cms-erp/ci4mspkg:composer/ci4-cms-erp/ci4msOther threatsAffected
  • <0.31.9.0
Fixed in
  • 0.31.9.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Version 0.31.9.0 of ci4ms patches this vulnerability by properly validating file extensions on the source path for destructive operations. Users should upgrade to version 0.31.9.0 or later to remediate this issue. No other official remediation or temporary fixes are documented. Patch status is not explicitly stated as 'official-fix' in the advisory, but the version bump indicates a fix is available.

Description

CI4MS is a CodeIgniter 4-based content management system skeleton. Prior to version 0.31.9.0, the Fileeditor module enforces an extension allowlist (`['css','js','html','txt','json','sql','md']`) on content-write operations (`saveFile`, `createFile`), but two destructive endpoints — `deleteFileOrFolder` and `renameFile` — never validate the extension of the *source* path. A backend user with file-editor permissions can therefore unlink or rename any file inside the project root that is not explicitly listed in the small `$hiddenItems` blocklist. Critical framework files such as `app/Config/Routes.php`, `app/Config/App.php`, `app/Config/Database.php`, `app/Config/Filters.php`, `public/index.php`, and `public/.htaccess` all live outside that blocklist and can be destroyed, producing a persistent denial of service that requires filesystem-level redeployment to recover. Version 0.31.9.0 patches the issue.

References

Community reviews

Loading reviews…