OS Command Injection in CodeIgniter4 - CVE-2025-54418
Published: May 23, 2026
CodeIgniter4
Detailed vulnerability description
The vulnerability allows a remote attacker to execute arbitrary commands.
The vulnerability exists due to command injection in the ImageMagick handler when processing uploaded images with user-controlled filenames via the resize() method or adding text to images with user-controlled text content or options via the text() method. A remote attacker can supply crafted filenames, text content, or text options to execute arbitrary commands.
Only applications using the imagick image library are affected.