rails: Active Storage allows users to attach cloud and local files in Rails applications
CVE-2026-33202 is fixed in rails on 1 platform, first by DEBIAN-CVE-2026-33202, released March 24, 2026. It is not reported as exploited. Patch Radar priority: Urgent.
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.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| rails · Debian 12.15 (bookworm) | 2:6.1.7.10+dfsg-1~deb12u3 | DEBIAN-CVE-2026-33202 | Mar 24, 2026 |
| rails · Debian 13.5 (trixie) | 2:7.2.2.2+dfsg-2~deb13u2 | DEBIAN-CVE-2026-33202 | Mar 24, 2026 |
| rails · Debian 14 | 2:7.2.3.1+dfsg-1 | DEBIAN-CVE-2026-33202 | Mar 24, 2026 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.