Skip to main content
← All vulnerabilities
CVE-2025-55193GHSA-76R7-HHXJ-R776

Active Record logging vulnerable to ANSI escape injection

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 7.1.5.2, 7.2.2.2, 8.0.2.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • rails rails

    fixed in 7.1.5.2; From 7.2 · fixed in 7.2.2.2; From 8.0 · fixed in 8.0.2.1

  • activerecordRubyGems

    From 8.0 · fixed in 8.0.2.1

  • activerecordRubyGems

    From 7.2 · fixed in 7.2.2.2

  • activerecordRubyGems

    fixed in 7.1.5.2

References 4

GitHub · rails/rails