Home / rails / rails / CVE-2025-55193
CVE-2025-55193: is it exploited, and which versions of rails are affected and fixed?
CVE-2025-55193 is an improper Neutralization of Escape, Meta, or Control Sequences vulnerability in rails. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:39 UTC). Affected: activerecord from 8.0 before 8.0.2.1, activerecord from 7.2 before 7.2.2.2 and activerecord before 7.1.5.2 (GitHub advisory GHSA-76r7-hhxj-r776). Fixed in 8.0.2.1, 7.2.2.2 and 7.1.5.2 (GitHub advisory GHSA-76r7-hhxj-r776). Severity: Low (2.7, CVSS 4.0, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:39 UTC, CVE record November 19, 2026, 07:09 UTC and NVD November 19, 2026, 07:18 UTC.
What is CVE-2025-55193?
Active Record logging vulnerable to ANSI escape injection
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.
From the CVE record by GitHub_M, last updated August 14, 2025, 14:51 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| rails | rails | >= 0, < 7.1.5.2 >= 7.2, < 7.2.2.2 >= 8.0, < 8.0.2.1 |
As the CVE record by GitHub_M states it, last updated August 14, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| 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 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated August 21, 2025. Summary: Active Record logging vulnerable to ANSI escape injection.
How severe is CVE-2025-55193?
| Score | Version | Vector | Source |
|---|---|---|---|
| Low 2.7 | CVSS 4.0 | 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 | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-55193 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, August 14, 2025)
- EPSS
- 0.69% probability of exploitation activity in the next 30 days, percentile 54.1 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-150 Improper Neutralization of Escape, Meta, or Control Sequences
Where are the vendor advisories and references?
- https://github.com/rails/rails/security/advisories/GHSA-76r7-hhxj-r776 x_refsource_CONFIRM
- https://github.com/rails/rails/commit/3beef20013736fd52c5dcfdf061f7999ba318290 x_refsource_MISC
- https://github.com/rails/rails/commit/568c0bc2f1e74c65d150a84b89a080949bf9eb9b x_refsource_MISC
- https://github.com/rails/rails/commit/6a944ca4805e72050a0fbb1a461534eb760d3202 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- August 8, 2025
- Published
- August 13, 2025, 22:41 UTC
- CVE record updated
- August 14, 2025, 14:51 UTC by GitHub_M
- NVD
- Deferred, last modified June 17, 2026, 09:41 UTC
- Last checked
- CVE list November 19, 2026, 07:09 UTC; NVD November 19, 2026, 07:18 UTC; KEV December 3, 2026, 16:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect rails?
- Nov 10, 2026CVE-2026-126188 rails: information disclosure
- Nov 10, 2026CVE-2026-126186 rails: reliance on File Name or Extension of Externally-Supplied File
- Nov 10, 2026CVE-2026-126085 rails: client-Side Enforcement of Server-Side Security
- Nov 10, 2026CVE-2026-126084 rails: data authenticity not verified
- Nov 10, 2026CVE-2026-126083 rails: use of Less Trusted Source
- Nov 10, 2026CVE-2026-126081 rails: mass assignment
- Nov 10, 2026CVE-2026-126080 rails: injection
- Nov 10, 2026CVE-2026-126079 rails: cross-site scripting (XSS)
Questions about CVE-2025-55193
Is CVE-2025-55193 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:39 UTC. FIRST's EPSS gives it a 0.69% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of rails are affected by CVE-2025-55193?
activerecord from 8.0 before 8.0.2.1, activerecord from 7.2 before 7.2.2.2 and activerecord before 7.1.5.2, per the GitHub advisory GHSA-76r7-hhxj-r776. The tables above give every range the sources list.
Which version fixes CVE-2025-55193?
8.0.2.1, 7.2.2.2 and 7.1.5.2, per the GitHub advisory GHSA-76r7-hhxj-r776. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-55193?
Low (2.7, CVSS 4.0, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2025-55193?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.