{"id":"CVE-2025-55193","aliases":["CVE-2025-55193","GHSA-76r7-hhxj-r776"],"related":[],"kind":"vulnerability","state":"published","title":"Active Record logging vulnerable to ANSI escape injection","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"This vulnerability has been assigned the CVE identifier CVE-2025-55193\n\n### Impact\nThe 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.\n\n### Releases\nThe fixed releases are available at the normal locations.\n\n### Credits\n\nThanks to [lio346](https://hackerone.com/lio346) from Unit 515 of OPSWAT for reporting this vulnerability","format":"markdown","source":"ghsa"},{"lang":"es","text":"Active Record conecta clases con tablas de bases de datos relacionales. En versiones anteriores a la 7.1.5.2, 7.2.2.2 y 8.0.2.1, el ID pasado a métodos \"find\" o similares podía registrarse sin escape. Si se envía directamente a la terminal, puede incluir secuencias ANSI sin escape. Este problema se ha corregido en las versiones 7.1.5.2, 7.2.2.2 y 8.0.2.1.","source":"nvd"}],"published":"2025-08-13T22:32:18.000Z","modified":"2026-09-10T03:50:26.794Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","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","score":2.7,"rating":"LOW"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","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","score":2.7,"rating":"LOW"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","rating":"MEDIUM"}],"cwes":["CWE-150"],"affected":[{"ranges":[{"version":">= 0, < 7.1.5.2","status":"affected"},{"version":">= 7.2, < 7.2.2.2","status":"affected"},{"version":">= 8.0, < 8.0.2.1","status":"affected"}],"vendor":"rails","product":"rails","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"8.0","status":"affected","fixed":"8.0.2.1"}],"ecosystem":"RubyGems","package":"activerecord","purl":"pkg:gem/activerecord","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"7.2","status":"affected","fixed":"7.2.2.2"}],"ecosystem":"RubyGems","package":"activerecord","purl":"pkg:gem/activerecord","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"7.1.5.2"}],"ecosystem":"RubyGems","package":"activerecord","purl":"pkg:gem/activerecord","source":"ghsa"}],"references":[{"url":"https://github.com/rails/rails/security/advisories/GHSA-76r7-hhxj-r776","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/rails/rails/commit/3beef20013736fd52c5dcfdf061f7999ba318290","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/rails/rails/commit/568c0bc2f1e74c65d150a84b89a080949bf9eb9b","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/rails/rails/commit/6a944ca4805e72050a0fbb1a461534eb760d3202","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-55193","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/rails/rails","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activerecord/CVE-2025-55193.yml","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2025-08-14T13:42:07.857Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-55193","url":"https://www.cve.org/CVERecord?id=CVE-2025-55193","licence":"CVE Terms of Use","modified":"2025-08-14T14:51:11.284Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-76r7-hhxj-r776","url":"https://github.com/advisories/GHSA-76r7-hhxj-r776","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:26.794Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-55193","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-55193","licence":"Public domain","modified":"2026-06-17T09:41:25.953Z"}],"updatedAt":"2026-11-25T22:59:02.460Z","epss":{"score":0.00688,"percentile":0.53992,"date":"2026-12-01T12:00:22.000Z"}}