Read the docs
TI-2026-28378 Aliases CVE-2026-39393GHSA-8rh5-4mvx-xj7j

Post-Installation Re-entry via Cache-Dependent Install Guard Bypass in ci4ms

Priority HIGH 70CWE-306Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
High
Impact type
Security bypass
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-306.

Summary

CI4MS is a CodeIgniter 4-based CMS skeleton that delivers a production-ready, modular architecture with RBAC authorization and theme support. Prior to 0.31.4.0, the install route guard in ci4ms relies solely on a volatile cache check (cache('settings')) combined with .env file existence to block post-installation access to the setup wizard. When the database is temporarily unreachable during a cache miss (TTL expiry or admin-triggered cache clear), the guard fails open, allowing an unauthenticated attacker to overwrite the .env file with attacker-controlled database credentials, achieving full application takeover. This vulnerability is fixed in 0.31.4.0.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00428 37th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed ci4ms (ci4-cms-erp): 0.31.4.0ci4-cms-erp/ci4ms (Packagist): 0.31.4.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
ci4-cms-erpci4msbefore 0.31.4.00.31.4.0Patch availableCNA
—ci4-cms-erp/ci4ms (Packagist)before 0.31.4.00.31.4.0Patch availableGHSA-8rh5-4mvx-xj7j
  • ci4ms Vendorci4-cms-erp Affected before 0.31.4.0 Fixed in 0.31.4.0 Patch available CNA
  • ci4-cms-erp/ci4ms (Packagist) Vendor— Affected before 0.31.4.0 Fixed in 0.31.4.0 Patch available GHSA-8rh5-4mvx-xj7j

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:ci4-cms-erp:ci4ms:*:*:*:*:*:*:*:*before 0.31.4.0Vulnerableci4-cms-erp
  • cpe:2.3:a:ci4-cms-erp:ci4ms:*:*:*:*:*:*:*:* Versions before 0.31.4.0 Vulnerable ·ci4-cms-erp

Remediation

  • Fix · CNA ci4ms (ci4-cms-erp) Fixed in 0.31.4.0
  • Fix · GHSA-8rh5-4mvx-xj7j ci4-cms-erp/ci4ms (Packagist) Fixed in 0.31.4.0 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-39393
  2. 2026-10-03 Alias added: GHSA-8rh5-4mvx-xj7j

References

  • TI-2026-26819 Improper access control in ci4-cms-erp ci4ms CVSS 3.1HIGH 8.8
  • 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
  • TI-2026-26820 Cross-site scripting in ci4-cms-erp ci4ms CVSS 3.1CRITICAL 10.0
  • TI-2026-26818 CI4MS: Blogs Categories Full Account Takeover for All-Roles & Privilege-Escalation via Stored DOM XSS CVSS 3.1CRITICAL 10.0
  • TI-2026-27238 Cross-site scripting in ci4-cms-erp ci4ms CVSS 3.1CRITICAL 9.0
See all 26 →

Sources