CVE-2026-39394
Last modified
CVE-2026-39394 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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(). EPSS estimates a 0.52% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Ci4-Cms-Erp | Ci4ms | < 0.31.4.0 |
References
- https://github.com/ci4-cms-erp/ci4ms/security/advisories/GHSA-vfhx-5459-qhqhExploit, Vendor Advisory
- https://github.com/ci4-cms-erp/ci4ms/security/advisories/GHSA-vfhx-5459-qhqhExploit, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-39394?
How severe is CVE-2026-39394?
How do I fix CVE-2026-39394?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-39389CI4MS is a CodeIgniter 4-based CMS skeleton that delivers a …7.2
- CVE-2026-3939Insufficient policy enforcement in PDF in Google Chrome prio…5.3
- CVE-2026-39390CI4MS is a CodeIgniter 4-based CMS skeleton that delivers a …4.8
- CVE-2026-39391CI4MS is a CodeIgniter 4-based CMS skeleton that delivers a …4.8
- CVE-2026-39392CI4MS is a CodeIgniter 4-based CMS skeleton that delivers a …4.8
- CVE-2026-39393CI4MS is a CodeIgniter 4-based CMS skeleton that delivers a …8.1
- CVE-2026-39395Cosign provides code signing and transparency for containers…5.3
- CVE-2026-39396OpenBao is an open source identity-based secrets management …6.5
- CVE-2026-39397@delmaredigital/payload-puck is a PayloadCMS plugin for inte…9.8
- CVE-2026-39398Rejected reason: The affected product and advisory are not p…
- CVE-2026-39399NuGet Gallery is a package repository that powers nuget.org.…9.6
- CVE-2026-3940Insufficient policy enforcement in DevTools in Google Chrome…5.3
Are you affected by CVE-2026-39394?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
