CodeIgniter4 upload check bypass allows PHP code execution (before 4.7.5)
CVE-2026-142155 ほか4件
The PHP web framework CodeIgniter4 can let attackers get past upload checks and hack the server!
- CVE
- CVE-2026-142155 ほか4件
- スコア
- CVSS 9.8 · CVE-2026-142155
- 公開日
- 2026-10-09
- 初確認
対処法
Update CodeIgniter4 to 4.7.5 or later. CVE-2026-142154 is not closed by the update alone, so turn on Config\View::$restrictParserConditionals or the per-render restrictConditionals option.
すぐに更新できない場合:
設定ファイルにこの行を追加してください:
Config\View::$restrictParserConditionals
設定を誤るとサービスが止まったり、接続できなくなったりすることがあります。変更する前に下の原文リンクを確認してください。
要約
In CodeIgniter4 versions before 4.7.5, upload file checks can be bypassed, letting an unauthenticated remote attacker run PHP code on the web server. The same 4.7.5 release also covers flaws in templates, view data, request options and empty upload entries.
該当する条件
- CVE-2026-142155 client-supplied filenames kept in a web directory that runs PHP
- CVE-2026-142152 multiple-file upload used and uploaded files web-accessible
- CVE-2026-142154 users can edit template source
- CVE-2026-142154 Config\View::$restrictParserConditionals or the restrictConditionals option is off
- CVE-2026-142151 CURLRequest client reused after a failed request
- CVE-2026-142153 view data key names chosen from user input
製品別のインシデント: CodeIgniter4
CodeIgniter4 のほかの最近のインシデント
CVE 5件(下のリンクはすべて新しいタブで開きます)
勧告を読む · github.com(新しいタブで開きます)
CVE 5件それぞれの内容(下のリンクはすべて新しいタブで開きます)
- CVE-2026-142155Lets attackers get past upload checks and run PHP code. CVSS 9.8 CVE-2026-142155 勧告 · CVE-2026-142155 解説
- CVE-2026-142154Lets template editors run PHP code through template conditionals. CVSS 8.8 CVE-2026-142154 勧告 · CVE-2026-142154 解説
- CVE-2026-142151Lets attackers read the previous request's credentials and body. CVSS 8.2 CVE-2026-142151 勧告 · CVE-2026-142151 解説
あと2件を表示
- CVE-2026-142153Lets attackers run PHP code or include unintended local files through view data keys. CVSS 7.7 CVE-2026-142153 勧告 · CVE-2026-142153 解説
- CVE-2026-142152Lets attackers slip a disallowed file past checks behind an empty upload entry. CVSS 6.9 CVE-2026-142152 勧告 · CVE-2026-142152 解説