What’s Vulnerable › Vulnerabilities

CVE-2025-55193: Active Record logging vulnerable to ANSI escape injection

Description

Active Record connects classes to relational database tables. Prior to versions 7.1.5.2, 7.2.2.2, and 8.0.2.1, the ID passed to find or similar methods may be logged without escaping. If this is directly to the terminal it may include unescaped ANSI sequences. This issue has been patched in versions 7.1.5.2, 7.2.2.2, and 8.0.2.1.

Affected products

How to fix

Upgrade to a fixed version: Rubygems Activerecord 8.0.2.1, 7.2.2.2, 7.1.5.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-55193 or the next vulnerability affects your stack