Ruby released security updates for versions 4.0.9, 3.4.12, and 3.3.13 to resolve flaws in its regular expression engine. Security researchers identified that these three bugs were the underlying cause of four critical remote code execution vulnerabilities in GitLab, and warned that other Ruby applications that compile untrusted strings into regex patterns are also vulnerable to similar attacks.
The most severe of the GitLab flaws, tracked as CVE-2026-97229, carries a CVSS score of 10.0 and affects software releases dating back to version 7.0 in 2014. While GitLab patched its cloud and dedicated environments, Shodan identified approximately 60,000 exposed self-managed servers online. One security researcher reported using the Gemini 4 Argon AI model to develop a working heap exploit from the bug’s advisory in 17 minutes.
