Is activerecord 1.12 vulnerable?

RubyGems · 2 releases from 1.12.1 to 1.12.2 · latest activerecord is 8.1.4.1 · checked 18 Nov 2026

Yes: 9 known advisories

Yes. activerecord 1.12.2, the last 1.12 release, is affected by 9 known security advisories (3 critical, 4 high, 2 medium), including CVE-2022-32224, CVE-2013-3221, CVE-2013-0277. 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 1.12.2

  • 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
  • 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
  • CriticalCVE-2013-3221GHSA-f57c-hx33-hvh814 May 2022

    Active Record component in Ruby on Rails has a data-type injection vulnerability

    Affected
    <4.2.0
    Fixed in
    4.2.0
  • HighCVE-2012-2695GHSA-76wq-xw4h-f8wj24 Oct 2017

    activerecord vulnerable to SQL Injection

    Affected
    >=3.0.0.beta <3.0.14 · >=3.1.0 <3.1.6 · >=3.2.0 <3.2.6 · <2.3.15
    Fixed in
    2.3.15, 3.0.14, 3.1.6, 3.2.6
  • HighCVE-2008-4094GHSA-xf96-32q2-9rw224 Oct 2017

    Rails ActiveRecord gem vulnerable to SQL injection

    Affected
    <2.1.1
    Fixed in
    2.1.1
  • CriticalCVE-2013-0277GHSA-fhj9-cjjh-27vm24 Oct 2017

    Active Record contains deserialization of arbitrary YAML

    Affected
    <2.3.17 · >=3.0.0 <3.1.0
    Fixed in
    2.3.17, 3.1.0
  • HighCVE-2012-6496GHSA-gh2w-j7cx-266424 Oct 2017

    Active Record contains SQL Injection

    Affected
    >=3.0.0.beta <3.0.18 · >=3.1.0 <3.1.9 · >=3.2.0 <3.2.10 · <2.3.15
    Fixed in
    2.3.15, 3.0.18, 3.1.9, 3.2.10
  • MediumCVE-2013-0276GHSA-gr44-7grc-37vq24 Oct 2017

    ActiveRecord vulnerable to modification of protected model attributes

    Affected
    <2.3.17 · >=3.1.0 <3.1.11 · >=3.2.0 <3.2.12
    Fixed in
    2.3.17, 3.1.11, 3.2.12

Every activerecord 1.12.x release

Affected: 1.12.1 to 1.12.2. Latest activerecord: 8.1.4.1.

VersionKnown advisories
activerecord 1.12.2CVE-2025-55193, CVE-2022-44566, CVE-2022-32224, CVE-2013-3221, CVE-2012-2695, CVE-2008-4094, CVE-2013-0277, CVE-2012-6496, CVE-2013-0276
activerecord 1.12.1CVE-2025-55193, CVE-2022-44566, CVE-2022-32224, CVE-2013-3221, CVE-2012-2695, CVE-2008-4094, CVE-2013-0277, CVE-2012-6496, CVE-2013-0276

Which of your client projects are still on activerecord 1.12?

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.