CVE-2026-39393: CWE-306: Missing Authentication for Critical Function in ci4-cms-erp ci4ms
CVE-2026-39393 is a high-severity vulnerability in ci4ms, a CodeIgniter 4-based CMS. Versions prior to 0. 31. 4. 0 have a missing authentication check on the install route guard, which relies on a volatile cache and the presence of a . env file to block post-installation setup access. If the database is temporarily unreachable during a cache miss, the guard fails open, allowing an unauthenticated attacker to overwrite the . env file with attacker-controlled database credentials, leading to full application takeover. This vulnerability is fixed in version 0. 31.
AI Analysis
Technical Summary
The vulnerability in ci4ms (versions before 0.31.4.0) stems from a missing authentication mechanism on the install route guard. The guard depends on a volatile cache check combined with the existence of a .env file to prevent unauthorized access to the setup wizard after installation. When the database is temporarily unreachable during a cache miss (due to TTL expiry or manual cache clearing), the guard fails open, permitting an unauthenticated attacker to overwrite the .env file with malicious database credentials. This allows the attacker to fully compromise the application. The issue is tracked as CWE-306 (Missing Authentication for Critical Function) and has a CVSS 3.1 score of 8.1, indicating high severity. The vulnerability is resolved in ci4ms version 0.31.4.0.
Potential Impact
An unauthenticated attacker can exploit this vulnerability to overwrite the .env file with attacker-controlled database credentials, resulting in full application takeover. This compromises confidentiality, integrity, and availability of the affected system.
Mitigation Recommendations
Upgrade ci4ms to version 0.31.4.0 or later, where this vulnerability is fixed. There is no official patch link provided, but the vendor has addressed the issue in this release. Until upgraded, systems remain vulnerable if the database becomes temporarily unreachable during cache misses. No alternative mitigations are specified.
CVE-2026-39393: CWE-306: Missing Authentication for Critical Function in ci4-cms-erp ci4ms
Description
CVE-2026-39393 is a high-severity vulnerability in ci4ms, a CodeIgniter 4-based CMS. Versions prior to 0. 31. 4. 0 have a missing authentication check on the install route guard, which relies on a volatile cache and the presence of a . env file to block post-installation setup access. If the database is temporarily unreachable during a cache miss, the guard fails open, allowing an unauthenticated attacker to overwrite the . env file with attacker-controlled database credentials, leading to full application takeover. This vulnerability is fixed in version 0. 31.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in ci4ms (versions before 0.31.4.0) stems from a missing authentication mechanism on the install route guard. The guard depends on a volatile cache check combined with the existence of a .env file to prevent unauthorized access to the setup wizard after installation. When the database is temporarily unreachable during a cache miss (due to TTL expiry or manual cache clearing), the guard fails open, permitting an unauthenticated attacker to overwrite the .env file with malicious database credentials. This allows the attacker to fully compromise the application. The issue is tracked as CWE-306 (Missing Authentication for Critical Function) and has a CVSS 3.1 score of 8.1, indicating high severity. The vulnerability is resolved in ci4ms version 0.31.4.0.
Potential Impact
An unauthenticated attacker can exploit this vulnerability to overwrite the .env file with attacker-controlled database credentials, resulting in full application takeover. This compromises confidentiality, integrity, and availability of the affected system.
Mitigation Recommendations
Upgrade ci4ms to version 0.31.4.0 or later, where this vulnerability is fixed. There is no official patch link provided, but the vendor has addressed the issue in this release. Until upgraded, systems remain vulnerable if the database becomes temporarily unreachable during cache misses. No alternative mitigations are specified.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-04-06T22:06:40.516Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69d737041cc7ad14da41953e
Added to database: 4/9/2026, 5:20:04 AM
Last enriched: 4/9/2026, 5:27:40 AM
Last updated: 4/9/2026, 7:42:49 AM
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.