SCA: security update for ci4-cms-erp/ci4ms (GHSA-vfhx-5459-qhqh)

critical Tenable Cloud Security Plugin ID 440050

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::index() controller reads the host
POST parameter without any validation and passes it directly into updateEnvSettings(), which writes it
into the .env file via preg_replace(). Because newline characters in the value are not stripped, an
attacker can inject arbitrary configuration directives into the .env file. The install routes have CSRF
protection explicitly disabled, and the InstallFilter can be bypassed when cache('settings') is empty
(cache expiry or fresh deployment). This vulnerability is fixed in 0.31.4.0. (CVE-2026-39394)

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-vfhx-5459-qhqh

Plugin Details

Severity: Critical

ID: 440050

Version: Revision 1.5

Type: Local

Family: SCA Checks

Published: 4/8/2026

Updated: 7/2/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: Critical

Base Score: 10

Temporal Score: 7.8

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

CVSS Score Source: CVE-2026-39394

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.8

Vector: CVSS:3.0/AV:N/AC:L/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-39394

cwe: CWE-93