CRLF Injection Affecting ci4-cms-erp/ci4ms package, versions <0.31.4.0


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.03% (10th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about CRLF Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-CI4CMSERPCI4MS-15989825
  • published12 Apr 2026
  • disclosed8 Apr 2026
  • creditoffset

Introduced: 8 Apr 2026

CVE-2026-39394  (opens in a new tab)
CWE-93  (opens in a new tab)

How to fix?

Upgrade ci4-cms-erp/ci4ms to version 0.31.4.0 or higher.

Overview

ci4-cms-erp/ci4ms is a composer create-project ci4-cms-erp/ci4ms

Affected versions of this package are vulnerable to CRLF Injection via the host parameter in the install controller, which is not validated for newline characters before being written to the .env file. An attacker can inject arbitrary configuration directives and override application settings by submitting specially crafted POST requests containing newline characters. This can be exploited remotely without authentication, especially when CSRF protection is disabled and the install endpoint is accessible, such as during a fresh deployment or after cache expiry. This is only exploitable if the install endpoint is accessible (i.e., during a fresh install or when the cache is empty and .env does not exist or cache('settings') is not populated).

CVSS Base Scores

version 4.0
version 3.1