CVE-2022-32224

CRITICAL

Activerecord < 5.2.8.1 - Insecure Deserialization

Title source: rule
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2022-32224. PoCs published by ooooooo-q.

AI-analyzed exploit summary This repository demonstrates CVE-2022-32224, a deserialization vulnerability in Ruby on Rails' ActiveRecord. It includes a functional PoC showing how arbitrary classes can be serialized and deserialized in Rails 7.0.3, leading to potential RCE, while also confirming the fix in Rails 7.0.3.1.

Description

A possible escalation to RCE vulnerability exists when using YAML serialized columns in Active Record < 7.0.3.1, <6.1.6.1, <6.0.5.1 and <5.2.8.1 which could allow an attacker, that can manipulate data in the database (via means like SQL injection), the ability to escalate to an RCE.

Exploits (1)

nomisec WORKING POC 2 stars
by ooooooo-q · poc
https://github.com/ooooooo-q/cve-2022-32224-rails

This repository demonstrates CVE-2022-32224, a deserialization vulnerability in Ruby on Rails' ActiveRecord. It includes a functional PoC showing how arbitrary classes can be serialized and deserialized in Rails 7.0.3, leading to potential RCE, while also confirming the fix in Rails 7.0.3.1.

Classification
Working Poc 95%
Attack Type
Deserialization
Complexity
Moderate
Reliability
Reliable
Target: Ruby on Rails 7.0.3
No auth needed
Prerequisites: Ruby on Rails application with ActiveRecord using serialized columns
mistral-large-3 · analyzed Feb 18, 2026 Full analysis →

References (3)

Core 3

Scores

CVSS v3 9.8
EPSS 0.0239
EPSS Percentile 82.0%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation poc
Automatable yes
Technical Impact total

Details

CWE
CWE-502
Status published
Products (6)
None/https://github.com/rails/rails 7.0.3.1, 6.1.6.1, 6.0.5.1, 5.2.8.1
activerecord_project/activerecord < 5.2.8.1
rubygems/activerecord 0 - 5.2.8.1RubyGems
rubygems/activerecord 6.0.0 - 6.0.5.1RubyGems
rubygems/activerecord 6.1.0 - 6.1.6.1RubyGems
rubygems/activerecord 7.0.0 - 7.0.3.1RubyGems
Published Dec 05, 2022
Tracked Since Feb 18, 2026