SCA: security update for ci4-cms-erp/ci4ms (GHSA-8rh5-4mvx-xj7j)

high Tenable Self-Hosted Container Security Plugin ID 440052

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2026-39393)

Solution

Update the ci4-cms-erp/ci4ms library and its related packages to version 0.31.4.0 or later.

See Also

https://github.com/advisories/GHSA-8rh5-4mvx-xj7j

Plugin Details

Severity: High

ID: 440052

Version: Revision 1.6

Type: Local

Family: SCA Checks

Published: 4/8/2026

Updated: 6/1/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 57.96

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 7.6

Temporal Score: 6

Vector: CVSS2#AV:N/AC:H/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2026-39393

CVSS v3

Risk Factor: High

Base Score: 8.1

Temporal Score: 7.3

Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 4/8/2026

Vulnerability Publication Date: 4/8/2026

Reference Information

CVE: CVE-2026-39393

cwe: CWE-306