Skip to content
Fencer Vulns
low 2.7

CVE-2025-55193 json

Active Record logging vulnerable to ANSI escape injection

published 2025-08-13 14 mo ago modified 2026-09-10 59 d ago also EUVD-2025-24651 , GHSA-76r7-hhxj-r776

cvss
2.7
version 4.0, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.6%
EPSS 0.6% chance of exploitation in 30 days, percentile 50%
public exploits
0
none known

Summary

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.

Patch / fix

  • rubygems activerecord 7.1.5.2, 7.2.2.2, 8.0.2.1
  • activerecord_project activerecord 7.1.5.2, 7.2.2.2, 8.0.2.1
  • rails Debian 12 2:6.1.7.10+dfsg-1~deb12u2
  • rails Debian 13 2:7.2.2.2+dfsg-2~deb13u1
  • rails Debian 14 2:7.2.2.2+dfsg-1

debian advisories DEBIAN-CVE-2025-55193

  • hawk2 SLE High Availability Extension 16.0, SLES for SAP applications 16.0 2.7.0+git.1742310530.bfcd0e2c-160000.3.1

suse advisories SUSE-SU-2026:20091-1SUSE-SU-2026:20093-1

  • rubygem-activerecord-8.0 openSUSE Tumbleweed 8.0.3-1.3
  • hawk2 openSUSE Leap 16.0 2.7.0+git.1742310530.bfcd0e2c-160000.3.1
  • rubygem-activerecord-8.0 openSUSE Tumbleweed 8.0.1-2.1

opensuse advisories openSUSE-SU-2026:10343-1openSUSE-SU-2026:20025-1openSUSE-SU-2025:15479-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2025-55193 updated cvss 4.3

activerecord: Active Record ANSI Injection Vulnerability

  • Red Hat 3scale API Management Platform 2 3scale-amp2/zync-rhel8, 3scale-amp2/zync-rhel9
    affected: workaround, no fix available “Fix deferred”

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
yes
Technical impact
partial
Assessed
14 mo ago

Exploit prediction

0.64% chance of exploitation in the next 30 days, higher than 50% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 4.0 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
CNA 4.0 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

Affected packages

ecosystem package affected fixed in
rubygems activerecord
>=8.0, <8.0.2.1
>=7.2, <7.2.2.2
<7.1.5.2
8.0.2.1
7.2.2.2
7.1.5.2

Affected products

  • rails rails

Classification

Weakness
  • CWE-150 Improper Neutralization of Escape, Meta, or Control Sequences
Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

The maintainers of rails/rails published their own advisory on GitHub. Reviewed sources take precedence over it.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.