CVE-2026-32712: Ci Mailpath Command Injection

Unvalidated assignment of HTTP request input directly to the 'mailpath' configuration key. In PHP frameworks such as CodeIgniter, 'mailpath' sets the executable path to sendmail and is generally invoked using a shell function (e.g., popen). Direct assignment of user input allows an attacker to execute arbitrary OS commands. Extract the input to a local varia

Provally CuratedPublic repositoryHighMedium confidenceVerifiedApache-2.0PHP
greprules fetch cve-2026-32712-ci-mailpath-command-injection --engine opengrep

Description

Unvalidated assignment of HTTP request input directly to the 'mailpath' configuration key. In PHP frameworks such as CodeIgniter, 'mailpath' sets the executable path to sendmail and is generally invoked using a shell function (e.g., popen). Direct assignment of user input allows an attacker to execute arbitrary OS commands. Extract the input to a local varia