Skip to content
Fencer Vulns
high 8.1

CVE-2026-33195 json

Rails Active Storage has possible Path Traversal in DiskService

published 2026-03-23 7 mo ago modified 2026-09-10 59 d ago also EUVD-2026-14632 , GHSA-9xrj-h377-fr87

cvss
8.1
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.6%
EPSS 0.6% chance of exploitation in 30 days, percentile 47%
public exploits
0
none known

Summary

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.

Patch / fix

  • rubygems activestorage 7.2.3.1, 8.0.4.1, 8.1.2.1
  • rubyonrails rails 7.2.3.1, 8.0.4.1, 8.1.2.1
  • rails Debian 12 2:6.1.7.10+dfsg-1~deb12u3
  • rails Debian 13 2:7.2.2.2+dfsg-2~deb13u2
  • rails Debian 14 2:7.2.3.1+dfsg-1

debian advisories DEBIAN-CVE-2026-33195

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2026-33195 updated cvss 8.1

Rails: Active Storage: Active Storage (Rails): Arbitrary file access via path traversal in blob keys

  • Red Hat 3scale API Management Platform 2 3scale-amp21/zync, 3scale-amp22/zync, 3scale-amp24/zync, 3scale-amp25/zync, 3scale-amp26/zync, 3scale-amp20/system, +11 more
    affected: workaround, no fix available, no fix planned “Will not fix”
  • Red Hat Satellite 6 tfm-rubygem-rabl, tfm-rubygem-graphql, rubygem-activestorage, tfm-rubygem-activestorage
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
yes
Technical impact
total
Assessed
7 mo ago

Exploit prediction

0.58% chance of exploitation in the next 30 days, higher than 47% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 4.0 8.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:U
CISA ADP 3.1 8.1 CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:N
CNA 4.0 8.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:U/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
NVD 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CNA 3.1 8.1 CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:N

Affected packages

ecosystem package affected fixed in
rubygems activestorage
>=8.1.0.beta1, <8.1.2.1
>=8.0.0.beta1, <8.0.4.1
<7.2.3.1
8.1.2.1
8.0.4.1
7.2.3.1

Affected products

  • rails activestorage
  • Red Hat Red Hat 3scale API Management Platform 2

Classification

Weakness
  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory
Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

The maintainers of rails/rails published their own advisory on GitHub. Reviewed sources take precedence over it.