Vulnerability
CVE-2026-33195
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#path_for` does not validate that the resolved filesystem path remains within the storage root directory. If a blob key containing path traversal sequences (e.g. `../`) is used, it could allow reading, writing, or deleting arbitrary files on the server. Blob keys are expected to be trusted strings, but some applications could be passing user input as keys and would be affected. 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-23m6-6w5j-cqm3
- CGA-3mqv-p7v2-7m53
- CGA-4483-39hm-c758
- CGA-4p8f-g6gm-3mff
- CGA-4rhf-vcm3-vxxh
- CGA-5c8w-889h-4w83
- CGA-5h7f-2pxf-h2hf
- CGA-5jmx-7pwp-5xq8
- CGA-5w25-px38-6mv4
- CGA-5x3w-5m4r-hjmf
- CGA-66mr-8hgg-qhfv
- CGA-6mgm-5fpv-wjpm
- CGA-783q-gqw2-mgjm
- CGA-7cg2-gqrp-6w87
- CGA-7jhm-r2rc-ff64
- CGA-7v7h-2266-j8w7
- CGA-7x4w-qqxm-w7gv
- CGA-835v-rh3f-q5q8
- CGA-86qp-97j5-p69g
- CGA-898r-5pvm-xv63
- CGA-c4f2-9q26-5fjf
- CGA-cgxw-4f9m-r9c2
- CGA-chh8-c7q8-ffh2
- CGA-cwx9-45gg-ch9h
- CGA-f744-m4x7-p7v2
- CGA-f9gx-8qrq-5r27
- CGA-fm7j-g45f-g83g
- CGA-ghqc-6gcf-9q66
- CGA-hmw5-whf9-r4h9
- CGA-hw36-w657-9gwq
- CGA-j3j3-xg24-264g
- CGA-j7pp-mv4q-pm5x
- CGA-j8jm-v849-5fq7
- CGA-jcrw-jc2x-m869
- CGA-mcv4-fx79-3wjr
- CGA-p29v-2mp6-mxr3
- CGA-q257-vg39-w6p2
- CGA-q7qp-mh5w-xhpp
- CGA-qccw-fwrm-m8qw
- CGA-qhmx-8658-mmp3
- CGA-qp58-cx76-8crv
- CGA-r5wx-fxf3-593v
- CGA-rfr4-3rxh-j23f
- CGA-rww4-f524-pfj9
- CGA-v38r-w6xc-cx6q
- CGA-vj38-xvh2-hmch
- CGA-vr3g-hvrm-783h
- CGA-w7fj-7v29-gw94
- CGA-x5jm-6m6c-5xgq
- CGA-xm7m-gwfr-545m
- CGA-xw69-x32m-hmc4
- CGA-xwx7-2m6r-3943
-
DEBIAN-CVE-2026-33195
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#path_for` does not validate that the resolved filesystem…
-
DLA-4829-1
rails - security update
-
DSA-6546-1
rails - security update
-
GHSA-9xrj-h377-fr87
Rails Active Storage has possible Path Traversal in DiskService
-
UBUNTU-CVE-2026-33195
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#path_for` does not validate that the resolved filesystem…
References
- https://github.com/rails/rails/commit/4933c1e3b8c1bb04925d60347be9f69270392f2c
- https://github.com/rails/rails/commit/9b06fbc0f504b8afe333f33d19548f3b85fbe655
- https://github.com/rails/rails/commit/a290c8a1ec189d793aa6d7f2570b6a763f675348
- 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-9xrj-h377-fr87
- https://access.redhat.com/security/cve/CVE-2026-33195
- https://bugzilla.redhat.com/show_bug.cgi?id=2450546
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-33195.json