CVE-2025-55193
published low CVSS 4.0 · 2.7Active Record logging vulnerable to ANSI escape injection
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| rails | — | rails>= 0, < 7.1.5.2 · >= 7.2, < 7.2.2.2 · >= 8.0, < 8.0.2.1 | Affected | Not stated | GitHub_M |
| Debian | bookworm | rails | Advisory build | 2:6.1.7.10+dfsg-1~deb12u2 | DSA-6090-1 |
| SUSE / openSUSE | SLE-16 | hawk2ppc64le | Advisory build | 2.7.0+git.1742310530.bfcd0e2c-160000.3.1 | SUSE-SU-2026:20091-1 |
| Debian | bullseye | rails | Advisory build | 2:6.0.3.7+dfsg-2+deb11u4 | DLA-4416-1 |
| Debian | trixie | rails | Advisory build | 2:7.2.2.2+dfsg-2~deb13u1 | DSA-6090-1 |
| SUSE / openSUSE | SLE-16 | hawk2ppc64le | Advisory build | 2.7.0+git.1742310530.bfcd0e2c-160000.3.1 | SUSE-SU-2026:20093-1 |
| SUSE / openSUSE | SLE-16 | hawk2s390x | Advisory build | 2.7.0+git.1742310530.bfcd0e2c-160000.3.1 | SUSE-SU-2026:20091-1 |
| SUSE / openSUSE | SLE-16 | hawk2x86_64 | Advisory build | 2.7.0+git.1742310530.bfcd0e2c-160000.3.1 | SUSE-SU-2026:20091-1 |
Show 13 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-16 | hawk2x86_64 | Advisory build | 2.7.0+git.1742310530.bfcd0e2c-160000.3.1 | SUSE-SU-2026:20093-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | hawk2aarch64 | Advisory build | 2.7.0+git.1742310530.bfcd0e2c-160000.3.1 | OPENSUSE-SU-2026:20025-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | hawk2ppc64le | Advisory build | 2.7.0+git.1742310530.bfcd0e2c-160000.3.1 | OPENSUSE-SU-2026:20025-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | hawk2s390x | Advisory build | 2.7.0+git.1742310530.bfcd0e2c-160000.3.1 | OPENSUSE-SU-2026:20025-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | hawk2x86_64 | Advisory build | 2.7.0+git.1742310530.bfcd0e2c-160000.3.1 | OPENSUSE-SU-2026:20025-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.4-rubygem-activerecord-8.0aarch64 | Advisory build | 8.0.1-2.1 | OPENSUSE-SU-2025:15479-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.4-rubygem-activerecord-8.0ppc64le | Advisory build | 8.0.1-2.1 | OPENSUSE-SU-2025:15479-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.4-rubygem-activerecord-8.0s390x | Advisory build | 8.0.1-2.1 | OPENSUSE-SU-2025:15479-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.4-rubygem-activerecord-8.0x86_64 | Advisory build | 8.0.1-2.1 | OPENSUSE-SU-2025:15479-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby4.0-rubygem-activerecord-8.0aarch64 | Advisory build | 8.0.3-1.3 | OPENSUSE-SU-2026:10343-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby4.0-rubygem-activerecord-8.0ppc64le | Advisory build | 8.0.3-1.3 | OPENSUSE-SU-2026:10343-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby4.0-rubygem-activerecord-8.0s390x | Advisory build | 8.0.3-1.3 | OPENSUSE-SU-2026:10343-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby4.0-rubygem-activerecord-8.0x86_64 | Advisory build | 8.0.3-1.3 | OPENSUSE-SU-2026:10343-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 2.7 / 10
- Severity
- low
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| rails | rails | >= 0, < 7.1.5.2 (affected)>= 7.2, < 7.2.2.2 (affected)>= 8.0, < 8.0.2.1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-150 CWE-150: Improper Neutralization of Escape, Meta, or Control Sequences
References
4- https://github.com/rails/rails/commit/3beef20013736fd52c5dcfdf061f7999ba318290
- https://github.com/rails/rails/commit/568c0bc2f1e74c65d150a84b89a080949bf9eb9b
- https://github.com/rails/rails/commit/6a944ca4805e72050a0fbb1a461534eb760d3202
- https://github.com/rails/rails/security/advisories/GHSA-76r7-hhxj-r776
Provider assertions
2GitHub_M · cna
Active Record logging vulnerable to ANSI escape injection
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 73508e0653f5e51cf390eafdaeb571a9049dd5e772af5f94b9b45363d1a45b07
- Ingested
- 23 Sep 2026, 08:53:16 UTC
- Source record
- Official CVE record