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

- Severity: Low 2.7 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.69%, higher than 53% of CVEs (2026-12-01)
- Published: 2025-08-13T22:32:18.000Z
- Modified: 2026-09-10T03:50:26.794Z
- Also known as: GHSA-76r7-hhxj-r776
- Weaknesses: CWE-150
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- rails rails: >= 0, < 7.1.5.2; >= 7.2, < 7.2.2.2; >= 8.0, < 8.0.2.1
- activerecord (RubyGems): from 8.0 before 8.0.2.1; from 7.2 before 7.2.2.2; before 7.1.5.2

## Every score

- GitHub_M: CVSS:4.0 2.7 Low `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`
- GitHub: CVSS:4.0 Medium `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`

## References

- <https://github.com/rails/rails/security/advisories/GHSA-76r7-hhxj-r776> (web)
- <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://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)

## Sources

- CVE List: [CVE-2025-55193](https://www.cve.org/CVERecord?id=CVE-2025-55193), CVE Terms of Use, modified 2025-08-14
- GitHub Advisory Database: [GHSA-76r7-hhxj-r776](https://github.com/advisories/GHSA-76r7-hhxj-r776), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2025-55193](https://nvd.nist.gov/vuln/detail/CVE-2025-55193), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-55193 · Whole record: https://cve.day/CVE-2025-55193.json · Rebuilt by cve.day 2026-11-25T22:59:02.460Z
