Vulnerability
CVE-2026-33202
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.
57 advisories report this vulnerability, across 5 ecosystems.
Advisories
- CGA-2h8g-p5v8-c74f
- CGA-397p-6cx9-qjmx
- CGA-3pw5-jq4f-h6fw
- CGA-45vh-p39r-4p9h
- CGA-4945-rmq5-c5h5
- CGA-4g74-h2x9-w93x
- CGA-4mcv-f2qq-v336
- CGA-4p2c-h7qr-6q62
- CGA-5pvg-q974-r378
- CGA-64jj-p2cg-763c
- CGA-7942-96x4-hhxh
- CGA-7hq6-xmqj-g5qp
- CGA-7mw4-x43q-236v
- CGA-8qh2-jp7c-mghx
- CGA-8v6v-w83m-cc92
- CGA-8vh5-795g-rh72
- CGA-8whv-8g3w-p94v
- CGA-976h-jw3m-f27m
- CGA-996p-xv67-4mm2
- CGA-cxfq-xx2w-3928
- CGA-f2px-83vv-7h68
- CGA-f8xm-39q5-qv9m
- CGA-fm69-3vfw-r78f
- CGA-g77w-26r5-hh6q
- CGA-g869-v2w6-wcvg
- CGA-g8jq-qvx9-xrxp
- CGA-m29q-25qr-gpc7
- CGA-m79g-gxg7-4vxg
- CGA-m7f3-wm6q-6928
- CGA-mw7h-8hc6-w8fm
- CGA-pwg5-47wp-r46c
- CGA-px2m-ff2j-v987
- CGA-q73p-rxwh-3h84
- CGA-q872-ccp8-v95v
- CGA-qvgw-qvwp-74xc
- CGA-r2w4-vcc8-4hwp
- CGA-r72x-j3c6-g4pc
- CGA-r9pf-rpf3-q3rv
- CGA-v5h9-5q8w-4p45
- CGA-v675-58cm-fx74
- CGA-vrhc-gvrx-8c4r
- CGA-whh8-8773-xffr
- CGA-wm58-c44m-vf3c
- CGA-wmwm-h4wc-mj87
- CGA-wvr9-g23r-pjww
- CGA-x6x3-pq45-6rqp
- CGA-x97m-q9gq-26fh
- CGA-x97q-hqx6-5vh2
- CGA-xfw7-qjhp-w6hr
- CGA-xj6v-xqcm-5jcf
- CGA-xm9p-cvfw-757j
- CGA-xvrj-gvj3-3wwx
-
DEBIAN-CVE-2026-33202
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`…
-
DLA-4829-1
rails - security update
-
DSA-6546-1
rails - security update
-
GHSA-73f9-jhhh-hr5m
Rails Active Storage has possible glob injection in its DiskService
-
UBUNTU-CVE-2026-33202
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`…
References
- https://github.com/rails/rails/commit/8c9676b803820110548cdb7523800db43bc6874c
- https://github.com/rails/rails/commit/955284d26e469a9c026a4eee5b21f0414ab0bccf
- https://github.com/rails/rails/commit/fa19073546360856e9f4dab221fc2c5d73a45e82
- https://github.com/rails/rails/releases/tag/v7.2.3.1
- https://github.com/rails/rails/releases/tag/v8.0.4.1
- https://github.com/rails/rails/releases/tag/v8.1.2.1
- https://github.com/rails/rails/security/advisories/GHSA-73f9-jhhh-hr5m