CVE-2025-55193

Active Record logging vulnerable to ANSI escape injection

Published Aug 13, 2025 CVSS 4.0 · 2.7 Low EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4416-1 rails security update
Debian DSA Debian DSA DSA-6090-1 rails security update
EUVD EUVD EUVD-2025-24651 Active Record logging vulnerable to ANSI escape injection
Github GHSA Github GHSA GHSA-76r7-hhxj-r776 Active Record logging vulnerable to ANSI escape injection
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Rails
Rails rails
Vendors & Products Rails
Rails rails
Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 4.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N'}

threat_severity

Moderate

Type Values Removed Values Added
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.
Title Active Record logging vulnerable to ANSI escape injection
Weaknesses CWE-150
References
Metrics cvssV4_0

{'score': 2.7, 'vector': '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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 14, 2025, 2:51 PM
Reserved
Aug 8, 2025, 9:55 PM
Status
Deferred
Published
Aug 13, 2025, 11:15 PM
Modified
Jun 17, 2026, 9:41 AM
Severity
Moderate
Public date
Aug 13, 2025, 10:41 PM