CVE-2026-33195: Active Storage allows users to attach cloud and local files in Rails applications
CVE-2026-33195 is a critical-severity flaw (CVSS 9.8) affecting rails. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 truste
Why this priority
- Critical severity
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.6% (top 53%) |
| CISA exploited list | No |
| Weakness | CWE-22 |
| Published | 2026-03-24 |
| Last modified | 2026-07-15 |
Last updated 2026-07-15 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-33195?
rails: upgrade to 7.2.3.1, 8.0.4.1, 8.1.2.1. Exact commands for each OS are on this page.
Is CVE-2026-33195 being exploited?
CVE-2026-33195 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-33195 affect?
CVE-2026-33195 affects rails. Severity is critical (CVSS 9.8). 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 t
How urgent is CVE-2026-33195?
Priority 51/100. Critical severity; Remotely exploitable, no login, no user action
Software pages
Related CVEs
- CVE-2023-22795 HIGH 7.5 UPGRADE MITIGATE A regular expression based DoS vulnerability in Action Dispatch <6.1.7.1 and <7.0.4.1 related to the If-None-M
- CVE-2023-22792 HIGH 7.5 UPGRADE A regular expression based DoS vulnerability in Action Dispatch <6.0.6.1,< 6.1.7.1, and <7.0.4.1
- CVE-2026-33167 MEDIUM 6.1 UPGRADE Action Pack is a Rubygem for building web applications on the Rails framework
- CVE-2026-33658 MEDIUM 6.5 UPGRADE Active Storage allows users to attach cloud and local files in Rails applications
- CVE-2026-33202 CRITICAL 9.1 UPGRADE Active Storage allows users to attach cloud and local files in Rails applications