# CVE-2026-33202: Rails Active Storage has possible glob injection in its DiskService

- Priority: **Routine**
- Reason: Not severe (CVSS 6.6, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-03-23 · Modified: 2026-03-24
- Aliases: UBUNTU-CVE-2026-33202, DEBIAN-CVE-2026-33202, CGA-7mw4-x43q-236v, CGA-px2m-ff2j-v987, 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-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, GHSA-73f9-jhhh-hr5m, CGA-pwg5-47wp-r46c, 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
- Record: https://cvemate.com/vulnerability/CVE-2026-33202 · JSON: https://cvemate.com/vulnerability/CVE-2026-33202/json

## Description

```text
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.
```

## Signals

- CVSS: 9.1 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
- EPSS: 0.734%, percentile 55.772%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 32)

- chainguard gitlab-rails-ce-18.1 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.10 (Chainguard): \< 18.10.3-r1
- chainguard gitlab-rails-ce-18.2 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.3 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.4 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.5 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.6 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.7 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.8 (Chainguard): \< 18.8.11-r4
- chainguard gitlab-rails-ce-18.9 (Chainguard): \< 18.9.5-r0
- chainguard gitlab-rails-ce-fips-18.1 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.10 (Chainguard): \< 18.10.3-r0
- chainguard gitlab-rails-ce-fips-18.2 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.3 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.4 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.5 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.6 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.7 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.8 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.9 (Chainguard): \< 18.9.5-r0

## References

- <https://github.com/rails/rails/security/advisories/GHSA-73f9-jhhh-hr5m>
- <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://ubuntu.com/security/CVE-2026-33202>
- <https://www.cve.org/CVERecord?id=CVE-2026-33202>
- <https://security-tracker.debian.org/tracker/CVE-2026-33202>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/33xxx/CVE-2026-33202.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-33202>
- <https://github.com/rails/rails>
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activestorage/CVE-2026-33202.yml>

---

Data as of 2026-12-05T04:50:59.627Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
