On the evening of 20 October, we got an early warning that PHP and Node.js were about to ship security fixes for critical vulnerabilities. Less than 24 hours later, the fixes were public, and every Laravel Cloud application needed PHP patched. We found no evidence that any customer was exploited as a result of these vulnerabilities.

This post covers what we did, what went well, and where we fell short. Laravel Cloud, Forge, Envoyer, and Vapor all needed different work, and the products that took the longest are where most of our lessons are.

#What happened

PHP and Node.js each announced security releases on 21 October. The PHP releases fixed two critical remote code execution vulnerabilities, and the Node.js releases fixed ten vulnerabilities, including a Brotli decoder flaw that could allow remote code execution.