cve.bz

CVE-2025-55193 rails rails

2.7 lowEPSS 1.1%Fix available

Low (2.7) in rails rails. EPSS 1.1% estimated probability of exploitation activity in the next 30 days. Fixed in activerecord 7.1.5.2, 7.2.2.2, 8.0.2.1.

On this page
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.

Severity

CVSS 4.0

2.7 low
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
EPSS
1.1% (up from 0.7% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 66th percentile. Scored 2026-11-29. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2025-08-14. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-150 Improper Neutralization of Escape, Meta, or Control Sequences
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-55193 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-55193?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-55193?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-55193 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
rails>= 0, < 7.1.5.2
rails>= 7.2, < 7.2.2.2
rails>= 8.0, < 8.0.2.1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-76r7-hhxj-r776RubyGemsactiverecord>=8.0 <8.0.2.18.0.2.1
GHSA-76r7-hhxj-r776RubyGemsactiverecord>=7.2 <7.2.2.27.2.2.2
GHSA-76r7-hhxj-r776RubyGemsactiverecord<7.1.5.27.1.5.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11rails2:6.0.3.7+dfsg-2+deb11u4DLA-4416-1
Debian12rails2:6.1.7.10+dfsg-1~deb12u2DEBIAN-CVE-2025-55193 DSA-6090-1
Debian13rails2:7.2.2.2+dfsg-2~deb13u1DEBIAN-CVE-2025-55193 DSA-6090-1
Debian14rails2:7.2.2.2+dfsg-1DEBIAN-CVE-2025-55193
Ubuntu24.04:LTS, 25.10, 26.04:LTS and 5 morerailsno fix listedUBUNTU-CVE-2025-55193
SUSELinux Enterprise High Availability Extension 16.0hawk22.7.0+git.1742310530.bfcd0e2c-160000.3.1SUSE-SU-2026:20091-1
SUSELinux Enterprise Server for SAP applications 16.0hawk22.7.0+git.1742310530.bfcd0e2c-160000.3.1SUSE-SU-2026:20093-1
openSUSELeap 16.0hawk22.7.0+git.1742310530.bfcd0e2c-160000.3.1openSUSE-SU-2026:20025-1
openSUSETumbleweedrubygem-activerecord-8.08.0.1-2.1openSUSE-SU-2025:15479-1
openSUSETumbleweedrubygem-activerecord-8.08.0.3-1.3openSUSE-SU-2026:10343-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat 3scale API Management Platform 23scale-amp2/zync-rhel8Fix deferred
Red Hat 3scale API Management Platform 23scale-amp2/zync-rhel9Fix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-55193.

Attack patterns (CAPEC)

  • CAPEC-41 Using Meta-characters in E-mail Headers to Inject Malicious Payloads Likelihood: High · Severity: High
  • CAPEC-81 Web Server Logs Tampering Likelihood: Medium · Severity: High
  • CAPEC-93 Log Injection-Tampering-Forging Likelihood: High · Severity: High
  • CAPEC-134 Email Injection Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON