CVE-2026-33173

5.3 MEDIUM
Published: March 24, 2026 Modified: March 24, 2026
View on NVD

Description

Active Storage allows users to attach cloud and local files in Rails applications. Prior to versions 8.1.2.1, 8.0.4.1, and 7.2.3.1, `DirectUploadsController` accepts arbitrary metadata from the client and persists it on the blob. Because internal flags like `identified` and `analyzed` are stored in the same metadata hash, a direct-upload client can set these flags to skip MIME detection and analysis. This allows an attacker to upload arbitrary content while claiming a safe `content_type`, bypassing any validations that rely on Active Storage's automatic content type identification. Versions 8.1.2.1, 8.0.4.1, and 7.2.3.1 contain a patch.

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

CVSS v3.x Details

0.0 Low Medium High Critical 10.0
Vector String
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
https://github.com/rails/rails/releases/tag/v7.2.3.1
Source: security-advisories@github.com
Release Notes
https://github.com/rails/rails/releases/tag/v8.0.4.1
Source: security-advisories@github.com
Release Notes
https://github.com/rails/rails/releases/tag/v8.1.2.1
Source: security-advisories@github.com
Release Notes
https://github.com/rails/rails/security/advisories/GHSA-qcfx-2mfw-w4cg
Source: security-advisories@github.com
Vendor Advisory

7 reference(s) from NVD

Quick Stats

CVSS v3 Score
5.3 / 10.0
EPSS (Exploit Probability)
0.0%
2th percentile
Exploitation Status
Not in CISA KEV

Weaknesses (CWE)

Affected Vendors

rubyonrails