CVE-2025-55193

Active Record logging vulnerable to ANSI escape injection

State
Published
Severity
2.7 Low
Published
Aug 13, 2025
Updated
Aug 14, 2025
Reserved
Aug 8, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.02.7 LowCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N/E:UGitHub_M

Weaknesses

  • CWE-150 Improper Neutralization of Escape, Meta, or Control Sequences

Affected Products

ProductVersions
railsrails
  • >= 0, < 7.1.5.2Affected
  • >= 7.2, < 7.2.2.2Affected
  • >= 8.0, < 8.0.2.1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.