# CVE-2025-55193: Active Record logging vulnerable to ANSI escape injection

- Priority: **Routine**
- Reason: Not severe (CVSS 2.7, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-08-13 · Modified: 2025-08-14
- Aliases: UBUNTU-CVE-2025-55193, DEBIAN-CVE-2025-55193, CGA-27rc-6cgq-q3vp, CGA-4633-jr27-7pqx, CGA-825m-7399-fcvv, CGA-fjf6-gg3f-54mc, CGA-m2mm-rqfm-mc9p, CGA-whjh-x4r2-fpr3, openSUSE-SU-2025:15479-1, CGA-4494-qwqx-h2h9, CGA-53gf-c25p-53q4, CGA-cqfm-prf9-vwgf, CGA-m29j-4chh-pgrp, CGA-m7mr-mqx8-558c, CGA-p6pr-25gp-7hjq, GHSA-76r7-hhxj-r776, CGA-qfg6-g4pj-3mh5, CGA-qpc4-m9vp-jm9p, CGA-v5fw-x5pm-phcg, CGA-w5gx-3h4j-jjwg, CGA-wcfg-xj2c-65q2, CGA-xx46-x9m9-mgw3
- Record: https://cvemate.com/vulnerability/CVE-2025-55193 · JSON: https://cvemate.com/vulnerability/CVE-2025-55193/json

## Description

```text
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.
```

## Signals

- CVSS: 2.7 low (v4.0, CVE.org) 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
- EPSS: 0.688%, percentile 54.129%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- chainguard gitlab-rails-ce-18.1 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.2 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.3 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.1 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.2 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.3 (Chainguard): All versions (No fix recorded)
- chainguard ruby3.2-activerecord (Chainguard): \< 8.0.2.1-r0
- chainguard ruby3.3-activerecord (Chainguard): \< 8.0.2.1-r0
- chainguard ruby3.4-activerecord (Chainguard): \< 8.0.2.1-r0
- wolfi ruby3.2-activerecord (Wolfi): \< 8.0.2.1-r0
- wolfi ruby3.3-activerecord (Wolfi): \< 8.0.2.1-r0
- wolfi ruby3.4-activerecord (Wolfi): \< 8.0.2.1-r0
- debian rails (Debian): \< 2:6.1.7.10+dfsg-1~deb12u2 \| \< 2:7.2.2.2+dfsg-2~deb13u1 \| \< 2:7.2.2.2+dfsg-1
- ubuntu rails (Ubuntu): All versions (No fix recorded)
- RubyGems activerecord (RubyGems): ≥ 8.0, \< 8.0.2.1 \| ≥ 7.2, \< 7.2.2.2 \| \< 7.1.5.2
- rails rails: \< 7.1.5.2 \| ≥ 7.2, \< 7.2.2.2 \| ≥ 8.0, \< 8.0.2.1
- opensuse rubygem-activerecord-8.0&distro=openSUSE Tumbleweed (openSUSE): \< 8.0.1-2.1

## References

- <https://github.com/rails/rails/security/advisories/GHSA-76r7-hhxj-r776>
- <https://github.com/rails/rails/commit/3beef20013736fd52c5dcfdf061f7999ba318290>
- <https://github.com/rails/rails/commit/568c0bc2f1e74c65d150a84b89a080949bf9eb9b>
- <https://github.com/rails/rails/commit/6a944ca4805e72050a0fbb1a461534eb760d3202>
- <https://ubuntu.com/security/CVE-2025-55193>
- <https://www.cve.org/CVERecord?id=CVE-2025-55193>
- <https://security-tracker.debian.org/tracker/CVE-2025-55193>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/55xxx/CVE-2025-55193.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-55193>
- <https://www.suse.com/security/cve/CVE-2025-55193>
- <https://github.com/rails/rails>
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activerecord/CVE-2025-55193.yml>

---

Data as of 2026-12-05T11:13:47.207Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
