Exploring the ANSI escape injection in Active Record logging [CVE-2025-55193]
August 18, 2025
Last week, Rails added two security patches. One of them was meant to guard against CVE-2025-55193. This is a vulnerability in Active Record logging that could affect the log output. I was curious what an attacker could achieve by exploiting this vulnerability. Here, I logged my findings and created a simple PoC.