Is activerecord 6.0 vulnerable?

RubyGems · 26 releases from 6.0.0 to 6.0.6.1 · latest activerecord is 8.1.4.1 · checked 18 Nov 2026

Yes: 2 known advisories

Yes. activerecord 6.0.6.1, the last 6.0 release, is affected by 2 known security advisories (1 high, 1 medium), including CVE-2022-44566, CVE-2025-55193. 3 more affect earlier 6.0.x releases. Upgrade to 7.1.5.2 or later to fix all of them.

Upgrade with:bundle update --conservative activerecord # Gemfile: '>= 7.1.5.2'

Is your project on an affected activerecord?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Rails or Ruby apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Advisories affecting activerecord 6.0.6.1

  • MediumCVE-2025-55193GHSA-76r7-hhxj-r77613 Aug 2025

    Active Record logging vulnerable to ANSI escape injection

    Affected
    >=8.0 <8.0.2.1 · >=7.2 <7.2.2.2 · <7.1.5.2
    Fixed in
    7.1.5.2, 7.2.2.2, 8.0.2.1
  • HighCVE-2022-44566GHSA-579w-22j4-474918 Jan 2023

    Denial of Service Vulnerability in ActiveRecord's PostgreSQL adapter

    Affected
    <6.1.7.1 · >=7.0.0 <7.0.4.1
    Fixed in
    6.1.7.1, 7.0.4.1

Fixed within 6.0.x, affecting earlier releases

  • HighCVE-2023-22794GHSA-hq7p-j377-6v6318 Jan 2023

    SQL Injection Vulnerability via ActiveRecord comments

    Affected
    >=6.0.0 <6.0.6.1 · >=6.1.0 <6.1.7.1 · >=7.0.0 <7.0.4.1
    Fixed in
    6.0.6.1, 6.1.7.1, 7.0.4.1
  • CriticalCVE-2022-32224GHSA-3hhc-qp5v-9p2j12 Jul 2022

    Active Record RCE bug with Serialized Columns

    Affected
    >=7.0.0 <7.0.3.1 · >=6.1.0 <6.1.6.1 · >=6.0.0 <6.0.5.1 · <5.2.8.1
    Fixed in
    5.2.8.1, 6.0.5.1, 6.1.6.1, 7.0.3.1
  • HighCVE-2021-22880GHSA-8hc4-xxm3-5ppp2 Mar 2021

    Active Record subject to Regular Expression Denial-of-Service (ReDoS)

    Affected
    >=5.0.0 <5.2.4.5 · >=6.0.0 <6.0.3.5 · >=6.1.0 <6.1.2.1
    Fixed in
    5.2.4.5, 6.0.3.5, 6.1.2.1

Every activerecord 6.0.x release

Affected: 6.0.0 to 6.0.6.1. Latest activerecord: 8.1.4.1.

VersionKnown advisories
activerecord 6.0.6.1CVE-2025-55193, CVE-2022-44566
activerecord 6.0.6CVE-2025-55193, CVE-2022-44566, CVE-2023-22794
activerecord 6.0.5.1CVE-2025-55193, CVE-2022-44566, CVE-2023-22794
activerecord 6.0.5CVE-2025-55193, CVE-2022-44566, CVE-2023-22794, CVE-2022-32224
activerecord 6.0.4.8CVE-2025-55193, CVE-2022-44566, CVE-2023-22794, CVE-2022-32224
activerecord 6.0.4.7CVE-2025-55193, CVE-2022-44566, CVE-2023-22794, CVE-2022-32224
activerecord 6.0.4.6CVE-2025-55193, CVE-2022-44566, CVE-2023-22794, CVE-2022-32224
activerecord 6.0.4.5CVE-2025-55193, CVE-2022-44566, CVE-2023-22794, CVE-2022-32224
activerecord 6.0.4.4CVE-2025-55193, CVE-2022-44566, CVE-2023-22794, CVE-2022-32224
activerecord 6.0.4.3CVE-2025-55193, CVE-2022-44566, CVE-2023-22794, CVE-2022-32224
activerecord 6.0.4.2CVE-2025-55193, CVE-2022-44566, CVE-2023-22794, CVE-2022-32224
activerecord 6.0.4.1CVE-2025-55193, CVE-2022-44566, CVE-2023-22794, CVE-2022-32224
activerecord 6.0.4CVE-2025-55193, CVE-2022-44566, CVE-2023-22794, CVE-2022-32224
activerecord 6.0.3.7CVE-2025-55193, CVE-2022-44566, CVE-2023-22794, CVE-2022-32224
activerecord 6.0.3.6CVE-2025-55193, CVE-2022-44566, CVE-2023-22794, CVE-2022-32224
activerecord 6.0.3.5CVE-2025-55193, CVE-2022-44566, CVE-2023-22794, CVE-2022-32224
activerecord 6.0.3.4CVE-2025-55193, CVE-2022-44566, CVE-2023-22794, CVE-2022-32224, CVE-2021-22880
activerecord 6.0.3.3CVE-2025-55193, CVE-2022-44566, CVE-2023-22794, CVE-2022-32224, CVE-2021-22880
activerecord 6.0.3.2CVE-2025-55193, CVE-2022-44566, CVE-2023-22794, CVE-2022-32224, CVE-2021-22880
activerecord 6.0.3.1CVE-2025-55193, CVE-2022-44566, CVE-2023-22794, CVE-2022-32224, CVE-2021-22880
activerecord 6.0.3CVE-2025-55193, CVE-2022-44566, CVE-2023-22794, CVE-2022-32224, CVE-2021-22880
activerecord 6.0.2.2CVE-2025-55193, CVE-2022-44566, CVE-2023-22794, CVE-2022-32224, CVE-2021-22880
activerecord 6.0.2.1CVE-2025-55193, CVE-2022-44566, CVE-2023-22794, CVE-2022-32224, CVE-2021-22880
activerecord 6.0.2CVE-2025-55193, CVE-2022-44566, CVE-2023-22794, CVE-2022-32224, CVE-2021-22880
activerecord 6.0.1CVE-2025-55193, CVE-2022-44566, CVE-2023-22794, CVE-2022-32224, CVE-2021-22880
activerecord 6.0.0CVE-2025-55193, CVE-2022-44566, CVE-2023-22794, CVE-2022-32224, CVE-2021-22880

Which of your client projects are still on activerecord 6.0?

NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact activerecord version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.

Other activerecord versions

Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the RubyGems registry. Refreshed daily.