CVE-2026-33202
March 23, 2026
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.
Affected Packages
https://github.com/rails/rails.git (GITHUB):
Affected version(s) >=v8.1.0 <v8.1.3Fix Suggestion:
Update to version v8.1.3https://github.com/rails/rails.git (GITHUB):
Affected version(s) =v8.1.2 <v8.1.2.1Fix Suggestion:
Update to version v8.1.2.1https://github.com/rails/rails.git (GITHUB):
Affected version(s) >=v8.0.0 <v8.0.5Fix Suggestion:
Update to version v8.0.5https://github.com/rails/rails.git (GITHUB):
Affected version(s) =v7.2.3 <v7.2.3.1Fix Suggestion:
Update to version v7.2.3.1https://github.com/rails/rails.git (GITHUB):
Affected version(s) >=v8.0.0 <v8.0.4.1Fix Suggestion:
Update to version v8.0.4.1activestorage (RUBY):
Affected version(s) >=8.1.0.beta1 <8.1.2.1Fix Suggestion:
Update to version 8.1.2.1activestorage (RUBY):
Affected version(s) >=0.1 <7.2.3.1Fix Suggestion:
Update to version 7.2.3.1activestorage (RUBY):
Affected version(s) >=8.0.0.beta1 <8.0.4.1Fix Suggestion:
Update to version 8.0.4.1Related ResourcesĀ (9)
Do you need more information?
Contact UsCVSS v4
Base Score:
6.6
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
HIGH
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
Exploit Maturity
UNREPORTED
CVSS v3
Base Score:
7.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
HIGH
Availability
NONE
Weakness Type (CWE)
Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
EPSS
Base Score:
0.02