PHP2Shell: GitLab helps find a... Note
GitLab

PHP2Shell: GitLab helps find and remediate critical PHP flaws

GitLab is unaffected by the PHP2Shell vulnerabilities, CVE-2026-109618 and CVE-2026-109619, as its application is not written in PHP, and no impact has been found on GitLab-managed infrastructure. These critical remote code execution flaws were fixed by the PHP project on October 21, 2026, in specific versions of PHP for web servers running the language. It is crucial for all servers and containers running PHP to be upgraded to a patched version immediately, as framework and application-level fixes are not applicable. The guide provides instructions for security and platform teams to locate PHP projects within GitLab, track remediation efforts, and check for signs of compromise. Container scanning and code search are recommended to identify PHP projects, followed by a comparison with runtime inventory to ensure comprehensive coverage. GitLab Duo Agent Platform can assist in automating remediation tasks, but manual review remains essential. Exploitation attempts were reported before the public disclosure, necessitating a thorough review of server logs for suspicious activity. Any signs of compromise require immediate isolation of the affected server and an incident investigation. The Gemnasium dependency scanning image is flagged but not exploitable as it does not handle HTTP requests. The timeline details the discovery, reporting, and public release of the vulnerabilities and their fixes.