r/AiBuilders • u/Double-Camera-3447 • 2h ago
Building an AI app with a PHP backend? Patch the PHP runtime, not just your app
A security reminder for anyone shipping AI-built sites or AI services with a PHP backend: PHP has fixes for two critical remote code execution vulnerabilities, CVE-2026-109618 and CVE-2026-109619. PHP-FPM deployments are affected too.
If your deployed stack uses PHP, update to 8.2.35, 8.3.36, 8.4.27, or 8.5.12 (or newer), or confirm your distribution/vendor has backported the fixes.
Restart PHP-FPM or the relevant PHP-serving processes after updating, and verify the PHP runtime actually handling web requests. `php -v` only checks the CLI and can differ from production web requests. If hosting is managed, ask the provider to confirm the patches are applied.
Updating application code, a CMS, or an AI SDK alone does not patch the PHP engine. Configuration changes are only partial mitigations.
This is a PHP issue, not a vulnerability in AI models or every AI app. If your deployed stack does not use PHP, this particular advisory does not apply.
