<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://cve.radiocsirt.org/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-07T09:21:02.577759+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>csirt@opendfir.org</email>
  </author>
  <link href="https://cve.radiocsirt.org" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://cve.radiocsirt.org/vuln/euvd-2026-281276</id>
    <title>EUVD-2026-281276</title>
    <updated>2026-10-07T09:21:02.638889+00:00</updated>
    <content>EUVD-2026-281276</content>
    <link href="https://cve.radiocsirt.org/vuln/euvd-2026-281276"/>
  </entry>
  <entry>
    <id>https://cve.radiocsirt.org/vuln/fkie_cve-2026-39394</id>
    <title>fkie_cve-2026-39394</title>
    <updated>2026-10-07T09:21:02.638927+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>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.</p>
      </div>
    </content>
    <link href="https://cve.radiocsirt.org/vuln/fkie_cve-2026-39394"/>
  </entry>
  <entry>
    <id>https://cve.radiocsirt.org/vuln/ghsa-vfhx-5459-qhqh</id>
    <title>GHSA-vfhx-5459-qhqh — CI4MS Vulnerable to .env CRLF Injection via Unvalidated `host` Parameter in Install Controller</title>
    <updated>2026-10-07T09:21:02.638964+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Packagist: ci4-cms-erp/ci4ms</p>
<p>## Summary</p>
<p>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).</p>
<p>## Details</p>
<p>In `modules/Install/Controllers/Install.php`, the `$valData` array (lines 13-27) defines validation rules for all POST parameters **except** `host`. The `host` value is read at line 35:</p>
<p>```php
// line 32-41
$updates = [
    'CI_ENVIRONMENT' =&gt; 'development',
    'app.baseURL' =&gt; '\'' . $this-&gt;request-&gt;getPost('baseUrl') . '\'',
    'database.default.hostname' =&gt; $this-&gt;request-&gt;getPost('host'),  // NO VALIDATION
    'database.default.database' =&gt; $this-&gt;request-&gt;getPost('dbname'),
    // ...
];
```</p>
<p>This value is passed to `updateEnvSettings()` (lines 89-101), which uses `preg_replace` with the raw value as the replacement string:</p>
<p>```php
// line 94-98
foreach ($updates as $key =&gt; $value) {
    $pattern = '/^' . preg_quote($key, '/') . '=.*/m';
    $replacement = "{$key}={$value}";
    if (preg_match($pattern, $contents)) $contents = preg_replace($pattern, $replacement, $contents);
    else $contents .= PHP_EOL . $replacement;
}
```</p>
<p>Since the `env` t…</p></div>
    </content>
    <link href="https://cve.radiocsirt.org/vuln/ghsa-vfhx-5459-qhqh"/>
  </entry>
</feed>
