CVE-2025-55193: Rails

Low severity, CVSS 2.7. EPSS: 1.1% probability of exploitation activity in the next 30 days.

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.

What to do

The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.

  • Rails, from 0, before 7.1.5.2: fixed in 7.1.5.2
  • Rails, from 7.2, before 7.2.2.2: fixed in 7.2.2.2
  • Rails, from 8.0, before 8.0.2.1: fixed in 8.0.2.1

Affected products

  • Rails Rails: from 0, before 7.1.5.2 (fixed in 7.1.5.2); from 7.2, before 7.2.2.2 (fixed in 7.2.2.2); from 8.0, before 8.0.2.1 (fixed in 8.0.2.1)

Affected packages

Published 2025-08-13. Last modified 2026-06-17.