Quick answers
- Is CVE-2026-39393 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-39393 being exploited in the wild.
- How severe is CVE-2026-39393?
- High severity, with a CVSS score of 8.1, published 8 April 2026.
- Which products and versions are affected?
- Ci4ms < 0.31.4.0; ci4-cms-erp/ci4ms (Packagist) ECOSYSTEM:introduced=0,fixed=0.31.4.0.
- Is there a fix for CVE-2026-39393?
- Yes. ci4-cms-erp/ci4ms (Packagist): upgrade to 0.31.4.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2026-39393 attacked?
- It is attacked over the network, in a network appliance.
- Am I affected by CVE-2026-39393?
- Check whether you run Ci4ms or ci4-cms-erp/ci4ms (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- ci4-cms-erp/ci4ms (Packagist): upgrade to 0.31.4.0 or later
composer require ci4-cms-erp/ci4ms:^0.31.4.0
Technical details
The vulnerability exists in the `InstallFilter::before()` method, which relies on a volatile cache check (`cache('settings')`) and the existence of a `.env` file to block access to the installation wizard. During a cache miss (due to TTL expiry or admin-triggered clear) combined with a temporary database outage, the filter fails open because the application silently swallows database exceptions and leaves the cache empty. An unauthenticated attacker can then access the `/install` route, which is exempt from CSRF protection, and submit a POST request to overwrite the `.env` file with attacker-controlled database credentials. This results in a full application takeover, as the CMS will subsequently connect to the attacker's database for all operations. The issue is fixed in version 0.31.4.0 by implementing a persistent filesystem lock.
Affected products
- ci4-cms-erp ci4ms < 0.31.4.0
Identifiers
- CVE-2026-39393
- GHSA-8rh5-4mvx-xj7j
Timeline
- 2026-04-07: advisory: GitHub Security Advisory published
- 2026-04-08: disclosed: CVE-2026-39393 published
- 2026-04-08: patched: Vulnerability fixed in version 0.31.4.0