{"id":"CVE-2025-55193","summary":"Active Record logging vulnerable to ANSI escape injection","details":"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.","aliases":["GHSA-76r7-hhxj-r776"],"modified":"2026-10-28T02:30:33.080752686Z","published":"2025-08-13T22:41:41.890Z","related":["SUSE-SU-2026:20091-1","SUSE-SU-2026:20093-1","openSUSE-SU-2025:15479-1","openSUSE-SU-2026:10343-1","openSUSE-SU-2026:20025-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/55xxx/CVE-2025-55193.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-150"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/55xxx/CVE-2025-55193.json"},{"type":"ADVISORY","url":"https://github.com/rails/rails/security/advisories/GHSA-76r7-hhxj-r776"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-55193"},{"type":"FIX","url":"https://github.com/rails/rails/commit/3beef20013736fd52c5dcfdf061f7999ba318290"},{"type":"FIX","url":"https://github.com/rails/rails/commit/568c0bc2f1e74c65d150a84b89a080949bf9eb9b"},{"type":"FIX","url":"https://github.com/rails/rails/commit/6a944ca4805e72050a0fbb1a461534eb760d3202"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/rails/rails","events":[{"introduced":"0"},{"fixed":"ddb56de25997491b57868d3a119b6aa3cd31ad4b"},{"introduced":"fb6c4305939da06efdf2893d99130e7829c53e8b"},{"fixed":"9204eb520c2784ca7a1da9a4884aad21c59088fd"},{"introduced":"dd8f7185faeca6ee968a6e9367f6d8601a83b8db"},{"fixed":"b0c813bc7b61c71dd21ee3a6c6210f6d14030f71"},{"fixed":"3beef20013736fd52c5dcfdf061f7999ba318290"},{"fixed":"568c0bc2f1e74c65d150a84b89a080949bf9eb9b"},{"fixed":"6a944ca4805e72050a0fbb1a461534eb760d3202"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"fixed":"7.1.5.2"}],"source":"AFFECTED_FIELD","strategy":"StringRangeExpression"},{"range":[{"introduced":"7.2"},{"fixed":"7.2.2.2"}],"source":"AFFECTED_FIELD","strategy":"StringRangeExpression"},{"range":[{"introduced":"8.0"},{"fixed":"8.0.2.1"}],"source":"AFFECTED_FIELD","strategy":"StringRangeExpression"},{"range":[{"fixed":"3beef20013736fd52c5dcfdf061f7999ba318290"}],"source":"REFERENCES_COMMIT"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"568c0bc2f1e74c65d150a84b89a080949bf9eb9b"}]},{"source":"REFERENCES_COMMIT","range":[{"fixed":"6a944ca4805e72050a0fbb1a461534eb760d3202"}]}]}}],"versions":["v7.1.5.1","v7.2.2.1","v8.0.2","v8.0.1","v8.0.0","v7.2.2","v7.1.5","v7.2.1","v7.1.4","v7.2.0.rc1","v7.2.0.beta3","v7.2.0.beta2","v7.2.0.beta1","v7.1.3","v7.1.2","v7.1.1","v7.1.0","v7.1.0.rc2","v7.1.0.rc1","v7.1.0.beta1","v7.0.0.alpha2","v7.0.0.alpha1","v6.1.0.rc1","v6.0.0.beta2","v6.0.0.beta1","v5.1.0.beta1","v5.0.0.beta4","v5.0.0.beta2","v5.0.0.beta1","v4.2.0.beta1","v4.0.0.rc1","v4.0.0.beta1","v3.2.0.rc1","v3.1.0.rc1","v3.1.0.beta1","v3.0.0.beta3","v3.0.0.beta.3","v2.0.1","v2.0.0","v2.0.0_RC2","v2.0.0_RC1","v2.0.0_PR","v1.1.1","v1.1.0","v1.1.0_RC1","v0.14.3","v0.14.1","v0.13.1","v0.13.0","v0.12.0","v0.11.1","v0.11.0","v0.10.1","v0.10.0","v0.9.5","v0.9.4.1","v0.9.4","v0.9.3","v0.9.2","v0.9.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-55193.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}