Unescaped ANSI Sequences Vulnerability in Active Record by Rails
CVE-2025-55193

2.7LOW

Key Information:

Vendor

Rails

Status
Vendor
CVE Published:
13 August 2025

What is CVE-2025-55193?

Active Record, a component of Rails that links classes to relational database tables, has a vulnerability that affects its logging mechanism. Prior to the releases of versions 7.1.5.2, 7.2.2.2, and 8.0.2.1, the ID passed to methods such as find may be recorded without proper escaping. This logging could inadvertently include unescaped ANSI sequences if directed to a terminal, potentially leading to unexpected behavior or information exposure. Users are advised to upgrade to the patched versions to mitigate this risk.

Affected Version(s)

rails >= 0, < 7.1.5.2 < 0, 7.1.5.2

rails >= 7.2, < 7.2.2.2 < 7.2, 7.2.2.2

rails >= 8.0, < 8.0.2.1 < 8.0, 8.0.2.1

References

CVSS V4

Score:
2.7
Severity:
LOW
Confidentiality:
None
Integrity:
None
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.
CVE-2025-55193 : Unescaped ANSI Sequences Vulnerability in Active Record by Rails