CVE-2026-33202: Active Storage allows users to attach cloud and local files in Rails applications
CVE-2026-33202 is a critical-severity flaw (CVSS 9.1) affecting rails. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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
Why this priority
- Critical severity
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.1 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.7% (top 48%) |
| CISA exploited list | No |
| Weakness | CWE-74 |
| Published | 2026-03-24 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-33202?
rails: upgrade to 7.2.3.1, 8.0.4.1, 8.1.2.1. Exact commands for each OS are on this page.
Is CVE-2026-33202 being exploited?
CVE-2026-33202 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-33202 affect?
CVE-2026-33202 affects rails. Severity is critical (CVSS 9.1). 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
How urgent is CVE-2026-33202?
Priority 50/100. Critical severity; Remotely exploitable, no login, no user action
Software pages
Related CVEs
- CVE-2023-22795 HIGH 7.5 UPGRADE MITIGATE A regular expression based DoS vulnerability in Action Dispatch <6.1.7.1 and <7.0.4.1 related to the If-None-M
- CVE-2023-22792 HIGH 7.5 UPGRADE A regular expression based DoS vulnerability in Action Dispatch <6.0.6.1,< 6.1.7.1, and <7.0.4.1
- CVE-2026-33167 MEDIUM 6.1 UPGRADE Action Pack is a Rubygem for building web applications on the Rails framework
- CVE-2026-33195 CRITICAL 9.8 UPGRADE Active Storage allows users to attach cloud and local files in Rails applications
- CVE-2026-33658 MEDIUM 6.5 UPGRADE Active Storage allows users to attach cloud and local files in Rails applications