RubySec

Providing security resources for the Ruby community

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

ADVISORIES

GEM

activerecord

FRAMEWORK

Ruby on Rails

PATCHED VERSIONS

  • ~> 7.1.5.2
  • ~> 7.2.2.2
  • >= 8.0.2.1

DESCRIPTION

This vulnerability has been assigned the CVE identifier CVE-2025-55193

Impact

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.

Releases

The fixed releases are available at the normal locations.

Credits

Thanks to lio346 for reporting this vulnerability.

RELATED