CVE-2025-55193rails
Low 2.7 No auth needed
Follow: this CVE · rails · rails We alert you by email or Slack (account required).
- Priority
- 31
- CVSS 4.0
- 2.7
- EPSS
- —
- Auth required
- No
- Published
- Aug 13, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-150
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- 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/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
What happens
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.
What to do
- Apply the vendor's security update for rails.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| RubyGems | activerecord |
≥ 8.0 < 8.0.2.1 |
8.0.2.1 |
gem "activerecord", ">= 8.0.2.1" |
| RubyGems | activerecord |
≥ 7.2 < 7.2.2.2 |
7.2.2.2 |
gem "activerecord", ">= 7.2.2.2" |
| RubyGems | activerecord |
< 7.1.5.2 |
7.1.5.2 |
gem "activerecord", ">= 7.1.5.2" |
Per OSV / GitHub Advisories (GHSA-76r7-hhxj-r776). Check the version in your lockfile before upgrading.
Affected products
- rails · rails
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- ruby4.0-rubygem-activerecord-8.0-8.0.3-1.3 on GA media · SUSE · openSUSE-SU-2026:10343-1 · Mar 13, 2026 Low
- Security update for hawk2 · SUSE · SUSE-SU-2026:20091-1 · Jan 13, 2026 High
- Security update for hawk2 · SUSE · SUSE-SU-2026:20093-1 · Jan 13, 2026 High
Also: SUSE (+1)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.