Skip to content
OpenAdvisories
Low · 2.7 CVE-2025-55193 EUVD-2025-24651GHSA-76r7-hhxj-r776

Active Record logging vulnerable to ANSI escape injection

Published Aug 13, 2025 · Updated Aug 14, 2025 · 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.

Affected products

VendorProductAffectedFixed
rails rails >= 0, < 7.1.5.2, >= 7.2, < 7.2.2.2, >= 8.0, < 8.0.2.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 rails 2:7.2.2.2+dfsg-1 —
Debian 13 rails 2:7.2.2.2+dfsg-2~deb13u1 DSA-6090-1
Debian 12 rails 2:6.1.7.10+dfsg-1~deb12u2 DSA-6090-1
Debian 11 rails 2:6.0.3.7+dfsg-2+deb11u4 DLA-4416-1
ReleasePackageFixed inAdvisory
Ubuntu 26.10 rails No fix yet —
Ubuntu 26.04 LTS rails No fix yet —
Ubuntu 25.10 rails No fix yet —
Ubuntu 24.04 LTS rails No fix yet —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 22.04 LTS rails No fix yet —
Ubuntu Pro 20.04 LTS rails No fix yet —
Ubuntu Pro 18.04 LTS rails No fix yet —
Ubuntu Pro 16.04 LTS rails No fix yet —
ReleasePackageFixed inAdvisory
SLES for SAP 16.0 hawk2 2.7.0+git.1742310530.bfcd0e2c-160000.3.1 SUSE-SU-2026:20093-1
SLES 16.0 hawk2 2.7.0+git.1742310530.bfcd0e2c-160000.3.1 SUSE-SU-2026:20091-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed rubygem-activerecord-8.0 8.0.1-2.1 openSUSE-SU-2026:10343-1, openSUSE-SU-2025:15479-1
openSUSE Leap 16.0 hawk2 2.7.0+git.1742310530.bfcd0e2c-160000.3.1 openSUSE-SU-2026:20025-1

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling ruby3.2-activerecord +2 8.0.2.1-r0 —

Affected packages

EcosystemPackageAffectedFixedRecord
RubyGems activerecord >= 8.0, < 8.0.2.1 8.0.2.1 GHSA-76r7-hhxj-r776
RubyGems activerecord >= 7.2, < 7.2.2.2 7.2.2.2 GHSA-76r7-hhxj-r776
RubyGems activerecord < 7.1.5.2 7.1.5.2 GHSA-76r7-hhxj-r776

Advisories 8

References