CVE-2025-55193 Details
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.
A vulnerability in Ruby on Rails Active Record allows for ANSI escape injection through unescaped IDs logged by methods like 'find'. This issue is present in Active Record versions prior to 7.1.5.2, 7.2.2.2, and 8.0.2.1. The vulnerability arises because the ID can be logged directly to the terminal without proper escaping, potentially leading to the execution of unescaped ANSI sequences.
Users can upgrade to Active Record versions 7.1.5.2, 7.2.2.2, or 8.0.2.1 to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Aug 13, 2025CISA-ADP
Assessed Aug 14, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/rails/rails/commit/3beef20013736fd52c5dcfdf061f7999ba318290 | [email protected] | Source CodeVendor |
| https://github.com/rails/rails/commit/568c0bc2f1e74c65d150a84b89a080949bf9eb9b | [email protected] | Source CodeVendor |
| https://github.com/rails/rails/commit/6a944ca4805e72050a0fbb1a461534eb760d3202 | [email protected] | Source CodeVendor |
| https://github.com/rails/rails/security/advisories/GHSA-76r7-hhxj-r776 | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-150 | Improper Neutralization of Escape, Meta, or Control Sequences | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Ruby on Rails Active Record | >= 8.0, < 8.0.2.1 >= 7.2, < 7.2.2.2 >= 0, < 7.1.5.2 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Aug 13, 2025 | New CVE Received | [email protected] |
Volerion