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.
CVE-2026-33195
This critical-severity CVE scores 9.8 under NVD CVSS v3. EPSS exploit-prediction score not yet available (the EPSS model rescores nightly; freshly-published CVEs typically appear within 48 hours). GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 9.8
- EG Score
- 9.8(low)
- EPSS
- 43.1%
- KEV
- Not listed
Published
March 24, 2026
Last Modified
June 30, 2026
Advisory Details (10)
Auto-updated Jul 12, 20262450546 – (CVE-2026-33195) CVE-2026-33195 Rails: Active Storage: Active Storage (Rails): Arbitrary file access via path traversal in blob keys
https://bugzilla.redhat.com/show_bug.cgi?id=2450546Possible path traversal in Active Storage DiskService · Advisory · rails/rails · GitHub
https://github.com/rails/rails/security/advisories/GHSA-9xrj-h377-fr878.1.2.1
Patch available: rails/rails v8.1.2.1
https://github.com/rails/rails/releases/tag/v8.1.2.18.0.4.1
Patch available: rails/rails v8.0.4.1
https://github.com/rails/rails/releases/tag/v8.0.4.17.2.3.1
Patch available: rails/rails v7.2.3.1
https://github.com/rails/rails/releases/tag/v7.2.3.1commit a290c8a1ec18 (rails/rails)
Fix landed in rails/rails commit a290c8a1ec18 — awaiting tagged release
https://github.com/rails/rails/commit/a290c8a1ec189d793aa6d7f2570b6a763f675348commit 9b06fbc0f504 (rails/rails)
Fix landed in rails/rails commit 9b06fbc0f504 — awaiting tagged release
https://github.com/rails/rails/commit/9b06fbc0f504b8afe333f33d19548f3b85fbe655commit 4933c1e3b8c1 (rails/rails)
Fix landed in rails/rails commit 4933c1e3b8c1 — awaiting tagged release
https://github.com/rails/rails/commit/4933c1e3b8c1bb04925d60347be9f69270392f2cAffected Packages
(1 across 1 ecosystem)
RubyGems(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| activestorage | 8.1.0, 8.1.0.beta1, 8.1.0.rc1, 8.1.1, 8.1.2 | 8.1.2.1 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 9× in last 7d / 15× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-12 05:46 UTCEPSS rescore
- 2026-07-11 08:27 UTCEPSS rescore
- 2026-07-09 19:10 UTCEPSS rescore
- 2026-07-08 15:15 UTCEPSS rescore
- 2026-07-07 13:46 UTCEPSS rescore
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-01 15:06 UTCEPSS rescore
- 2026-06-30 23:22 UTCEPSS rescore
- 2026-06-30 04:33 UTCEG score recompute
- 2026-06-30 04:32 UTCNVD updatefirst tracked
Related CVEs(same CWE)
Frequently asked(5)
What is CVE-2026-33195?
When was CVE-2026-33195 disclosed?
Is CVE-2026-33195 actively exploited?
What is the CVSS score of CVE-2026-33195?
How do I remediate CVE-2026-33195?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-33195
Is Your Infrastructure Affected by CVE-2026-33195?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.