CVE-2025-55193: Active Record logging vulnerable to ANSI escape injection
Vulnerability summary
CVE-2025-55193 is a low (CVSS 2.7) vulnerability in rails. EPSS estimates a 0.69% chance of exploitation in the next 30 days, higher than 54.1% of scored vulnerabilities.
Not severe (CVSS 2.7, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 6 · Related 6Timeline
- 13-08-2025PublishedVulnerability first disclosed.
- 14-08-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
7 scores · 7 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated6.9MediumCVSS: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:UDiffers
- OSV · DebianEcosystem advisory · calculated6.9MediumCVSS: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:XDiffers
- OSV · WolfiEcosystem advisory · calculated6.9MediumCVSS: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:UDiffers
- OSV · ChainguardEcosystem advisory · calculated6.9MediumCVSS: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:UDiffers
- OSV · RubygemsEcosystem advisory · calculated5.3MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:NDiffers
- NVDNIST2.7LowCVSS: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
EPSS trend
Probability
0.69%
Chance of exploitation in the next 30 days
Percentile
54%
Versus all other CVEs
30-day change
Increase +0.05 pp
From 0.64% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard9 products
- gitlab-rails-ce-18.1All versions (No fix recorded)
- gitlab-rails-ce-18.2All versions (No fix recorded)
- gitlab-rails-ce-18.3All versions (No fix recorded)
- gitlab-rails-ce-fips-18.1All versions (No fix recorded)
- gitlab-rails-ce-fips-18.2All versions (No fix recorded)
Wolfi3 products
- ruby3.2-activerecord< 8.0.2.1-r0
- ruby3.3-activerecord< 8.0.2.1-r0
- ruby3.4-activerecord< 8.0.2.1-r0
Debian1 product
- rails< 2:6.1.7.10+dfsg-1~deb12u2 | < 2:7.2.2.2+dfsg-2~deb13u1 | < 2:7.2.2.2+dfsg-1
Opensuse1 product
- rubygem-activerecord-8.0&distro=openSUSE Tumbleweed< 8.0.1-2.1
Rails1 product
- rails< 7.1.5.2 | ≥ 7.2, < 7.2.2.2 | ≥ 8.0, < 8.0.2.1
RubyGems1 product
- activerecord≥ 8.0, < 8.0.2.1 | ≥ 7.2, < 7.2.2.2 | < 7.1.5.2
Ubuntu1 product
- railsAll versions (No fix recorded)
7 vendors · 17 products
References
12 linksShow all 12 references
- github.com/rails/railsPACKAGE