Vulnerability
CVE-2026-33173
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, `DirectUploadsController` accepts arbitrary metadata from the client and persists it on the blob. Because internal flags like `identified` and `analyzed` are stored in the same metadata hash, a direct-upload client can set these flags to skip MIME detection and analysis. This allows an attacker to upload arbitrary content while claiming a safe `content_type`, bypassing any validations that rely on Active Storage's automatic content type identification. 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-2462-vm3j-24c6
- CGA-25xx-79f9-rr2f
- CGA-265r-vj96-2526
- CGA-33ph-9jfg-m5g8
- CGA-39fq-h9r5-wrph
- CGA-3h27-3x35-g442
- CGA-3w6w-p3hm-jcxj
- CGA-4m3w-3wrq-2vq5
- CGA-4wc2-5v98-7wq4
- CGA-4wgw-p4c7-p9wq
- CGA-5hpv-3793-749x
- CGA-653x-7c47-wr29
- CGA-66rw-wjmj-2vhq
- CGA-68rv-9xpp-cp8x
- CGA-6wr2-46jg-v3v2
- CGA-76p8-397h-xm7f
- CGA-7mp5-8mcg-3qcg
- CGA-7v29-mwhc-j2xp
- CGA-8474-cjqw-25jv
- CGA-84g3-wxq8-g9q5
- CGA-96r5-2g85-95g4
- CGA-c529-3xfw-fvq4
- CGA-c67m-j7q9-2c64
- CGA-cwvw-fq46-7crc
- CGA-f3jq-6m8r-cmxv
- CGA-f77q-gcpf-q9xw
- CGA-frg3-pvxw-5g84
- CGA-g279-pgm6-x7j8
- CGA-hf6x-q247-jjwc
- CGA-jwj9-8hvq-j2c8
- CGA-mg5c-vxw4-5495
- CGA-mvhq-7w8f-gcv7
- CGA-p3cx-377g-mh9m
- CGA-p63x-w8f9-rjp7
- CGA-p686-jvvj-mjgh
- CGA-phj6-65hf-3p69
- CGA-pj6j-2gq2-mm8g
- CGA-pjhw-hg5c-4jxj
- CGA-pjxp-x4fm-69cw
- CGA-qmh9-53f3-rxjw
- CGA-qvrw-77qw-cpxr
- CGA-r6x4-33j3-qpc4
- CGA-r7wf-2hxp-grvp
- CGA-rpxv-f94h-7cf9
- CGA-v254-6c5q-r2mr
- CGA-vp9w-4rjp-g7mg
- CGA-w459-m8x8-24jh
- CGA-wx6x-hxfm-ff7j
- CGA-x2m4-jcrr-hq7r
- CGA-xcvf-jvq9-mvp4
- CGA-xhvp-4f4f-74h7
- CGA-xqv6-w87h-vppp
-
DEBIAN-CVE-2026-33173
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, `DirectUploadsController` accepts arbitrary metadata from the client and persists it on…
-
DLA-4829-1
rails - security update
-
DSA-6546-1
rails - security update
-
GHSA-qcfx-2mfw-w4cg
Rails Active Storage has possible content type bypass via metadata in direct uploads
-
UBUNTU-CVE-2026-33173
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, `DirectUploadsController` accepts arbitrary metadata from the client and persists it on…
References
- https://github.com/rails/rails/commit/707c0f1f41f067fdf96d54e99d43b28dfaae7e53
- https://github.com/rails/rails/commit/8fcb934caadc79c8cc4ce53287046d0f67005b3e
- https://github.com/rails/rails/commit/d9502f5214e2198245a4c1defe9cd02a7c8057d0
- 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-qcfx-2mfw-w4cg