# CVE-2026-33195: Rails Active Storage has possible Path Traversal in DiskService

- Priority: **Prioritise**
- Reason: Severe, CVSS 8 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2026-03-23 · Modified: 2026-08-19
- Aliases: UBUNTU-CVE-2026-33195, DEBIAN-CVE-2026-33195, CGA-4rhf-vcm3-vxxh, CGA-j3j3-xg24-264g, CGA-23m6-6w5j-cqm3, CGA-3mqv-p7v2-7m53, CGA-4483-39hm-c758, CGA-4p8f-g6gm-3mff, 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-j7pp-mv4q-pm5x, CGA-j8jm-v849-5fq7, CGA-jcrw-jc2x-m869, CGA-mcv4-fx79-3wjr, CGA-p29v-2mp6-mxr3, GHSA-9xrj-h377-fr87, 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
- Record: https://cvemate.com/vulnerability/CVE-2026-33195 · JSON: https://cvemate.com/vulnerability/CVE-2026-33195/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#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.
```

## Signals

- CVSS: 9.8 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.647%, percentile 52.432%, 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-9xrj-h377-fr87>
- <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://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>
- <https://ubuntu.com/security/CVE-2026-33195>
- <https://www.cve.org/CVERecord?id=CVE-2026-33195>
- <https://security-tracker.debian.org/tracker/CVE-2026-33195>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/33xxx/CVE-2026-33195.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-33195>
- <https://github.com/rails/rails>
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activestorage/CVE-2026-33195.yml>

---

Data as of 2026-12-05T05:33:18.240Z. 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
