Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2026-33202

rails: Active Storage: Unintended file deletion via crafted blob keys

Overview

Published
24 Mar 2026
Modified
17 Jun 2026
Medium CVE
1 Registry packages
8 OS packages
4 Linux distributions
Yes Fix available

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, Active Storage's DiskService#delete_prefixed passes blob keys directly to Dir.glob without escaping glob metacharacters. If a blob key contains attacker-controlled input or custom-generated keys with glob metacharacters, it may be possible to delete unintended files from the storage directory. Versions 8.1.2.1, 8.0.4.1, and 7.2.3.1 contain a patch.

Source: OX vulnerability database

Severity

9.1 · MEDIUM

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

Weakness: CWE-74

Affected packages · 1

Packages affected by CVE-2026-33202
EcosystemPackageVulnerableFixed in
RubyGems activestorage >=8.1.0.beta1, <8.1.2.1>=8.0.0.beta1, <8.0.4.1<7.2.3.1 8.1.2.18.0.4.17.2.3.1~> 7.2.3, >= 7.2.3.1~> 8.0.4, >= 8.0.4.1

Open a package to see all its vulnerabilities.

Operating systems · 12 fixes

chainguard 1 release · 6 packages

fixed 6
gitlab-rails-ce-fips-18-10 gitlab-rails-ce-18-10 gitlab-rails-ce-18-8 gitlab-rails-ce-18-9 ruby3-4-rails-8-0 ruby3-2-rails-8-1
chainguard fixes for CVE-2026-33202
ReleasePackageFixed in
gitlab-rails-ce-fips-18-10 18.10.3-r0
gitlab-rails-ce-18-10 18.10.3-r1
gitlab-rails-ce-18-8 18.8.11-r4
gitlab-rails-ce-18-9 +1 18.9.5-r0
ruby3-4-rails-8-0 8.0.5-r0
ruby3-2-rails-8-1 8.1.3-r0

debian 4 releases · 1 package

affected 1 fixed 3
rails
debian fixes for CVE-2026-33202
ReleasePackageFixed in
11 rails affected
12 rails 2:6.1.7.10+dfsg-1~deb12u3
13 rails 2:7.2.2.2+dfsg-2~deb13u2
14 rails 2:7.2.3.1+dfsg-1

echo 1 release · 1 package

fixed 1
rails
echo fixes for CVE-2026-33202
ReleasePackageFixed in
rails 2:6.1.7.10+dfsg-1~deb12u3

wolfi 1 release · 1 package

fixed 1
ruby3-2-rails-8-1
wolfi fixes for CVE-2026-33202
ReleasePackageFixed in
ruby3-2-rails-8-1 8.1.3-r0

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.