CVE-2025-55193
LOW 2.7CVSS 4.0Active Record logging vulnerable to ANSI escape injection
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.
- Published
- 13 Aug 2025
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-150
- Also known as
- GHSA-76r7-hhxj-r776
- Sources
- NVDJSONOSV GHSA-76r7-hhxj-r776JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | LOW 2.7 | CVSS: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:U/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | RubyGems | activerecord | >= 8.0, < 8.0.2.1 | 8.0.2.1 |
| OSV | RubyGems | activerecord | >= 7.2, < 7.2.2.2 | 7.2.2.2 |
| OSV | RubyGems | activerecord | < 7.1.5.2 | 7.1.5.2 |
References
- https://github.com/rails/rails/commit/3beef20013736fd52c5dcfdf061f7999ba318290 · WEB
- https://github.com/rails/rails/commit/568c0bc2f1e74c65d150a84b89a080949bf9eb9b · WEB
- https://github.com/rails/rails/commit/6a944ca4805e72050a0fbb1a461534eb760d3202 · WEB
- https://github.com/rails/rails/security/advisories/GHSA-76r7-hhxj-r776 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-55193 · ADVISORY
- https://github.com/rails/rails · PACKAGE
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activerecord/CVE-2025-55193.yml · WEB
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 13 Aug 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 13 Aug 2025)